Live threats

All CVEs / Python

CVE-2021-28363Python Urllib3

Medium 6.5 No auth needed

Priority
54
CVSS 3.1
6.5
EPSS
2.0%
probability of exploitation in 30 days · percentile 82
Auth required
No
Published
Mar 15, 2021
Updated
Oct 14, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-295
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Urllib3.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
PyPI urllib3 ≥ 1.26.0 < 1.26.4 1.26.4 pip install "urllib3>=1.26.4"
PyPI urllib3 ≥ 1.26.0 < 1.26.4 1.26.4 pip install "urllib3>=1.26.4"

Per OSV / GitHub Advisories (GHSA-5phf-pp7p-vc2r, PYSEC-2021-59). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
pythonurllib3≥ 1.26.0 < 1.26.4
fedoraprojectfedora34
oraclepeoplesoft_enterprise_peopletools8.59

Official sources

References

Links published by the sources. Open them with care.