What’s Vulnerable › Vulnerabilities
GHSA-jm77-qphf-c4w8: pyca/cryptography's wheels include vulnerable OpenSSL
- Severity: low (CVSS 3.0)
- Exploited in the wild: not listed in CISA KEV
- Public exploit or detection template: none known
- Published: 2023-08-01 · updated 2026-09-10
Description
pyca/cryptography's wheels include a statically linked copy of OpenSSL. The versions of OpenSSL included in cryptography 0.8-41.0.2 are 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.
Affected products
- Pypi Cryptography: from 0.8 before 41.0.3; 0.8, 0.8.1, 0.8.2, 0.9, 0.9.1, 0.9.2 (+94) — fixed in 41.0.3
How to fix
Upgrade to a fixed version: Pypi Cryptography 41.0.3. Check the vendor advisory for mitigations.
References
- https://github.com/pyca/cryptography/security/advisories/GHSA-jm77-qphf-c4w8
- https://github.com/pyca/cryptography/commit/b22271cf3c3dd8dc8978f8f4b00b5c7060b6538d
- https://github.com/pyca/cryptography/commit/bfa4d95f0f356f2d535efd5c775e0fb3efe90ef2
- https://github.com/pyca/cryptography
- https://www.openssl.org/news/secadv/20230714.txt
- https://www.openssl.org/news/secadv/20230719.txt
- https://www.openssl.org/news/secadv/20230731.txt
Get alerted when GHSA-jm77-qphf-c4w8 or the next vulnerability affects your stack