CVE-2013-4238
Summary
| CVE | CVE-2013-4238 |
|---|---|
| State | PUBLISHED |
| Assigner | redhat |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2013-08-18 02:52:22 UTC |
| Updated | 2026-04-29 01:13:23 UTC |
| 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. |
Risk And Classification
CVSS v2.0 Breakdown
Access Vector
NetworkAccess Complexity
MediumAuthentication
NoneConfidentiality
NoneIntegrity
PartialAvailability
NoneAV:N/AC:M/Au:N/C:N/I:P/A:N
NVD Known Affected Configurations (CPE 2.3)
| Type | Vendor | Product | Version | Update | Edition | Language |
|---|---|---|---|---|---|---|
| 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 |
| 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 |
Vendor Declared Affected Products
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| Debian -- Security Information -- DSA-2880-1 python2.7 | af854a3a-2127-422b-91ae-364da2661108 | www.debian.org | |
| USN-1982-1: Python 2.6 vulnerability | Ubuntu | af854a3a-2127-422b-91ae-364da2661108 | www.ubuntu.com | Vendor Advisory |
| openSUSE-SU-2013:1440-1: moderate: update for python | af854a3a-2127-422b-91ae-364da2661108 | lists.opensuse.org | Vendor Advisory |
| openSUSE-SU-2013:1439-1: moderate: update for python3 | af854a3a-2127-422b-91ae-364da2661108 | lists.opensuse.org | Vendor Advisory |
| openSUSE-SU-2013:1438-1: moderate: update for python | af854a3a-2127-422b-91ae-364da2661108 | lists.opensuse.org | Vendor Advisory |
| SecurityFocus | af854a3a-2127-422b-91ae-364da2661108 | www.securityfocus.com | |
| Bug 996381 – CVE-2013-4238 python: hostname check bypassing vulnerability in SSL module | af854a3a-2127-422b-91ae-364da2661108 | bugzilla.redhat.com | Patch |
| openSUSE-SU-2013:1437-1: moderate: update for python3 | af854a3a-2127-422b-91ae-364da2661108 | lists.opensuse.org | Vendor Advisory |
| [security-announce] openSUSE-SU-2020:0086-1: important: Security update | af854a3a-2127-422b-91ae-364da2661108 | lists.opensuse.org | |
| Red Hat Customer Portal | af854a3a-2127-422b-91ae-364da2661108 | rhn.redhat.com | |
| openSUSE-SU-2013:1463-1: moderate: update for python | af854a3a-2127-422b-91ae-364da2661108 | lists.opensuse.org | Vendor Advisory |
| openSUSE-SU-2013:1462-1: moderate: update for python3 | af854a3a-2127-422b-91ae-364da2661108 | lists.opensuse.org | Vendor Advisory |
| Full Disclosure: NEW: VMSA-2014-0012 - VMware vSphere product updates address security vulnerabilities | af854a3a-2127-422b-91ae-364da2661108 | seclists.org | |
| Issue 18709: SSL module fails to handle NULL bytes inside subjectAltNames general names (CVE-2013-4238) - Python tracker | af854a3a-2127-422b-91ae-364da2661108 | bugs.python.org | Patch |
| VMSA-2014-0012 | United States | af854a3a-2127-422b-91ae-364da2661108 | www.vmware.com | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.