CVE-2013-4238

NameCVE-2013-4238
DescriptionThe 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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesDLA-25-1, DSA-2880-1, ELA-165-1
Debian Bugs719566, 719567, 719568

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
python2.7 (PTS)jessie, jessie (lts)2.7.9-2-ds1-1+deb8u12fixed
stretch (security)2.7.13-2+deb9u6fixed
stretch (lts), stretch2.7.13-2+deb9u9fixed
buster2.7.16-2+deb10u1fixed
buster (security)2.7.16-2+deb10u4fixed
bullseye2.7.18-8+deb11u1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
python2.5source(unstable)(unfixed)low
python2.6sourcesqueeze2.6.6-8+deb6u1DLA-25-1
python2.6sourcewheezy2.6.8-1.1+deb7u4ELA-165-1
python2.6source(unstable)(unfixed)low
python2.7sourcewheezy2.7.3-6+deb7u2DSA-2880-1
python2.7source(unstable)2.7.5-8low719566
python3.1source(unstable)(unfixed)low
python3.2source(unstable)(unfixed)low719568
python3.3source(unstable)3.3.2-6low719567

Notes

[squeeze] - python2.5 <no-dsa> (Minor issue)
[wheezy] - python2.6 <no-dsa> (Minor issue)
[squeeze] - python3.1 <no-dsa> (Minor issue)
[wheezy] - python3.2 <no-dsa> (Minor issue)
http://bugs.python.org/issue18709
https://bugs.mageia.org/show_bug.cgi?id=10989

Search for package or bug name: Reporting problems