Advisory

PYSEC-2021-59

Also known as: CVE-2021-28363, GHSA-5phf-pp7p-vc2r

Summary

The record has no summary.

Details

The urllib3 library 1.26.x before 1.26.4 for Python omits SSL certificate validation in some cases involving HTTPS to HTTPS proxies. The initial connection to the HTTPS proxy (if an SSLContext isn't given via proxy_config) doesn't verify the hostname of the certificate. This means certificates for different servers that still validate properly with the default urllib3 SSLContext will be silently accepted.

Severity

Not rated by the source.

Dates

Published
2021-03-15 18:15 UTC
Modified
2023-11-08 04:05 UTC

Affected packages and fixes

urllib3

PyPI · All systems

Affected

  • introduced 1.26.0, fixed 1.26.4 (ecosystem)

Fixed versions

1.26.4

Fix

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

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