Skip to content

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 server...

MediumCVSS 5.9 EPSS 1.9%
Published
Updated
Exploit status
No public exploit known

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.

Affected products

ProductAffected versionsFixed in
debian/python2.7(Debian:11) < 2.7.9-1 2.7.9-1
python <= 2.7.8 No fix listed
python = 3.0 No fix listed
python = 3.0.1 No fix listed
python = 3.1 No fix listed
python = 3.1.1 No fix listed
python = 3.1.2 No fix listed
python = 3.1.3 No fix listed
python = 3.1.4 No fix listed
python = 3.1.5 No fix listed
python = 3.1.2150 No fix listed
python = 3.2 No fix listed
python = 3.2-alpha No fix listed
python = 3.2.0 No fix listed
python = 3.2.1 No fix listed
python = 3.2.2 No fix listed
python = 3.2.3 No fix listed
python = 3.2.4 No fix listed
python = 3.2.5 No fix listed
python = 3.2.6 No fix listed
python = 3.2.2150 No fix listed
python = 3.3 No fix listed
python = 3.3-beta2 No fix listed
python = 3.3.0 No fix listed
python = 3.3.1 No fix listed
Show 2 more
ProductAffected versionsFixed in
python = 3.3.1-rc1 No fix listed
python = 3.3.2 No fix listed

References