Repository navigation
[Snyk] Security upgrade urllib3 from 2.0.7 to 2.8.0 - #43
Open
caniszczyk wants to merge 1 commit into
Open
caniszczyk wants to merge 1 commit into
caniszczyk wants to merge 1 commit into
Conversation
...rabilities The following vulnerabilities are fixed by pinning transitive dependencies: - https://snyk.io/vuln/SNYK-PYTHON-URLLIB3-20302846
caniszczyk
commented
Sep 30, 2026
Author
This upgrade of urllib3 from version 2.0.7 to 2.8.0 contains significant breaking changes and important security fixes.
Breaking Changes:
- API Removals: As of v2.1.0, the deprecated methods
HTTPResponse.getheaders()andHTTPResponse.getheader()have been removed. Code must be updated to use theHTTPResponse.headersattribute instead (e.g.,response.headers.get('Content-Type')). [3] - HTTPS Proxy Behavior: Version 2.8.0 includes a security fix that changes how TLS is configured for HTTPS proxies. Proxy-specific TLS settings (
proxy_ssl_context,proxy_assert_hostname) are now strictly enforced and are no longer overridden by the destination server's settings. Configurations that relied on the previous behavior will likely break. [2]
Other Notable Changes:
- Redirect Behavior: Version 2.0.7 changed how HTTP 303 "See Other" redirects are handled, now stripping the request body and changing the method to GET, which aligns with RFC standards but may alter existing application logic. [3]
Recommendation:
- Review API Usage: Search your codebase for usages of
.getheaders()and.getheader()and refactor them to use the.headersdictionary. - Verify Proxy Configurations: If you use HTTPS proxies, you must review your connection settings to ensure they are correctly configured using
proxy_ssl_contextand related parameters, as they will no longer inherit from the destination's context. [2]
Notice 🤖: This content was augmented using artificial intelligence. AI-generated content may contain errors and should be reviewed for accuracy before use.
CLAassistant
commented
Sep 30, 2026
CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
snyk-top-banner
Snyk has created this PR to fix 1 vulnerabilities in the pip dependencies of this project.
Snyk changed the following file(s):
examples/cloud_run_cloud_events/requirements.txtBreaking Change Risk
Merge Risk: High
Important
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:
🦉 Allocation of Resources Without Limits or Throttling