CVE-2016-9015
Urllib3 Incorrect Certificate Validation
Also known as GHSA-v4w5-p2hg-8fh6, PYSEC-2017-98
Published 9 y ago · modified 4 mo ago · JSON
Summary
Versions 1.17 and 1.18 of the Python urllib3 library suffer from a vulnerability that can cause them, in certain configurations, to not correctly validate TLS certificates. This places users of the library with those configurations at risk of man-in-the-middle and information leakage attacks. This vulnerability affects users using versions 1.17 and 1.18 of the urllib3 library, who are using the optional PyOpenSSL support for TLS instead of the regular standard library TLS backend, and who are using OpenSSL 1.1.0 via PyOpenSSL. This is an extremely uncommon configuration, so the security impact of this vulnerability is low.
Exploit prediction (EPSS)
0.75% probability of exploitation in the next 30 days, higher than 55% of all scored CVEs.
CVSS scores
| Assigned by | Version | Score | Vector |
|---|---|---|---|
| NVD | 3.0 | 3.7 | CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N |
| NVD | 2.0 | 2.6 | AV:N/AC:H/Au:N/C:P/I:N/A:N |
| GitHub | 3.0 | 3.7 | CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N |
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| pypi | urllib3 | >=1.17, <1.18.1 | 1.18.1 |
Classification
- Weakness
- CWE-295 Improper Certificate Validation
References
- securityfocus.com /bid/93941 · vdb-entry, x_refsource_BID, x_transferred
- openwall.com /lists/oss-security/2016/10/27/6 · mailing-list, x_refsource_MLIST, x_transferred
- nvd.nist.gov /vuln/detail/CVE-2016-9015 · advisory
- github.com /urllib3/urllib3/commit/c32cdbc16a9634fa0f8c829d1270301570158715 · web
- github.com /pypa/advisory-database/tree/main/vulns/urllib3/PYSEC-2017-98.yaml · web
- github.com /urllib3/urllib3 · package
- web.archive.org /web/20210123184150/http://www.securityfocus.com/bid/93941 · web
- github.com /advisories/GHSA-v4w5-p2hg-8fh6 · advisory
Sources
- CVE List: CVE-2016-9015
- GitHub Advisory: GHSA-v4w5-p2hg-8fh6
- NVD: CVE-2016-9015
- OSV: PYSEC-2017-98
vulnwire keeps one entry per vulnerability: the CVE id wins, then GHSA; records that alias each other are merged. Machine-readable: JSON.