Live threats

All CVEs / Python

CVE-2016-9015Python Urllib3

Low 3.7 No auth needed

Priority
37
CVSS 3.0
3.7
EPSS
—
Auth required
No
Published
Jan 11, 2017
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-295
Vector
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Urllib3.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
PyPI urllib3 ≥ 1.17 < 1.18.1 1.18.1 pip install "urllib3>=1.18.1"
PyPI urllib3 ≥ 1.17 < 1.18.1 1.18.1 pip install "urllib3>=1.18.1"

Per OSV / GitHub Advisories (GHSA-v4w5-p2hg-8fh6, PYSEC-2017-98). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
pythonurllib31.17
pythonurllib31.18

Official sources

References

Links published by the sources. Open them with care.