CVE-2013-4238

python: hostname check bypassing vulnerability in SSL module

Published Aug 18, 2013 CVSS 2.0 · 4.3 Medium EPSS 5.3% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-25-1 python2.6 security update
Debian DSA Debian DSA DSA-2880-1 python2.7 security update
EUVD EUVD EUVD-2013-4142 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.
Ubuntu USN Ubuntu USN USN-1982-1 Python 2.6 vulnerability
Ubuntu USN Ubuntu USN USN-1983-1 Python 2.7 vulnerabilities
Ubuntu USN Ubuntu USN USN-1984-1 Python 3.2 vulnerabilities
Ubuntu USN Ubuntu USN USN-1985-1 Python 3.3 vulnerabilities
History

No history.

Weaknesses

Sources

Status
PUBLISHED
Assigner
redhat
Published
Updated
Aug 6, 2024, 4:38 PM
Reserved
Jun 12, 2013, 12:00 AM
Status
Modified
Published
Aug 18, 2013, 2:52 AM
Modified
Jun 16, 2026, 11:56 PM
Severity
Moderate
Public date
Aug 12, 2013, 12:00 AM