CVE-2021-28363Python Urllib3
Medium 6.5 No auth needed
Follow: this CVE · Python · Python Urllib3 We alert you by email or Slack (account required).
- 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.
What to do
- Apply the vendor's security update for Urllib3.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How 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)
| Vendor | Product | Versions |
|---|---|---|
| python | urllib3 | ≥ 1.26.0 < 1.26.4 |
| fedoraproject | fedora | 34 |
| oracle | peoplesoft_enterprise_peopletools | 8.59 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch Third Party Advisory
- github.com Patch Third Party Advisory
- github.com Mitigation Third Party Advisory
- lists.fedoraproject.org
- pypi.org Third Party Advisory
- security.gentoo.org Third Party Advisory
- security.gentoo.org
- security.netapp.com
- www.oracle.com Patch Third Party Advisory
- cert-portal.siemens.com