HighGHSA-q3cj-2r34-2cwcCVE-2016-9243PYSEC-2017-8
Improper input validation in cryptography
Published 17 May 2022 · Updated 13 Sept 2024
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
- <1.5.3
- Fixed in
- 1.5.3
Update to the fixed version for your release line, for example:
pip install 'cryptography>=1.5.3'Details
HKDF in cryptography before 1.5.3 returns an empty byte-string if used with a length less than algorithm.digest_size.
Is GHSA-q3cj-2r34-2cwc 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-2016-9243
- Linkgithub.com/pyca/cryptography/issues/3211
- Linkgithub.com/pyca/cryptography/commit/b924696b2e8731f39696584d12cceeb3aeb2d874
- Linkcryptography.io/en/latest/changelog
- Linkcryptography.io/en/latest/changelog/#v1-5-3
- Advisorygithub.com/advisories/GHSA-q3cj-2r34-2cwc
- Packagegithub.com/pyca/cryptography
- Linkgithub.com/pypa/advisory-database/tree/main/vulns/cryptography/PYSEC-2017-8.yaml
- Linklists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/5R2ZOBMPWDFFHUZ6QOZZY36A6H5CGJXL
- Linklists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/U23KDR2M2N7W2ZSREG63BVW7D4VC6CIZ
- Linklists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/WQ5G7KHKZC4SI23JE7277KZXM57GEQKT
- Linklists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/5R2ZOBMPWDFFHUZ6QOZZY36A6H5CGJXL
- Linklists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/U23KDR2M2N7W2ZSREG63BVW7D4VC6CIZ
- Linklists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/WQ5G7KHKZC4SI23JE7277KZXM57GEQKT
- Linkwww.openwall.com/lists/oss-security/2016/11/09/2
- Linkwww.securityfocus.com/bid/94216
- Linkwww.ubuntu.com/usn/USN-3138-1
Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.