Skip to content

[Snyk] Security upgrade protobuf from 3.15.1 to 6.33.5#36

Open
ashmuck wants to merge 1 commit into
mainfrom
snyk-fix-65d39b70575c0989ff2b1ee4ebf99c42
Open

[Snyk] Security upgrade protobuf from 3.15.1 to 6.33.5#36
ashmuck wants to merge 1 commit into
mainfrom
snyk-fix-65d39b70575c0989ff2b1ee4ebf99c42

Conversation

@ashmuck
Copy link
Copy Markdown

@ashmuck ashmuck commented Jan 30, 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):

  • requirements.txt
⚠️ Warning
tensorboard 2.4.1 has requirement setuptools>=41.0.0, but you have setuptools 40.5.0.
scikit-learn 1.0.2 requires scipy, 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

Medium Risk
Dependency bump from protobuf 3.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 protobuf in requirements.txt from 3.15.1 to 6.33.5 to address a reported security vulnerability.

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

The following vulnerabilities are fixed by pinning transitive dependencies:
- https://snyk.io/vuln/SNYK-PYTHON-PROTOBUF-15090738
Copy link
Copy Markdown

@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.

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.

Comment thread requirements.txt
opencv-python>=4.2.0.34
Pillow
protobuf==3.15.1
protobuf==6.33.5
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

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.

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.

2 participants