HighGHSA-cf7p-gm2m-833mCVE-2023-38325PYSEC-2023-112
cryptography mishandles SSH certificates
Published 14 Jul 2023 · Updated 10 Sept 2026
Is your project on an affected cryptography?
Look after several Python apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie
Affected package
cryptographyPyPI
- Affected
- >=40.0.0 <41.0.2
- Fixed in
- 41.0.2
Update to the fixed version for your release line, for example:
pip install 'cryptography>=41.0.2'Details
The cryptography package before 41.0.2 for Python mishandles SSH certificates that have critical options.
Is GHSA-cf7p-gm2m-833m in any of your client repos?
Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected cryptography, and gives you the command that fixes it.
More advisories for cryptography
- MediumCVE-2026-69248python-cryptography verifier accepts wildcard DNS names allowing escape from permittedSubtrees · 3 Aug 2026
- HighCVE-2026-69249python-cryptography: Duplicate self-signed intermediates can cause exponential path-building · 3 Aug 2026
- HighCVE-2026-69247cryptography: PKCS#7 EnvelopedData decryption exposes a Bleichenbacher oracle through distinguishable errors and timing · 3 Aug 2026
- HighGHSA-537c-gmf6-5ccfVulnerable OpenSSL included in cryptography wheels · 15 Jun 2026
- MediumCVE-2026-39892Cryptography vulnerable to buffer overflow if non-contiguous buffers were passed to APIs · 8 Apr 2026
- LowCVE-2026-34073cryptography has incomplete DNS name constraint enforcement on peer names · 27 Mar 2026
References
- Advisorynvd.nist.gov/vuln/detail/CVE-2023-38325
- Linkgithub.com/pyca/cryptography/issues/9207
- Linkgithub.com/pyca/cryptography/pull/7960
- Linkgithub.com/pyca/cryptography/pull/9208
- Linkgithub.com/pyca/cryptography/commit/1ca7adc97b76a9dfbd3d850628b613eb93b78fc3
- Packagegithub.com/pyca/cryptography
- Linkgithub.com/pyca/cryptography/compare/41.0.1...41.0.2
- Linkgithub.com/pypa/advisory-database/tree/main/vulns/cryptography/PYSEC-2023-112.yaml
- Linklists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/NMCCTYY3CSNQBFFYYC5DAV6KATHWCUZK
- Linklists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/NMCCTYY3CSNQBFFYYC5DAV6KATHWCUZK
- Linkpypi.org/project/cryptography/#history
- Linksecurity.netapp.com/advisory/ntap-20230824-0010
Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.