Skip to content

Conversation

@bwappsec
Copy link

snyk-top-banner

Snyk has created this PR to fix 2 vulnerabilities in the pip dependencies of this project.

Snyk changed the following file(s):

  • samples/server/petstore/python-fastapi/requirements.txt

Merge Risk: High

This minor version upgrade contains breaking changes. It removes the HTTPResponse.getheaders() and getheader() methods, which were deprecated since version 2.0.0. This change is known to affect downstream dependencies. Additionally, the API for custom decompressors (urllib3.response.ContentDecoder) has been modified.

Recommendation: Replace usage of getheaders() and getheader() with the HTTPResponse.headers attribute. If you use custom decompressors, they must be updated for the new API.

Source: urllib3 Changelog

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



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:

🦉 Allocation of Resources Without Limits or Throttling

@bwappsec bwappsec changed the title [Snyk] Security upgrade urllib3 from 2.5.0 to 2.6.0 SWI-3723 [Snyk] Security upgrade urllib3 from 2.5.0 to 2.6.0 Dec 11, 2025
@bwappsec
Copy link
Author

bwappsec commented Dec 11, 2025

Snyk checks have passed. No issues have been found so far.

Status Scanner Critical High Medium Low Total (0)
Open Source Security 0 0 0 0 0 issues
Licenses 0 0 0 0 0 issues
Code Security 0 0 0 0 0 issues

💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse.

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.

3 participants