Skip to content

[Snyk] Security upgrade urllib3 from 1.22 to 2.6.3#102

Open
snyk-io[bot] wants to merge 1 commit intomainfrom
snyk-fix-b9179cfc67a333016611ac577044e9ab
Open

[Snyk] Security upgrade urllib3 from 1.22 to 2.6.3#102
snyk-io[bot] wants to merge 1 commit intomainfrom
snyk-fix-b9179cfc67a333016611ac577044e9ab

Conversation

@snyk-io
Copy link

@snyk-io snyk-io bot commented Jan 8, 2026

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

  • testrepo/reqfiles/requirements.txt
⚠️ Warning
equests 2.18.4 requires urllib3, which is not installed.

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:

🦉 Learn about vulnerability in an interactive lesson of Snyk Learn.


Note

Adds a security pin for urllib3 in testrepo/reqfiles/requirements.txt to mitigate a known vulnerability.

  • Introduces urllib3>=2.6.3 while retaining requests==2.18.4

Written by Cursor Bugbot for commit 17b5457. This will update automatically on new commits. Configure here.

The following vulnerabilities are fixed by pinning transitive dependencies:
- https://snyk.io/vuln/SNYK-PYTHON-URLLIB3-14896210
@snyk-io snyk-io bot requested a review from a team as a code owner January 8, 2026 16:24
@snyk-io
Copy link
Author

snyk-io bot commented Jan 8, 2026

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

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

Copy link

@cursor cursor bot left a comment

Choose a reason for hiding this comment

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

This is the final PR Bugbot will review for you during this billing cycle

Your free Bugbot reviews will reset on February 1

Details

Your team is on the Bugbot Free tier. On this plan, Bugbot will review limited PRs each billing cycle for each member of your team.

To receive Bugbot reviews on all of your PRs, visit the Cursor dashboard to activate Pro and start your 14-day free trial.



requests==2.18.4
urllib3>=2.6.3 # not directly required, pinned by Snyk to avoid a vulnerability
Copy link

Choose a reason for hiding this comment

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

Incompatible urllib3 version with old requests library

High Severity

The requests==2.18.4 (from 2017) is incompatible with urllib3>=2.6.3. urllib3 2.0 introduced breaking API changes, and only requests version 2.31.0+ supports urllib3 2.x. This combination will cause runtime errors when requests attempts to use removed or changed urllib3 APIs. The PR warning itself notes "requests 2.18.4 requires urllib3, which is not installed" - indicating pip detects the conflict. Either requests needs upgrading to 2.31.0+ or urllib3 needs to stay in the 1.x series.

Additional Locations (1)

Fix in Cursor Fix in Web

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.

0 participants