Skip to content

[Snyk] Security upgrade urllib3 from 2.0.7 to 2.6.3#74

Open
bozza-man wants to merge 1 commit intomainfrom
snyk-fix-cdb77a2d36967a0ce3cfebc756c25f58
Open

[Snyk] Security upgrade urllib3 from 2.0.7 to 2.6.3#74
bozza-man wants to merge 1 commit intomainfrom
snyk-fix-cdb77a2d36967a0ce3cfebc756c25f58

Conversation

@bozza-man
Copy link
Member

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

  • references/requirements.txt

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.

The following vulnerabilities are fixed by pinning transitive dependencies:
- https://snyk.io/vuln/SNYK-PYTHON-URLLIB3-14896210
@coderabbitai
Copy link

coderabbitai bot commented Jan 13, 2026

Important

Review skipped

Ignore keyword(s) in the title.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.


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.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@continue
Copy link

continue bot commented Jan 13, 2026

All Green - Keep your PRs mergeable

Learn more

All Green is an AI agent that automatically:

✅ Addresses code review comments

✅ Fixes failing CI checks

✅ Resolves merge conflicts


Unsubscribe from All Green comments

wandb>=0.10.31
psutil>=5.9.0
clearml>=1.11.1
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.

Bug: Adding urllib3>=2.6.3 conflicts with wandb's requirement for urllib3<2, which will likely cause installation to fail.
Severity: HIGH

🔍 Detailed Analysis

The addition of urllib3>=2.6.3 to references/requirements.txt creates a dependency conflict. The same file also requires wandb>=0.10.31, which has a transitive dependency on urllib3<2. These two version constraints are mutually exclusive. When pip attempts to install dependencies from this file, it will face these incompatible requirements. This is highly likely to cause an installation failure, preventing the setup of environments for running training scripts.

💡 Suggested Fix

The dependency conflict between urllib3 and wandb needs to be resolved. Check if wandb can be upgraded to a version that supports urllib3>=2.x. If not, the urllib3 upgrade may need to be reverted to maintain compatibility. Verify the fix by running the installation in a clean environment.

🤖 Prompt for AI Agent
Review the code at the location below. A potential bug has been identified by an AI
agent.
Verify if this is a real issue. If it is, propose a fix; if not, explain why it's not
valid.

Location: references/requirements.txt#L6

Potential issue: The addition of `urllib3>=2.6.3` to `references/requirements.txt`
creates a dependency conflict. The same file also requires `wandb>=0.10.31`, which has a
transitive dependency on `urllib3<2`. These two version constraints are mutually
exclusive. When `pip` attempts to install dependencies from this file, it will face
these incompatible requirements. This is highly likely to cause an installation failure,
preventing the setup of environments for running training scripts.

Did we get this right? 👍 / 👎 to inform future reviews.
Reference ID: 8513304

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