CVE-2013-4238

Summary

CVECVE-2013-4238
StatePUBLIC
Assigner[email protected]
Source PriorityCVE Program / NVD first with legacy fallback
Published2013-08-18 02:52:00 UTC
Updated2019-10-25 11:53:00 UTC
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.

Risk And Classification

Problem Types: CWE-20

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Operating System Canonical Ubuntu Linux 10.04 - lts All
Operating System Canonical Ubuntu Linux 10.04 - lts All
Operating System Opensuse Opensuse 11.4 All All All
Operating System Opensuse Opensuse 12.2 All All All
Operating System Opensuse Opensuse 12.3 All All All
Operating System Opensuse Opensuse 11.4 All All All
Operating System Opensuse Opensuse 12.2 All All All
Operating System Opensuse Opensuse 12.3 All All All
Application Python Python 2.6.1 All All All
Application Python Python 2.6.2 All All All
Application Python Python 2.6.2150 All All All
Application Python Python 2.6.3 All All All
Application Python Python 2.6.4 All All All
Application Python Python 2.6.5 All All All
Application Python Python 2.6.6 All All All
Application Python Python 2.6.6150 All All All
Application Python Python 2.6.7 All All All
Application Python Python 2.6.8 All All All
Application Python Python 2.7.1 All All All
Application Python Python 2.7.1 rc1 All All
Application Python Python 2.7.1150 All All All
Application Python Python 2.7.1150 All All All
Application Python Python 2.7.2 rc1 All All
Application Python Python 2.7.2150 All All All
Application Python Python 2.7.3 All All All
Application Python Python 3.0 All All All
Application Python Python 3.0.1 All All All
Application Python Python 3.1 All All All
Application Python Python 3.1.1 All All All
Application Python Python 3.1.2 All All All
Application Python Python 3.1.2150 All All All
Application Python Python 3.1.3 All All All
Application Python Python 3.1.4 All All All
Application Python Python 3.1.5 All All All
Application Python Python 3.2 All All All
Application Python Python 3.2 alpha All All
Application Python Python 3.2.2150 All All All
Application Python Python 3.2.3 All All All
Application Python Python 3.3 All All All
Application Python Python 3.3 beta2 All All
Application Python Python 3.4 alpha1 All All
Application Python Python 2.6.1 All All All
Application Python Python 2.6.2 All All All
Application Python Python 2.6.2150 All All All
Application Python Python 2.6.3 All All All
Application Python Python 2.6.4 All All All
Application Python Python 2.6.5 All All All
Application Python Python 2.6.6 All All All
Application Python Python 2.6.6150 All All All
Application Python Python 2.6.7 All All All
Application Python Python 2.6.8 All All All
Application Python Python 2.7.1 All All All
Application Python Python 2.7.1 rc1 All All
Application Python Python 2.7.1150 All All All
Application Python Python 2.7.1150 All All All
Application Python Python 2.7.2 rc1 All All
Application Python Python 2.7.2150 All All All
Application Python Python 2.7.3 All All All
Application Python Python 3.0 All All All
Application Python Python 3.0.1 All All All
Application Python Python 3.1 All All All
Application Python Python 3.1.1 All All All
Application Python Python 3.1.2 All All All
Application Python Python 3.1.2150 All All All
Application Python Python 3.1.3 All All All
Application Python Python 3.1.4 All All All
Application Python Python 3.1.5 All All All
Application Python Python 3.2 All All All
Application Python Python 3.2 alpha All All
Application Python Python 3.2.2150 All All All
Application Python Python 3.2.3 All All All
Application Python Python 3.3 All All All
Application Python Python 3.3 beta2 All All
Application Python Python 3.4 alpha1 All All

References

ReferenceSourceLinkTags
Bug 996381 – CVE-2013-4238 python: hostname check bypassing vulnerability in SSL module CONFIRM bugzilla.redhat.com Patch
Debian -- Security Information -- DSA-2880-1 python2.7 DEBIAN www.debian.org
openSUSE-SU-2013:1438-1: moderate: update for python SUSE lists.opensuse.org Vendor Advisory
VMSA-2014-0012 | United States CONFIRM www.vmware.com
Red Hat Customer Portal REDHAT rhn.redhat.com
[security-announce] openSUSE-SU-2020:0086-1: important: Security update SUSE lists.opensuse.org
openSUSE-SU-2013:1462-1: moderate: update for python3 SUSE lists.opensuse.org Vendor Advisory
Full Disclosure: NEW: VMSA-2014-0012 - VMware vSphere product updates address security vulnerabilities FULLDISC seclists.org
Issue 18709: SSL module fails to handle NULL bytes inside subjectAltNames general names (CVE-2013-4238) - Python tracker CONFIRM bugs.python.org Patch
openSUSE-SU-2013:1463-1: moderate: update for python SUSE lists.opensuse.org Vendor Advisory
openSUSE-SU-2013:1437-1: moderate: update for python3 SUSE lists.opensuse.org Vendor Advisory
openSUSE-SU-2013:1440-1: moderate: update for python SUSE lists.opensuse.org Vendor Advisory
SecurityFocus BUGTRAQ www.securityfocus.com
openSUSE-SU-2013:1439-1: moderate: update for python3 SUSE lists.opensuse.org Vendor Advisory
USN-1982-1: Python 2.6 vulnerability | Ubuntu UBUNTU www.ubuntu.com Vendor Advisory
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis
© CVE.report 2026 |

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

CVE.report and Source URL Uptime Status status.cve.report