PYSEC-2021-59

See a problem?
Import Source
https://github.com/pypa/advisory-database/blob/main/vulns/urllib3/PYSEC-2021-59.yaml
JSON Data
https://api.osv.dev/v1/vulns/PYSEC-2021-59
Aliases
Published
2021-03-15T18:15:00Z
Modified
2023-11-08T04:05:29.804412Z
Summary
[none]
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.

References

Affected packages

PyPI / urllib3

Package

Affected ranges

Type
GIT
Repo
https://github.com/urllib3/urllib3
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Type
ECOSYSTEM
Events
Introduced
1.26.0
Fixed
1.26.4

Affected versions

1.*

1.26.0
1.26.1
1.26.2
1.26.3