Vulnerabilities · 2021 · Python
CVE-2021-28363
Python Urllib3 vulnerability
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.
Affected products
Urllib3, Fedora, Peoplesoft Enterprise Peopletools. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Python Urllib3 runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/urllib3/urllib3/commit/8d65ea1ecf6e2cdc27d42124e587c1b83a3118b0 · Patch
- github.com/urllib3/urllib3/commits/main · Patch
- www.oracle.com/security-alerts/cpuoct2021.html · Patch
- github.com/urllib3/urllib3/security/advisories/GHSA-5phf-pp7p-vc2r · Mitigation
- pypi.org/project/urllib3/1.26.4/ · Third Party Advisory
- security.gentoo.org/glsa/202107-36 · Third Party Advisory
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/4
- security.gentoo.org/glsa/202305-02
- nvd.nist.gov/vuln/detail/CVE-2021-28363
- cve.org/CVERecord?id=CVE-2021-28363
More vulnerabilities in Python products
CVE-2026-21441CVE-2025-66471CVE-2025-66418CVE-2025-50182CVE-2025-50181CVE-2025-48379CVE-2025-47273CVE-2025-13837All 231
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.