Advisory

PYSEC-2017-98

Also known as: CVE-2016-9015, GHSA-v4w5-p2hg-8fh6

Summary

The record has no summary.

Details

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.

Severity

Not rated by the source.

Dates

Published
2017-01-11 16:59 UTC
Modified
2026-06-10 17:02 UTC

Affected packages and fixes

urllib3

PyPI · All systems

Affected

  • introduced 1.17, fixed 1.18.1 (ecosystem)

Fixed versions

1.18.1

Fix

  • Fixed version 1.18.1
    pip install --upgrade urllib3==1.18.1

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: PyPA Advisory Database · CC BY 4.0

Sources & licences