GMS-2023-1898: pyca/cryptography's wheels include vulnerable OpenSSL
pyca/cryptography’s wheels include a statically linked copy of OpenSSL. The versions of OpenSSL included in cryptography 0.8-41.0.2 is vulnerable to several security issues. More details about the vulnerabilities themselves can be found in https://www.openssl.org/news/secadv/20230731.txt, https://www.openssl.org/news/secadv/20230719.txt, and https://www.openssl.org/news/secadv/20230714.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.
References
- github.com/advisories/GHSA-jm77-qphf-c4w8
- github.com/pyca/cryptography/commit/b22271cf3c3dd8dc8978f8f4b00b5c7060b6538d
- github.com/pyca/cryptography/commit/bfa4d95f0f356f2d535efd5c775e0fb3efe90ef2
- github.com/pyca/cryptography/security/advisories/GHSA-jm77-qphf-c4w8
- www.openssl.org/news/secadv/20230714.txt
- www.openssl.org/news/secadv/20230719.txt
- www.openssl.org/news/secadv/20230731.txt
Detect and mitigate GMS-2023-1898 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →