Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bumped the urllib3 and requests modules from dependabot alerts #695

Merged
merged 4 commits into from
Jan 25, 2022

Conversation

xtineskim
Copy link
Contributor

@xtineskim xtineskim commented Jan 24, 2022

Background

Dependabot alerts for urllib3 indicating high severity in our email and recommendation service

Fixes

Relevant CVE description here

Change Summary

I bumped the urllib3 module to 1.26.5 and had to bump the requests module (to v2.27.1) as well to accommodate the bump in the emailservice, recommendationservice, and loadgenerator (the loadgenerator alert was closed earlier)

Additional Notes

n/a

Testing Procedure

Tested it locally, images built, and worked as expected!

Related PRs or Issues

n/a

@xtineskim xtineskim requested a review from a team as a code owner January 24, 2022 22:20
@xtineskim xtineskim requested a review from NimJay January 24, 2022 22:20
@github-actions
Copy link

🚲 PR staged at http://104.155.186.123

Copy link
Member

@bourgeoisor bourgeoisor left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't see any changes to the requirements.in files; were the changes to the requirements.txt files made manually? We shouldn't touch those directly and instead use the .in as input to pip-compile. The reason we want to do this is for transitive-dependency purposes. e.g. bumping requests or urllib3 might in turn bump some transitive dependency requirements. Rather than chase them manually, you just let pip-compile do it for you!

@xtineskim
Copy link
Contributor Author

Oh yes! I will update accordingly!!
Thanks for the reminder @bourgeoisor 🐐 👍

@github-actions
Copy link

🚲 PR staged at http://104.155.186.123

@github-actions
Copy link

🚲 PR staged at http://104.155.186.123

Copy link
Collaborator

@NimJay NimJay left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for address these 2 Dependabot alerts — even loadgenerator!

Changes look good to me — seems like the requirements.txt files are now untouched.

I did a quick smoke test of the staging URL. Looks good.

Copy link
Member

@bourgeoisor bourgeoisor left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@xtineskim xtineskim merged commit 0d5c2f3 into main Jan 25, 2022
@xtineskim xtineskim deleted the urllib-update branch January 25, 2022 20:20
sitaramkm pushed a commit to sitaramkm/microservices-demo that referenced this pull request Mar 27, 2022
…eCloudPlatform#695)

* Bumped the urllib3 and requests modules from dependabot alerts

* Bumped emailservice and loadgenerator

* Ran pip compile
D-Mwanth pushed a commit to D-Mwanth/microservices-demo that referenced this pull request Mar 6, 2024
…eCloudPlatform#695)

* Bumped the urllib3 and requests modules from dependabot alerts

* Bumped emailservice and loadgenerator

* Ran pip compile
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants