CVE-2021-28363
MEDIUM 6.5CVSS 3.1Using default SSLContext for HTTPS requests in an HTTPS proxy doesn't verify certificate hostname for proxy connection
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.
- Published
- 15 Mar 2021
- Last modified
- 14 Oct 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-295
- Also known as
- GHSA-5phf-pp7p-vc2rPYSEC-2021-59
- Sources
- NVDJSONOSV GHSA-5phf-pp7p-vc2rJSONOSV PYSEC-2021-59JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N | |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 6.4 | AV:N/AC:L/Au:N/C:P/I:P/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | python | urllib3cpe:2.3:a:python:urllib3:*:*:*:*:*:*:*:* |
>= 1.26.0, < 1.26.4 | 1.26.4 |
| NVD | fedoraproject | fedoracpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:* |
= 34 | |
| NVD | oracle | peoplesoft_enterprise_peopletoolscpe:2.3:a:oracle:peoplesoft_enterprise_peopletools:8.59:*:*:*:*:*:*:* |
= 8.59 | |
| OSV | PyPI | urllib3 | >= 1.26.0, < 1.26.4 | 1.26.4 |
References
- https://github.com/urllib3/urllib3/commit/8d65ea1ecf6e2cdc27d42124e587c1b83a3118b0 · Patch, Third Party Advisory, WEB, FIX
- https://github.com/urllib3/urllib3/commits/main · Patch, Third Party Advisory, WEB
- https://github.com/urllib3/urllib3/security/advisories/GHSA-5phf-pp7p-vc2r · Mitigation, Third Party Advisory, WEB, ADVISORY
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/4S65ZQVZ2ODGB52IC7VJDBUK4M5INCXL/ · WEB
- https://pypi.org/project/urllib3/1.26.4/ · Third Party Advisory, WEB, PACKAGE
- https://security.gentoo.org/glsa/202107-36 · Third Party Advisory, WEB
- https://security.gentoo.org/glsa/202305-02 · WEB
- https://security.netapp.com/advisory/ntap-20240621-0007/ · WEB
- https://www.oracle.com/security-alerts/cpuoct2021.html · Patch, Third Party Advisory, WEB
- https://cert-portal.siemens.com/productcert/html/ssa-398330.html
- https://nvd.nist.gov/vuln/detail/CVE-2021-28363 · ADVISORY
- https://github.com/pypa/advisory-database/tree/main/vulns/urllib3/PYSEC-2021-59.yaml · WEB
- https://github.com/pypa/advisory-db/tree/main/vulns/urllib3/PYSEC-2021-59.yaml · WEB
- https://github.com/urllib3/urllib3 · PACKAGE
- https://github.com/urllib3/urllib3/blob/main/CHANGES.rst#1264-2021-03-15 · WEB
- https://github.com/urllib3/urllib3/releases/tag/1.26.4 · WEB
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/4S65ZQVZ2ODGB52IC7VJDBUK4M5INCXL · WEB
History
- 25 Nov 2026 20:32 UTC · NVD: first stored (published 15 Mar 2021)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 15 Mar 2021)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 19 Mar 2021)