[Snyk] Security upgrade protobuf from 3.15.1 to 6.33.5#36
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-PROTOBUF-15090738
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.
| opencv-python>=4.2.0.34 | ||
| Pillow | ||
| protobuf==3.15.1 | ||
| protobuf==6.33.5 |
There was a problem hiding this comment.
Protobuf upgrade breaks tensorboard compatibility
High Severity
Upgrading protobuf from 3.15.1 to 6.33.5 introduces a dependency incompatibility with tensorboard==2.4.1 (pinned on line 33). TensorBoard 2.4.1 requires protobuf 3.x and is known to be incompatible with protobuf 4.x and above due to breaking changes in the generated pb2.py file format. This major version jump will cause runtime failures when TensorBoard tries to load protobuf-based data structures.
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 bump from
protobuf3.x to 6.x may introduce runtime/API incompatibilities for any code (or transitive deps) relying on older protobuf behaviors, despite being a small diff.Overview
Upgrades the Python dependency
protobufinrequirements.txtfrom3.15.1to6.33.5to address a reported security vulnerability.Written by Cursor Bugbot for commit 61ee024. This will update automatically on new commits. Configure here.