SSL Certificate Validation Issue in urllib3 Library for Python
CVE-2021-28363
6.5MEDIUM
What is CVE-2021-28363?
The urllib3 library version 1.26.x prior to 1.26.4 for Python contains a vulnerability that affects SSL certificate validation when connecting to HTTPS proxies. When no SSLContext is provided in the proxy configuration, the library fails to verify the hostname against the SSL certificate, allowing potentially malicious certificates for different servers to be accepted without alerting the user. This oversight could lead to man-in-the-middle attacks as connections may be established with untrusted proxy servers.