What’s Vulnerable › Vulnerabilities
GHSA-5cpq-8wj7-hf2v: Vulnerable OpenSSL included in cryptography wheels
- Severity: low (CVSS 3.0)
- Exploited in the wild: not listed in CISA KEV
- Public exploit or detection template: none known
- Published: 2023-06-02 · updated 2026-09-10
Description
pyca/cryptography's wheels include a statically linked copy of OpenSSL. The versions of OpenSSL included in cryptography 0.5-40.0.2 are vulnerable to a security issue. More details about the vulnerability itself can be found in https://www.openssl.org/news/secadv/20230530.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.5 before 41.0.0; 0.5, 0.5.1, 0.5.2, 0.5.3, 0.5.4, 0.6 (+101) — fixed in 41.0.0
How to fix
Upgrade to a fixed version: Pypi Cryptography 41.0.0. Check the vendor advisory for mitigations.
References
- https://github.com/pyca/cryptography/security/advisories/GHSA-5cpq-8wj7-hf2v
- https://github.com/pyca/cryptography/commit/8708245ccdeaff21d65eea68a4f8d2a7c5949a22
- https://cryptography.io/en/latest/changelog/#v41-0-0
- https://github.com/pyca/cryptography
Get alerted when GHSA-5cpq-8wj7-hf2v or the next vulnerability affects your stack