Vulnerability · Published Mar 15, 2021 · Assigned by mitre
CVE-2021-28363
Medium 6.5
In plain English
A medium-severity security flaw in the py3-urllib3 package (Alpine). There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 2.2% (higher than 82% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
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 packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine:v3.20 | py3-urllib3 | 1.26.4-r0 | ALPINE-CVE-2021-28363 |
| Alpine:v3.21 | py3-urllib3 | 1.26.4-r0 | ALPINE-CVE-2021-28363 |
| Alpine:v3.22 | py3-urllib3 | 1.26.4-r0 | ALPINE-CVE-2021-28363 |
| Alpine:v3.23 | py3-urllib3 | 1.26.4-r0 | ALPINE-CVE-2021-28363 |
| Alpine:v3.24 | py3-urllib3 | 1.26.4-r0 | ALPINE-CVE-2021-28363 |
| Debian:12 | python-urllib3 | 1.26.4-1 | DEBIAN-CVE-2021-28363 |
| Debian:13 | python-urllib3 | 1.26.4-1 | DEBIAN-CVE-2021-28363 |
| Debian:14 | python-urllib3 | 1.26.4-1 | DEBIAN-CVE-2021-28363 |
| PyPI | urllib3 | 1.26.4 | PYSEC-2021-59 |
| PyPI | urllib3 | 1.26.4 | GHSA-5phf-pp7p-vc2r |
Affected products (as reported)
References
- https://github.com/urllib3/urllib3/commits/main
- FEDORA-2021-3f378dda90 vendor-advisory
- GLSA-202107-36 vendor-advisory
- https://www.oracle.com/security-alerts/cpuoct2021.html
- https://pypi.org/project/urllib3/1.26.4/
- https://github.com/urllib3/urllib3/commit/8d65ea1ecf6e2cdc27d42124e587c1b83a3118b0
- https://github.com/urllib3/urllib3/security/advisories/GHSA-5phf-pp7p-vc2r
- GLSA-202305-02 vendor-advisory
- https://security.netapp.com/advisory/ntap-20240621-0007/
- https://cert-portal.siemens.com/productcert/html/ssa-398330.html