CVE Catalog

CVE-2021-28363

MediumCVSS 6.5
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

High risk
2.11%

81th percentile - higher than 81% of all known CVEs

Summary

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.

Risk Assessment

An attacker could exploit this vulnerability to perform a man-in-the-middle attack by impersonating an HTTPS proxy server. This could lead to interception or modification of transmitted data, including credentials.

Recommendation

Update the urllib3 library to version 1.26.4 or later. Ensure that connections to HTTPS proxies are properly verified.

Other vulnerabilities in urllib3

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS