[Snyk] Security upgrade protobuf from 4.24.4 to 6.33.5#194
Conversation
The following vulnerabilities are fixed by pinning transitive dependencies: - https://snyk.io/vuln/SNYK-PYTHON-PROTOBUF-15090738
|
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 |
There was a problem hiding this comment.
Pull request overview
Updates Python dependencies to address a Snyk-reported vulnerability by adding an explicit protobuf requirement.
Changes:
- Add
protobufdependency requirement torequirements/base.txtto remediate Snyk vulnerabilitySNYK-PYTHON-PROTOBUF-15090738.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| drf-flex-fields==0.9.1 | ||
| pandas==1.1.5 | ||
| django-svg-image-form-field==1.0.1 | ||
| protobuf>=6.33.5 # not directly required, pinned by Snyk to avoid a vulnerability |
There was a problem hiding this comment.
This requirement isn’t actually “pinned”: protobuf>=6.33.5 allows newer major/minor releases, which can make builds non-reproducible and could reintroduce security risk if future versions change behavior. Consider pinning to an exact version (==6.33.5) or using a bounded range (e.g., >=6.33.5,<7) and update the inline note accordingly (also, it’s indirectly required by ddtrace, so “not directly required” is potentially misleading).
| protobuf>=6.33.5 # not directly required, pinned by Snyk to avoid a vulnerability | |
| protobuf>=6.33.5,<7.0.0 # indirectly required (e.g. via ddtrace); bounded to avoid known vulnerability and keep builds reproducible |
Snyk has created this PR to fix 1 vulnerabilities in the pip dependencies of this project.
Snyk changed the following file(s):
requirements/base.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.