CVEfocus › CVE database › CVE-2013-4238

CVE-2013-4238

EPSS 5.3% (higher than 93% of CVEs)Published 2013-08-18Updated 2024-08-06Assigner: redhat

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.

What to do

Fixed builds are available from Red Hat: see the table below for the fixed version per release.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

7Fixed
8Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Red Hat Enterprise Linux 7pythonNot affected
Red Hat Enterprise Linux 7python-debugNot affected
Red Hat Enterprise Linux 7python-develNot affected
Red Hat Enterprise Linux 7python-libsNot affected
Red Hat Enterprise Linux 7python-testNot affected
Red Hat Enterprise Linux 7python-toolsNot affected
Red Hat Enterprise Linux 7tkinterNot affected
Red Hat Enterprise Linux 6pythonFixed0:2.6.6-51.el6RHSA-2013:1582
Red Hat Enterprise Linux 6python-develFixed0:2.6.6-51.el6RHSA-2013:1582
Red Hat Enterprise Linux 6python-libsFixed0:2.6.6-51.el6RHSA-2013:1582
Red Hat Enterprise Linux 6python-testFixed0:2.6.6-51.el6RHSA-2013:1582
Red Hat Enterprise Linux 6python-toolsFixed0:2.6.6-51.el6RHSA-2013:1582
Red Hat Enterprise Linux 6rhev-hypervisor6Fixed0:6.5-20131115.0.3.2.el6_5RHSA-2013:1527
Red Hat Enterprise Linux 6tkinterFixed0:2.6.6-51.el6RHSA-2013:1582
Red Hat Enterprise Linux 5pythonNot affected

What the vendor says

As published in the CVE record by redhat, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.