Feed
6.5MEDIUM
CVE-2021-28363Using default SSLContext for HTTPS requests in an HTTPS proxy doesn't verify certificate hostname for proxy connection
A medium-severity vulnerability reachable over the network, needing no privileges and no user interaction. EPSS estimates a 2.0% chance of exploitation in the next 30 days. A fixed version is named.
- Exploited in the wild
- Not in KEV
- EPSS
- 2.0%
- percentile 82%
- Fix
- Named by a source
- CVE published 15 Mar 2021
Reference
None of the "Needs attention" rules apply right now.
EPSS 2.0% (+2) · Network attack vector (+10) · No privileges required (+5) · No user interaction (+5)
Immediate actions
- urllib3 (PyPI): upgrade to 1.26.4 or later on your release line.
- Patch: https://github.com/urllib3/urllib3/commit/8d65ea1ecf6e2cdc27d42124e587c1b83a3118b0
Who should check
urllib3 (PyPI) pkg:pypi/urllib3
- Affected>= 1.26.0, < 1.26.4Fixed in1.26.4OSV (PYSEC-2021-59)
Confirmed facts
- CVSS
- 6.5 MEDIUM (version 3.1)
- Score from
- GitHub Advisory Database (GHSA-5phf-pp7p-vc2r)
- Attack vector
- network
- Attack complexity
- low
- Privileges required
- none
- User interaction
- none
- Weakness
- CWE-295
Unknowns
- We show one CVSS score. Other sources may score this CVE differently.
Advisory text
Quoted from the source advisory (untrusted)### Impact Users who are using an HTTPS proxy to issue HTTPS requests and haven't configured their own SSLContext via `proxy_config`. Only the default SSLContext is impacted. ### Patches [urllib3 >=1.26.4 has the issue resolved](https://github.com/urllib3/urllib3/releases/tag/1.26.4). urllib3<1.26 is not impacted due to not supporting HTTPS requests via HTTPS proxies. ### Workarounds Upgrading is recommended as this is a minor release and not likely to break current usage. Configuring an `SSLContext` with `check_hostname=True` and passing via `proxy_config` instead of relying on the default `SSLContext` ### For more information If you have any questions or comments about this advisory: * Email us at [[email protected]](mailto:[email protected])
Update history
No events recorded. Our history starts on 1 Jan 2025.
References
- advisoryhttps://github.com/urllib3/urllib3/security/advisories/GHSA-5phf-pp7p-vc2r
- advisoryhttps://nvd.nist.gov/vuln/detail/CVE-2021-28363
- patchhttps://github.com/urllib3/urllib3/commit/8d65ea1ecf6e2cdc27d42124e587c1b83a3118b0
- otherhttps://github.com/pypa/advisory-database/tree/main/vulns/urllib3/PYSEC-2021-59.yaml
- otherhttps://github.com/pypa/advisory-db/tree/main/vulns/urllib3/PYSEC-2021-59.yaml
- otherhttps://github.com/urllib3/urllib3
- otherhttps://github.com/urllib3/urllib3/blob/main/CHANGES.rst#1264-2021-03-15
- otherhttps://github.com/urllib3/urllib3/commits/main
- otherhttps://github.com/urllib3/urllib3/releases/tag/1.26.4
- otherhttps://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/4S65ZQVZ2ODGB52IC7VJDBUK4M5INCXL
- otherhttps://lists.fedoraproject.org/archives/list/[email protected]/message/4S65ZQVZ2ODGB52IC7VJDBUK4M5INCXL
- otherhttps://pypi.org/project/urllib3/1.26.4
- otherhttps://security.gentoo.org/glsa/202107-36
- otherhttps://security.gentoo.org/glsa/202305-02
- otherhttps://security.netapp.com/advisory/ntap-20240621-0007
- otherhttps://www.oracle.com/security-alerts/cpuoct2021.html
- otherhttps://pypi.org/project/urllib3/1.26.4/
Sources
- EPSS by FIRST.org, Free to use, attribution requested. Scores generated by Empirical Security.
- GHSA-5phf-pp7p-vc2r (GitHub Advisory Database), CC BY 4.0.
- PYSEC-2021-59 (PyPA Advisory Database), CC BY 4.0.
- OSV.dev, Per database.
This page is our own presentation: records are shortened, normalised and merged. Licences
Last checked: kev 20 min ago · osv 20 min ago · nvd 81 min ago · epss 19 min ago · JSON · ask via MCP: explain_vulnerability
Also known as GHSA-5phf-pp7p-vc2r, PYSEC-2021-59