GoogleCloudPlatform / GoogleCloudPlatform/gsutil
update pyOpenSSL version for cryptography vulnerability
- Dominant language
- Python
- Stars
- 918
- Forks
- 335
- PR merge metrics
- No merged PRs in 30d
Description
Running into dependency conflicts because of pyOpenSSL being pinned to a version that now contains a vulnerable version of the cryptography package.
> pyca/cryptography's wheels include a statically linked copy of OpenSSL. The versions of OpenSSL included in cryptography 42.0.0-44.0.0 are vulnerable to a security issue. More details about the vulnerability itself can be found in https://openssl-library.org/news/secadv/20250211.txt.
>
> If you are building cryptography source ("sdist") then you are responsible for upgrading your copy of OpenSSL. Only users installing from wheels built by the cryptography project (i.e., those distributed on PyPI) need to update their cryptography versions.
It seems like a permafix is needed now, from when it was pinned here: https://github.com/GoogleCloudPlatform/gsutil/issues/1820
Contributor guide
Research direction
Start by reading issue #1820 and tracing where gsutil pins pyOpenSSL; the payload does not name the dependency file. Update the pin so it no longer brings in the vulnerable cryptography versions, then verify the resolved dependency no longer includes the affected cryptography release.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- cli, security
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100