CVE-2013-4238

medium
Published 2013-08-18 ยท Modified 2026-04-29
CVSS v3
โ€”
CVSS v4 NEW
โ€”
not yet in upstream
VIR risk
4.3

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.

Predictions

Exploit likelihood
20%
Patch ETA
โ€”

Heuristic predictions, AS-IS, for prioritization only.

Mitigations

No mitigations published for this CVE yet.

The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or โ€” if you've already worked around this in production โ€” publish your fix to the community-verified tier.

โœš Propose a mitigation on Community โ†’ Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here with source_tier=community-verified.

OS impact

suse SUSE Affected 4 releases
VersionStatusFixed in
12.3 Affected โ€”
12.2 Affected โ€”
11.4 Affected โ€”
โ€” Affected โ€”
ubuntu Ubuntu Affected 1 release
VersionStatusFixed in
10.04 Affected โ€”
debian Debian Fixed 1 release
VersionStatusFixed in
bullseye Fixed 2.7.5-8

Application impact

VendorProductVersionsFixed
python pythonpython2.6.1
python pythonpython2.6.2
python pythonpython2.6.3
python pythonpython2.6.4
python pythonpython2.6.5
python pythonpython2.6.6
python pythonpython2.6.7
python pythonpython2.6.8
python pythonpython2.6.2150
python pythonpython2.6.6150
python pythonpython2.7.1
python pythonpython2.7.2
python pythonpython2.7.3
python pythonpython2.7.1150
python pythonpython2.7.2150
python pythonpython3.0
python pythonpython3.0.1
python pythonpython3.1
python pythonpython3.1.1
python pythonpython3.1.2
python pythonpython3.1.3
python pythonpython3.1.4
python pythonpython3.1.5
python pythonpython3.1.2150
python pythonpython3.2
python pythonpython3.2.3
python pythonpython3.2.2150
python pythonpython3.3
python pythonpython3.4

References

CWEs

CWE-20

Community-verified mitigations for this CVE will appear above when contributors publish them.

Verify integrity in audit chain (admin only). AS-IS.