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
02 Description
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
03 Exploitation and scoring
- Exploitation
- Not assessed. CISA has not published an exploitation assessment for this record, and it is not in the KEV catalog. That is an absence of assessment, not a finding of no risk.
- SSVC decision
- Not assessed by CISA
- EPSS probability
- 1.87% probability of exploitation activity in the next 30 days.
- EPSS percentile
- Equal to or higher than the score of 79.0% of scored records. A rank, not a probability.
- NVD base score
- 5.9 (CVSS v3.x), scored by the NVD independently of the CNA.
- NVD CVSS vector
- CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N
- NVD analysis status
- Modified. NVD last modified this record on 2026-06-17.
- Red Hat severity
- Low. Red Hat's rating for its own products, not a CVSS rating.
Exploit-prediction scores from FIRST. Independent scoring and analysis status from the NVD. Vendor severity from Red Hat. Exploitation assessment and catalog membership from CISA.
04 Metadata
- Published
- 2016-06-07 18:00Z10 YR AGO
- Last updated
- 2024-08-06 18:09Z2 YR AGO
- Reserved
- 2015-05-19
- Assigning CNA
- redhat
- Record state
- PUBLISHED
- Severity
- Not rated by the issuing CNA
- CNA CVSS vector
- Not published by the issuing CNA
- Weaknesses
- Data version
- 5.1
- Document digest
- 3c817614a3a4b5b3fe4d96cae1aec480338690b3ea7a64227d5f243b3e6e0b85
05 Affected products
06 References
- seclists.org[oss-security] 20150518 CVE request: ssl.match_hostname(): sub string wildcard should not match IDNA prefixhttp://seclists.org/oss-sec/2015/q2/483
- access.redhat.comRHSA-2016:1166https://access.redhat.com/errata/RHSA-2016:1166
- bugzilla.redhat.comhttps://bugzilla.redhat.com/show_bug.cgi?id=1224999
- hg.python.orghttps://hg.python.org/cpython/rev/10d0edadbcdd
- bugs.python.orghttps://bugs.python.org/issue17997
- www.securityfocus.com74707http://www.securityfocus.com/bid/74707
- seclists.org[oss-security] 20150521 Re: CVE request: ssl.match_hostname(): sub string wildcard should not match IDNA prefixhttp://seclists.org/oss-sec/2015/q2/523
07 Fixed in
Debian 11
- python2.7 Fixed in 2.7.9-1
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
A release or ecosystem missing from this list has no record here. It may be unaffected or not covered by the source. Source notices and licences.