Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. urllib3
  4. ›
  5. CVE-2016-9015

CVE-2016-9015: Urllib3 Incorrect Certificate Validation

May 17, 2022 (updated November 18, 2024)

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.

References

  • github.com/advisories/GHSA-v4w5-p2hg-8fh6
  • github.com/pypa/advisory-database/tree/main/vulns/urllib3/PYSEC-2017-98.yaml
  • github.com/urllib3/urllib3
  • github.com/urllib3/urllib3/commit/c32cdbc16a9634fa0f8c829d1270301570158715
  • nvd.nist.gov/vuln/detail/CVE-2016-9015
  • web.archive.org/web/20210123184150/http://www.securityfocus.com/bid/93941

Code Behaviors & Features

Detect and mitigate CVE-2016-9015 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 1.17 before 1.18.1

Fixed versions

  • 1.18.1

Solution

Upgrade to version 1.18.1 or above.

Impact 3.7 LOW

CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N

Learn more about CVSS

Weakness

  • CWE-295: Improper Certificate Validation

Source file

pypi/urllib3/CVE-2016-9015.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:14:42 +0000.