Skip to content

[Snyk] Security upgrade requests from 2.28.2 to 2.33.0 - #58

Open
nlaurance wants to merge 1 commit into
masterfrom
snyk-fix-bae187d2ea77dfb61fe10833f2049c49
Open

nlaurance wants to merge 1 commit into
masterfrom
snyk-fix-bae187d2ea77dfb61fe10833f2049c49

Conversation

@nlaurance

Copy link
Copy Markdown
Owner

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):

  • requirements/main.txt

Breaking Change Risk

Merge Risk: Medium

Notice: This assessment is enhanced by AI.


Important

  • Check the changes in this PR to ensure they won't cause issues with your project.
  • Max score is 1000. Note that the real score may have changed since the PR was raised.
  • This PR was automatically created by Snyk using the credentials of a real user.
  • Some vulnerabilities couldn't be fully fixed and so Snyk will still find them when the project is tested again. This may be because the vulnerability existed within more than one direct dependency, but not all of the affected dependencies could be upgraded.

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:

🦉 Insecure Temporary File

The following vulnerabilities are fixed by pinning transitive dependencies:
- https://snyk.io/vuln/SNYK-PYTHON-REQUESTS-15763443
@nlaurance

Copy link
Copy Markdown
Owner Author

Merge Risk: Medium

This upgrade of the requests library introduces several changes that require attention, including dropped support for an older Python version and a potentially breaking dependency update.

Key Changes:

  • Dropped Python 3.7 Support: Version 2.32.0 and later no longer support Python 3.7. [1, 3]
  • Dependency Update (urllib3 v2.0): Version 2.30.0 added support for urllib3 v2.0. The official changelog warns that this may introduce minor breaking changes and advises careful testing. [1]
  • API Change for Custom Adapters: For advanced users with custom HTTPAdapter subclasses, the internal method _get_connection was deprecated in v2.32.2 and replaced by the new public API get_connection_with_tls_context. [1, 5]
  • Security Fixes: The update includes several security fixes, such as correcting how verify=False is handled in sessions and preventing the leakage of Proxy-Authorization headers during redirects. [1, 12]

Recommendation:

  • Verify that your project is no longer running on Python 3.7.
  • Test your application's HTTP requests to ensure compatibility with the urllib3 v2.0 update.
  • If you use custom HTTPAdapter classes, you must update your code to use the new get_connection_with_tls_context method.

Source: Requests History

Notice 🤖: This content was augmented using artificial intelligence. AI-generated content may contain errors and should be reviewed for accuracy before use.

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.

2 participants