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%
Priority
25/100 medium
how it is computed
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

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

Sources

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