PT-2013-4915 · Python+3 · Python+3

Murray Mcallister

·

Published

2013-08-17

·

Updated

2025-11-07

·

CVE-2013-4238

CVSS v2.0

4.3

Medium

VectorAV:N/AC:M/Au:N/C:N/I:P/A:N
Name of the Vulnerable Software and Affected Versions Python versions 2.6 through 3.4
Description The issue arises from the ssl.match hostname function in the SSL module, which fails to properly handle a '0' character in a domain name in the Subject Alternative Name field of an X.509 certificate. This allows man-in-the-middle attackers to spoof arbitrary SSL servers via a crafted certificate issued by a legitimate Certification Authority.
Recommendations For Python versions 2.6 through 3.4, consider updating to a version where this issue is resolved, as the current version is affected by this issue. At the moment, there is no information about a newer version that contains a fix for this vulnerability.

Exploit

RCE

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CESA-2013_1582
CVE-2013-4238
DLA-25-1
DSA-2880-1
MGASA-2013-0250
MGASA-2013-0252
OPENSUSE-SU-2020:0086-1
OPENSUSE-SU-2020_0086-1
OPENSUSE-SU-2024:10100-1
OPENSUSE-SU-2024:10426-1
OPENSUSE-SU-2024:10450-1
OPENSUSE-SU-2024:10536-1
OPENSUSE-SU-2024:11283-1
OPENSUSE-SU-2024:11284-1
OPENSUSE-SU-2024:11285-1
OPENSUSE-SU-2024:11286-1
OPENSUSE-SU-2024:12089-1
OPENSUSE-SU-2024:12910-1
OPENSUSE-SU-2024:14109-1
OPENSUSE-SU-2024:14434-1
OPENSUSE-SU-2025:15713-1
PSF-2013-2
RHSA-2013:1527
RHSA-2013:1582
RHSA-2013_1582
SUSE-FU-2022:0444-1
SUSE-FU-2022:0445-1
SUSE-SU-2013_1618-1
SUSE-SU-2020:0114-1
SUSE-SU-2020:0234-1

Affected Products

Centos
Python
Red Hat
Suse