[Snyk] Security upgrade torch from 1.13.1 to 2.9.0#164
[Snyk] Security upgrade torch from 1.13.1 to 2.9.0#164
Conversation
The following vulnerabilities are fixed by pinning transitive dependencies: - https://snyk.io/vuln/SNYK-PYTHON-TORCH-13052971
|
Important Review skippedIgnore keyword(s) in the title. Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the ✨ Finishing touches🧪 Generate unit tests (beta)
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. Comment |
| langchain | ||
| sentence_transformers No newline at end of file | ||
| sentence_transformers | ||
| torch>=2.9.0 # not directly required, pinned by Snyk to avoid a vulnerability No newline at end of file |
There was a problem hiding this comment.
Bug: False Pinning: Uncontrolled Versions Risk Stability
The comment claims the version is "pinned" but torch>=2.9.0 uses a minimum version constraint, not a pin. This allows any future version (2.10.0, 3.0.0, etc.) which may introduce breaking changes or new vulnerabilities. A true pin would use ==2.9.0 or ~=2.9.0 to restrict to compatible versions.
Snyk has created this PR to fix 1 vulnerabilities in the pip dependencies of this project.
Snyk changed the following file(s):
Langchain Chatbot/requirements.txtImportant
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
torch>=2.9.0and ensuressentence_transformersis listed inLangchain Chatbot/requirements.txt.Langchain Chatbot/requirements.txtto addtorch>=2.9.0(security pin).sentence_transformersremains included.Written by Cursor Bugbot for commit c8bef82. This will update automatically on new commits. Configure here.