Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions samples/compute/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
google-api-python-client==2.134.0
google-auth==2.30.0
google-auth-httplib2==0.2.0
protobuf>=6.33.5 # not directly required, pinned by Snyk to avoid a vulnerability

Choose a reason for hiding this comment

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

critical

The suggested version 6.33.5 for the protobuf Python package is not a valid version and does not exist on PyPI. This will cause dependency installation to fail.

Furthermore, a transitive dependency, google-api-core (from google-api-python-client), requires protobuf<5.0.0dev, which would conflict with this version even if it existed.

To fix the security vulnerability while maintaining compatibility, you should pin protobuf to a recent version in the 4.x series, such as 4.25.3. This is consistent with how other dependencies are pinned in this file using ==.

protobuf==4.25.3 # not directly required, pinned to avoid a vulnerability