7.5high
CVE-2016-9243
Improper input validation in cryptography
Also known as GHSA-q3cj-2r34-2cwc, PYSEC-2017-8
Published 9 y ago · modified 4 mo ago · JSON
CVSS
7.5
v3.1 · NVD
CISA KEV
No
not known exploited
EPSS
3.5%
percentile 89%
Public exploits
0
none known
Summary
HKDF in cryptography before 1.5.2 returns an empty byte-string if used with a length less than algorithm.digest_size.
Exploit prediction (EPSS)
3.46% probability of exploitation in the next 30 days, higher than 89% of all scored CVEs.
CVSS scores
| Assigned by | Version | Score | Vector |
|---|---|---|---|
| NVD | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
| NVD | 2.0 | 5.0 | AV:N/AC:L/Au:N/C:N/I:P/A:N |
| GitHub | 3.0 | 7.5 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| pypi | cryptography | <1.5.3 | 1.5.3 |
Classification
- Weakness
- CWE-20 Improper Input Validation
References
- lists.fedoraproject.org /archives/list/package-announce%40lists.fedoraproject.org/message/U23KDR2M2N7W2ZSREG63BVW7 · vendor-advisory, x_refsource_FEDORA, x_transferred
- ubuntu.com /usn/USN-3138-1 · vendor-advisory, x_refsource_UBUNTU, x_transferred
- github.com /pyca/cryptography/commit/b924696b2e8731f39696584d12cceeb3aeb2d874 · x_refsource_CONFIRM, x_transferred
- lists.fedoraproject.org /archives/list/package-announce%40lists.fedoraproject.org/message/WQ5G7KHKZC4SI23JE7277KZX · vendor-advisory, x_refsource_FEDORA, x_transferred
- securityfocus.com /bid/94216 · vdb-entry, x_refsource_BID, x_transferred
- openwall.com /lists/oss-security/2016/11/09/2 · mailing-list, x_refsource_MLIST, x_transferred
- cryptography.io /en/latest/changelog · x_refsource_CONFIRM, x_transferred
- lists.fedoraproject.org /archives/list/package-announce%40lists.fedoraproject.org/message/5R2ZOBMPWDFFHUZ6QOZZY36A · vendor-advisory, x_refsource_FEDORA, x_transferred
- github.com /pyca/cryptography/issues/3211 · x_refsource_CONFIRM, x_transferred
- nvd.nist.gov /vuln/detail/CVE-2016-9243 · advisory
- cryptography.io /en/latest/changelog/#v1-5-3 · web
- github.com /advisories/GHSA-q3cj-2r34-2cwc · advisory
- github.com /pyca/cryptography · package
- github.com /pypa/advisory-database/tree/main/vulns/cryptography/PYSEC-2017-8.yaml · web
- lists.fedoraproject.org /archives/list/package-announce%40lists.fedoraproject.org/message/5R2ZOBMPWDFFHUZ6QOZZY36A · web
- lists.fedoraproject.org /archives/list/package-announce%40lists.fedoraproject.org/message/U23KDR2M2N7W2ZSREG63BVW7 · web
- lists.fedoraproject.org /archives/list/package-announce%40lists.fedoraproject.org/message/WQ5G7KHKZC4SI23JE7277KZX · web
- lists.fedoraproject.org /archives/list/package-announce@lists.fedoraproject.org/message/5R2ZOBMPWDFFHUZ6QOZZY36A6H · web
- lists.fedoraproject.org /archives/list/package-announce@lists.fedoraproject.org/message/U23KDR2M2N7W2ZSREG63BVW7D4 · web
- lists.fedoraproject.org /archives/list/package-announce@lists.fedoraproject.org/message/WQ5G7KHKZC4SI23JE7277KZXM5 · web
- lists.fedoraproject.org /archives/list/package-announce@lists.fedoraproject.org/message/WQ5G7KHKZC4SI23JE7277KZXM5 · web
- lists.fedoraproject.org /archives/list/package-announce@lists.fedoraproject.org/message/U23KDR2M2N7W2ZSREG63BVW7D4 · web
- lists.fedoraproject.org /archives/list/package-announce@lists.fedoraproject.org/message/5R2ZOBMPWDFFHUZ6QOZZY36A6H · web
Sources
- CVE List: CVE-2016-9243
- GitHub Advisory: GHSA-q3cj-2r34-2cwc
- NVD: CVE-2016-9243
- OSV: PYSEC-2017-8
vulnwire keeps one entry per vulnerability: the CVE id wins, then GHSA; records that alias each other are merged. Machine-readable: JSON.