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; oss-sec, fulldisc, OSVDB, EDB, Metasploit, Red Hat, Ubuntu, Gentoo, SuSE, Mageia, more)
ReferencesDLA-25-1, DSA-2880-1
NVD severitymedium (attack range: remote)
Debian Bugs719566, 719567, 719568
Debian/oldoldstablepackages python2.5, python2.6, python3.1 are vulnerable.
Debian/oldstablepackages python2.6, python3.2 are vulnerable.
Debian/stablenot vulnerable.
Debian/testingnot vulnerable.
Debian/unstablenot vulnerable.

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
python2.5 (PTS)squeeze2.5.5-11vulnerable
python2.6 (PTS)squeeze2.6.6-8vulnerable
squeeze (lts)2.6.6-8+deb6u3fixed
wheezy2.6.8-1.1vulnerable
python2.7 (PTS)wheezy (security), wheezy2.7.3-6+deb7u2fixed
jessie2.7.9-2fixed
stretch, sid2.7.10-3fixed
python3.1 (PTS)squeeze3.1.3-1vulnerable
python3.2 (PTS)wheezy3.2.3-7vulnerable

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

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
python2.5source(unstable)(unfixed)low
python2.6source(unstable)(unfixed)low
python2.6sourcesqueeze2.6.6-8+deb6u1mediumDLA-25-1
python2.7source(unstable)2.7.5-8low719566
python2.7sourcewheezy2.7.3-6+deb7u2mediumDSA-2880-1
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