Skip to content

CVE-2013-4238 The ssl.match_hostname function in the SSL module in Python 2.6 through 3.4 does not properly handle a '\0' character in a domain name in the Subject Alternative Name field of an X.509 certificate, wh...

MediumCVSS 4.3 EPSS 5.3%
Published
Updated
Exploit status
No public exploit known

Description

The ssl.match_hostname function in the SSL module in Python 2.6 through 3.4 does not properly handle a '\0' character in a domain name in the Subject Alternative Name field of an X.509 certificate, which allows man-in-the-middle attackers to spoof arbitrary SSL servers via a crafted certificate issued by a legitimate Certification Authority, a related issue to CVE-2009-2408.

Affected products

ProductAffected versionsFixed in
debian/python2.7(Debian:11) < 2.7.5-8 2.7.5-8
Canonical Ubuntu Linux = 10.04 No fix listed
python = 2.6.1 No fix listed
python = 2.6.2 No fix listed
python = 2.6.3 No fix listed
python = 2.6.4 No fix listed
python = 2.6.5 No fix listed
python = 2.6.6 No fix listed
python = 2.6.7 No fix listed
python = 2.6.8 No fix listed
python = 2.6.2150 No fix listed
python = 2.6.6150 No fix listed
python = 2.7.1 No fix listed
python = 2.7.1-rc1 No fix listed
python = 2.7.2-rc1 No fix listed
python = 2.7.3 No fix listed
python = 2.7.1150 No fix listed
python = 2.7.2150 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
Show 12 more
ProductAffected versionsFixed in
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.3 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.4-alpha1 No fix listed
opensuse = 11.4 No fix listed
opensuse = 12.2 No fix listed
opensuse = 12.3 No fix listed

References