PT-2021-17850 · Pypi+1 · Urllib3+1

Published

2021-03-15

·

Updated

2026-06-03

·

CVE-2021-28363

CVSS v4.0

6.9

Medium

VectorAV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N
Name of the Vulnerable Software and Affected Versions: urllib3 versions 1.26.x through 1.26.3
Description: The issue concerns the omission of SSL certificate validation in certain cases involving HTTPS to HTTPS proxies. Specifically, when an SSLContext is not provided via proxy config, the initial connection to the HTTPS proxy does not verify the hostname of the certificate. This allows certificates for different servers to be silently accepted if they validate properly with the default urllib3 SSLContext. The issue affects users who use an HTTPS proxy to issue HTTPS requests without configuring their own SSLContext.
Recommendations: For urllib3 versions 1.26.x through 1.26.3, upgrade to urllib3 version 1.26.4 or later to resolve the issue. As a temporary workaround, consider configuring an SSLContext with check hostname=True and passing it via proxy config instead of relying on the default SSLContext.

Fix

Improper Certificate Validation

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

ALT-PU-2021-1772
BDU:2025-04191
CVE-2021-28363
GHSA-5PHF-PP7P-VC2R
MGASA-2021-0371
MGASA-2021-0377
PYSEC-2021-59

Affected Products

Alt Linux
Urllib3