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 servers via a crafted certificate.
References (7)
Core 7
Core References
Mailing List mailing-list
x_refsource_mlist
http://seclists.org/oss-sec/2015/q2/483
Vendor Advisory vendor-advisory
x_refsource_redhat
https://access.redhat.com/errata/RHSA-2016:1166
Issue Tracking x_refsource_confirm
https://bugzilla.redhat.com/show_bug.cgi?id=1224999
Various Sources x_refsource_confirm
https://hg.python.org/cpython/rev/10d0edadbcdd
Various Sources x_refsource_confirm
https://bugs.python.org/issue17997
Third Party Advisory, VDB Entry vdb-entry
x_refsource_bid
http://www.securityfocus.com/bid/74707
Mailing List mailing-list
x_refsource_mlist
http://seclists.org/oss-sec/2015/q2/523
Scores
CVSS v3
5.9
EPSS
0.0036
EPSS Percentile
58.1%
Attack Vector
NETWORK
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N
Details
CWE
CWE-19
Status
published
Products (23)
python/python
3.0
python/python
3.0.1
python/python
3.1
python/python
3.1.1
python/python
3.1.2
python/python
3.1.3
python/python
3.1.4
python/python
3.1.5
python/python
3.1.2150
python/python
3.2 (2 CPE variants)
... and 13 more
Published
Jun 07, 2016
Tracked Since
Feb 18, 2026