CVE-2013-4238
MEDIUM 4.3CVSS 2.0The 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.
- Published
- 18 Aug 2013
- Last modified
- 16 Jun 2026
- Assigned by
- secalert@redhat.com
- NVD status
- Modified
- Weakness
- CWE-20
- Sources
- NVDJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 4.3 | AV:N/AC:M/Au:N/C:N/I:P/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | canonical | ubuntu_linuxcpe:2.3:o:canonical:ubuntu_linux:10.04:-:lts:*:*:*:*:* |
= 10.04 | |
| NVD | python | pythoncpe:2.3:a:python:python:2.6.1:*:*:*:*:*:*:* |
= 2.6.1 | |
| NVD | python | pythoncpe:2.3:a:python:python:2.6.2:*:*:*:*:*:*:* |
= 2.6.2 | |
| NVD | python | pythoncpe:2.3:a:python:python:2.6.3:*:*:*:*:*:*:* |
= 2.6.3 | |
| NVD | python | pythoncpe:2.3:a:python:python:2.6.4:*:*:*:*:*:*:* |
= 2.6.4 | |
| NVD | python | pythoncpe:2.3:a:python:python:2.6.5:*:*:*:*:*:*:* |
= 2.6.5 | |
| NVD | python | pythoncpe:2.3:a:python:python:2.6.6:*:*:*:*:*:*:* |
= 2.6.6 | |
| NVD | python | pythoncpe:2.3:a:python:python:2.6.7:*:*:*:*:*:*:* |
= 2.6.7 | |
| NVD | python | pythoncpe:2.3:a:python:python:2.6.8:*:*:*:*:*:*:* |
= 2.6.8 | |
| NVD | python | pythoncpe:2.3:a:python:python:2.6.2150:*:*:*:*:*:*:* |
= 2.6.2150 | |
| NVD | python | pythoncpe:2.3:a:python:python:2.6.6150:*:*:*:*:*:*:* |
= 2.6.6150 | |
| NVD | python | pythoncpe:2.3:a:python:python:2.7.1:*:*:*:*:*:*:* |
= 2.7.1 | |
| NVD | python | pythoncpe:2.3:a:python:python:2.7.1:rc1:*:*:*:*:*:* |
= 2.7.1 | |
| NVD | python | pythoncpe:2.3:a:python:python:2.7.2:rc1:*:*:*:*:*:* |
= 2.7.2 | |
| NVD | python | pythoncpe:2.3:a:python:python:2.7.3:*:*:*:*:*:*:* |
= 2.7.3 | |
| NVD | python | pythoncpe:2.3:a:python:python:2.7.1150:*:*:*:*:*:*:* |
= 2.7.1150 | |
| NVD | python | pythoncpe:2.3:a:python:python:2.7.1150:*:*:*:*:*:x64:* |
= 2.7.1150 | |
| NVD | python | pythoncpe:2.3:a:python:python:2.7.2150:*:*:*:*:*:*:* |
= 2.7.2150 | |
| NVD | python | pythoncpe:2.3:a:python:python:3.0:*:*:*:*:*:*:* |
= 3.0 | |
| NVD | python | pythoncpe:2.3:a:python:python:3.0.1:*:*:*:*:*:*:* |
= 3.0.1 | |
| NVD | python | pythoncpe:2.3:a:python:python:3.1:*:*:*:*:*:*:* |
= 3.1 | |
| NVD | python | pythoncpe:2.3:a:python:python:3.1.1:*:*:*:*:*:*:* |
= 3.1.1 | |
| NVD | python | pythoncpe:2.3:a:python:python:3.1.2:*:*:*:*:*:*:* |
= 3.1.2 | |
| NVD | python | pythoncpe:2.3:a:python:python:3.1.3:*:*:*:*:*:*:* |
= 3.1.3 | |
| NVD | python | pythoncpe:2.3:a:python:python:3.1.4:*:*:*:*:*:*:* |
= 3.1.4 | |
| NVD | python | pythoncpe:2.3:a:python:python:3.1.5:*:*:*:*:*:*:* |
= 3.1.5 | |
| NVD | python | pythoncpe:2.3:a:python:python:3.1.2150:*:*:*:*:*:x64:* |
= 3.1.2150 | |
| NVD | python | pythoncpe:2.3:a:python:python:3.2:*:*:*:*:*:*:* |
= 3.2 | |
| NVD | python | pythoncpe:2.3:a:python:python:3.2:alpha:*:*:*:*:*:* |
= 3.2 | |
| NVD | python | pythoncpe:2.3:a:python:python:3.2.3:*:*:*:*:*:*:* |
= 3.2.3 | |
| NVD | python | pythoncpe:2.3:a:python:python:3.2.2150:*:*:*:*:*:*:* |
= 3.2.2150 | |
| NVD | python | pythoncpe:2.3:a:python:python:3.3:*:*:*:*:*:*:* |
= 3.3 | |
| NVD | python | pythoncpe:2.3:a:python:python:3.3:beta2:*:*:*:*:*:* |
= 3.3 | |
| NVD | python | pythoncpe:2.3:a:python:python:3.4:alpha1:*:*:*:*:*:* |
= 3.4 | |
| NVD | opensuse | opensusecpe:2.3:o:opensuse:opensuse:11.4:*:*:*:*:*:*:* |
= 11.4 | |
| NVD | opensuse | opensusecpe:2.3:o:opensuse:opensuse:12.2:*:*:*:*:*:*:* |
= 12.2 | |
| NVD | opensuse | opensusecpe:2.3:o:opensuse:opensuse:12.3:*:*:*:*:*:*:* |
= 12.3 |
References
- http://bugs.python.org/issue18709 · Patch
- http://lists.opensuse.org/opensuse-security-announce/2020-01/msg00040.html
- http://lists.opensuse.org/opensuse-updates/2013-09/msg00026.html · Vendor Advisory
- http://lists.opensuse.org/opensuse-updates/2013-09/msg00027.html · Vendor Advisory
- http://lists.opensuse.org/opensuse-updates/2013-09/msg00028.html · Vendor Advisory
- http://lists.opensuse.org/opensuse-updates/2013-09/msg00029.html · Vendor Advisory
- http://lists.opensuse.org/opensuse-updates/2013-09/msg00042.html · Vendor Advisory
- http://lists.opensuse.org/opensuse-updates/2013-09/msg00043.html · Vendor Advisory
- http://rhn.redhat.com/errata/RHSA-2013-1582.html
- http://seclists.org/fulldisclosure/2014/Dec/23
- http://www.debian.org/security/2014/dsa-2880
- http://www.securityfocus.com/archive/1/534161/100/0/threaded
- http://www.ubuntu.com/usn/USN-1982-1 · Vendor Advisory
- http://www.vmware.com/security/advisories/VMSA-2014-0012.html
- https://bugzilla.redhat.com/show_bug.cgi?id=996381 · Patch
History
- 25 Nov 2026 20:17 UTC · NVD: first stored (published 18 Aug 2013)