CVE-2016-9243
HIGH 7.5CVSS 3.1Improper input validation in cryptography
HKDF in cryptography before 1.5.2 returns an empty byte-string if used with a length less than algorithm.digest_size.
- Published
- 27 Mar 2017
- Last modified
- 17 Jun 2026
- Assigned by
- secalert@redhat.com
- NVD status
- Modified
- Weakness
- CWE-20
- Also known as
- GHSA-q3cj-2r34-2cwcPYSEC-2017-8
- Sources
- NVDJSONOSV GHSA-q3cj-2r34-2cwcJSONOSV PYSEC-2017-8JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N | |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
| OSV | GitHub | CVSS 3.0 | HIGH 7.5 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 5.0 | AV:N/AC:L/Au:N/C:N/I:P/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | cryptography.io | cryptographycpe:2.3:a:cryptography.io:cryptography:*:*:*:*:*:python:*:* |
<= 1.5.2 | |
| NVD | fedoraproject | fedoracpe:2.3:o:fedoraproject:fedora:23:*:*:*:*:*:*:* |
= 23 | |
| NVD | fedoraproject | fedoracpe:2.3:o:fedoraproject:fedora:24:*:*:*:*:*:*:* |
= 24 | |
| NVD | fedoraproject | fedoracpe:2.3:o:fedoraproject:fedora:25:*:*:*:*:*:*:* |
= 25 | |
| NVD | canonical | ubuntu_linuxcpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:lts:*:*:* |
= 16.04 | |
| NVD | canonical | ubuntu_linuxcpe:2.3:o:canonical:ubuntu_linux:16.10:*:*:*:*:*:*:* |
= 16.10 | |
| OSV | PyPI | cryptography | < 1.5.3 | 1.5.3 |
References
- http://www.openwall.com/lists/oss-security/2016/11/09/2 · Mailing List, Patch, VDB Entry, WEB
- http://www.securityfocus.com/bid/94216 · Broken Link, Third Party Advisory, VDB Entry, WEB
- http://www.ubuntu.com/usn/USN-3138-1 · Third Party Advisory, WEB, ADVISORY
- https://cryptography.io/en/latest/changelog · Release Notes, Third Party Advisory, WEB
- https://github.com/pyca/cryptography/commit/b924696b2e8731f39696584d12cceeb3aeb2d874 · Patch, Third Party Advisory, WEB, FIX
- https://github.com/pyca/cryptography/issues/3211 · Issue Tracking, Third Party Advisory, WEB, REPORT
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/5R2ZOBMPWDFFHUZ6QOZZY36A6H5CGJXL/ · Mailing List, Third Party Advisory, WEB
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/U23KDR2M2N7W2ZSREG63BVW7D4VC6CIZ/ · Mailing List, Third Party Advisory, WEB
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/WQ5G7KHKZC4SI23JE7277KZXM57GEQKT/ · Mailing List, Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2016-9243 · ADVISORY
- https://cryptography.io/en/latest/changelog/#v1-5-3 · WEB
- https://github.com/advisories/GHSA-q3cj-2r34-2cwc · ADVISORY
- https://github.com/pyca/cryptography · PACKAGE
- https://github.com/pypa/advisory-database/tree/main/vulns/cryptography/PYSEC-2017-8.yaml · WEB
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/5R2ZOBMPWDFFHUZ6QOZZY36A6H5CGJXL · WEB
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/U23KDR2M2N7W2ZSREG63BVW7D4VC6CIZ · WEB
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/WQ5G7KHKZC4SI23JE7277KZXM57GEQKT · WEB
History
- 25 Nov 2026 20:19 UTC · NVD: first stored (published 27 Mar 2017)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 27 Mar 2017)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 17 May 2022)