Skip to content

Conversation

@aaronmaxlevy
Copy link

Updating setuptools to patch CVE-2025-47273.

I manually updated this in the lock file, since it wasn't clear to me how this particular configuration was originally generated. e.g. nothing in https://github.com/bazel-contrib/rules_python is specifically pinning to "70.3.0" .

Let me know if there is a different / better way to make this change.

@github-actions github-actions bot added the awaiting-review PR is awaiting review from an assigned reviewer label Jun 3, 2025
@aaronmaxlevy aaronmaxlevy marked this pull request as draft June 4, 2025 17:54
@aaronmaxlevy
Copy link
Author

Okay, so I was able to find where this gets generated from — https://github.com/protocolbuffers/protobuf/blob/v29.0/MODULE.bazel#L122
and https://github.com/protocolbuffers/protobuf/blob/v29.0/python/requirements.txt#L2

I have filed protocolbuffers/protobuf#22094 to update this in Protobuf. If / when that gets merged, the proper solution would likely be to update the version of Protobuf that is being pinned, which in turn should update the setuptools version in the lock file.

@iancha1992 iancha1992 added the team-Rules-Python Native rules for Python label Jun 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

awaiting-review PR is awaiting review from an assigned reviewer team-Rules-Python Native rules for Python

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants