[Snyk] Security upgrade werkzeug from 1.0.1 to 3.1.6#37
Open
ashmuck wants to merge 1 commit into
Open
Conversation
The following vulnerabilities are fixed by pinning transitive dependencies: - https://snyk.io/vuln/SNYK-PYTHON-WERKZEUG-15322677
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
Bugbot Autofix is OFF. To automatically fix reported issues with Cloud Agents, enable Autofix in the Cursor dashboard.
| tzlocal==2.1 | ||
| urllib3==1.26.3 | ||
| Werkzeug==1.0.1 | ||
| Werkzeug==3.1.6 |
There was a problem hiding this comment.
Werkzeug 3.x breaks tensorboard 2.4.1 compatibility
High Severity
Upgrading Werkzeug from 1.0.1 to 3.1.6 breaks tensorboard==2.4.1, which relies on internal Werkzeug APIs removed in 3.x (e.g., _plain_int from werkzeug._internal). This causes an ImportError at runtime when tensorboard is used. Either tensorboard needs to be upgraded to a version compatible with Werkzeug 3.x, or Werkzeug needs to stay within the 2.x range.
Additional Locations (1)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.


Snyk has created this PR to fix 1 vulnerabilities in the pip dependencies of this project.
Snyk changed the following file(s):
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
Medium Risk
Dependency-only change, but
Werkzeughas major-version jumps that can introduce runtime incompatibilities in any transitive Flask/tensorboard usage.Overview
Upgrades the pinned
Werkzeugdependency inrequirements.txtfrom1.0.1to3.1.6(Snyk security upgrade).Written by Cursor Bugbot for commit 6ba5238. This will update automatically on new commits. Configure here.