[Snyk] Security upgrade urllib3 from 2.0.7 to 2.2.2#27
Conversation
…to reduce vulnerabilities The following vulnerabilities are fixed by pinning transitive dependencies: - https://snyk.io/vuln/SNYK-PYTHON-URLLIB3-7267250
|
Important Review skippedIgnore keyword(s) in the title. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Plus Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Code Review
This pull request adds urllib3>=2.2.2 to the requirements file to address a vulnerability. The reviewer recommends pinning the dependency to an exact version rather than using a version range to ensure reproducible builds and prevent unexpected deployment failures.
Important
The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.
| Werkzeug==3.1.8; python_version >= '3.9' | ||
| requests==2.34.2; python_version >= '3.10' | ||
| requests-toolbelt==1.0.0 | ||
| urllib3>=2.2.2 # not directly required, pinned by Snyk to avoid a vulnerability |
There was a problem hiding this comment.
For application deployments (such as Google App Engine), it is highly recommended to pin dependencies to exact versions (using ==) rather than using ranges (like >=). This ensures reproducible builds and prevents unexpected deployment failures if a newer version of urllib3 is released with breaking changes or bugs.
urllib3==2.2.2 # not directly required, pinned by Snyk to avoid a vulnerability
Snyk has created this PR to fix 1 vulnerabilities in the pip dependencies of this project.
Snyk changed the following file(s):
appengine/standard/migration/urlfetch/requests/requirements.txtImportant
Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open fix PRs.
For more information:
🧐 View latest project report
📜 Customise PR templates
🛠 Adjust project settings
📚 Read about Snyk's upgrade logic
Learn how to fix vulnerabilities with free interactive lessons:
🦉 Learn about vulnerability in an interactive lesson of Snyk Learn.
Summary by cubic
Upgrade adds explicit
urllib3>=2.2.2inappengine/standard/migration/urlfetch/requests/requirements.txtto fix vulnerabilitySNYK-PYTHON-URLLIB3-7267250. Ensuresrequestsuses a secureurllib3version.Written for commit 381eda6. Summary will update on new commits.