Vulnerability in Python
CVE-2013-7440
The ssl.match_hostname function in CPython (aka Python) before 2.7.9 and 3.x before 3.3.3 does not properly handle wildcards in hostnames, which might allow man-in-the-middle attackers to spoof servers via a crafted certificate.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 5.9 (Medium). Vector: CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N.
EPSS exploit prediction
EPSS 0.019, 79.8th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Python — versions 3.0, 3.0.1, 3.1
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 1 other repository (BSolarV/cvedetails-summary). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- [oss-security] 20150518 CVE request: ssl.match_hostname(): sub string wildcard should not match IDNA prefix (mailing-list)
- RHSA-2016:1166 (vendor-advisory)
- bugzilla.redhat.com/show_bug.cgi
- hg.python.org/cpython/rev/10d0edadbcdd
- bugs.python.org/issue17997
- www.securityfocus.com/bid/74707 (vdb-entry)
- [oss-security] 20150521 Re: CVE request: ssl.match_hostname(): sub string wildcard should not match IDNA prefix (mailing-list)