Lucene search

K
osvGoogleOSV:PYSEC-2021-59
HistoryMar 15, 2021 - 6:15 p.m.

PYSEC-2021-59

2021-03-1518:15:00
Google
osv.dev
16
urllib3 library
ssl certificate validation
python
https proxies

EPSS

0.001

Percentile

49.3%

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.