CVE-2016-9015
Urllib3 Incorrect Certificate Validation
Reported by mitre · Published January 11, 2017
urllib3 is fixed in 1.18.1 (PyPI)
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| urllib3 | PyPI | 1.18.1 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
| n/a | n/a | * |
| PyPI | urllib3 | 1.17 |
Timeline
- Jan 11, 2017 CVE Published
- Feb 4, 2022 EPSS Score (30 in total, the first dated here)
- Mar 10, 2026 Security Advisory
- Oct 6, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2016-9015
vulnetix vdb fixes CVE-2016-9015
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2016-9015/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- 93941 vdb-entryx_refsource_BID
- [oss-security] 20161027 CVE-2016-9015: Python urllib3 1.17 and 1.18 certificate verification failure mailing-listx_refsource_MLIST
- https://nvd.nist.gov/vuln/detail/CVE-2016-9015 advisory
- https://github.com/advisories/GHSA-v4w5-p2hg-8fh6 advisory
- https://github.com/urllib3/urllib3/commit/c32cdbc16a9634fa0f8c829d1270301570158715 patch
- https://github.com/pypa/advisory-database/tree/main/vulns/urllib3/PYSEC-2017-98.yaml advisory
- https://github.com/urllib3/urllib3 url
- https://web.archive.org/web/20210123184150/http://www.securityfocus.com/bid/93941 url