Read the docs
TI-2013-03709 Aliases CVE-2013-4238GHSA-vp8q-678w-8xq9

The ssl.match_hostname function in the SSL module in Python 2.6 through 3.4 does not…

Priority LOW 28CWE-20Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
— Not recorded in CVSS 2.0
Attack complexity
Medium
Impact type
—
Confidentiality · integrity · availability
None · Partial · None
Fix status
Fixed

Attack profile from CVSS 2.0 · NVD. Fix status from CNA and Red Hat.

Summary

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.

Why it matters now

EPSS 0.05347 92nd percentileScored 2026-11-07
Fix Fixed Red Hat: 2 advisories

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
——all versions—No fix listedCNA
  • — Vendor— Affected all versions Fixed in — No fix listed CNA

CPE configurations NVD · 37

CPEVersionsRoleVendor
cpe:2.3:o:canonical:ubuntu_linux:10.04:-:lts:*:*:*:*:*10.04VulnerableCanonical
cpe:2.3:a:python:python:2.6.1:*:*:*:*:*:*:*2.6.1Vulnerablepython-pillow
cpe:2.3:a:python:python:2.6.2:*:*:*:*:*:*:*2.6.2Vulnerablepython-pillow
cpe:2.3:a:python:python:2.6.3:*:*:*:*:*:*:*2.6.3Vulnerablepython-pillow
cpe:2.3:a:python:python:2.6.4:*:*:*:*:*:*:*2.6.4Vulnerablepython-pillow
cpe:2.3:a:python:python:2.6.5:*:*:*:*:*:*:*2.6.5Vulnerablepython-pillow
cpe:2.3:a:python:python:2.6.6:*:*:*:*:*:*:*2.6.6Vulnerablepython-pillow
cpe:2.3:a:python:python:2.6.7:*:*:*:*:*:*:*2.6.7Vulnerablepython-pillow
cpe:2.3:a:python:python:2.6.8:*:*:*:*:*:*:*2.6.8Vulnerablepython-pillow
cpe:2.3:a:python:python:2.6.2150:*:*:*:*:*:*:*2.6.2150Vulnerablepython-pillow
  • cpe:2.3:o:canonical:ubuntu_linux:10.04:-:lts:*:*:*:*:* Versions 10.04 Vulnerable ·Canonical
  • cpe:2.3:a:python:python:2.6.1:*:*:*:*:*:*:* Versions 2.6.1 Vulnerable ·python-pillow
  • cpe:2.3:a:python:python:2.6.2:*:*:*:*:*:*:* Versions 2.6.2 Vulnerable ·python-pillow
  • cpe:2.3:a:python:python:2.6.3:*:*:*:*:*:*:* Versions 2.6.3 Vulnerable ·python-pillow
  • cpe:2.3:a:python:python:2.6.4:*:*:*:*:*:*:* Versions 2.6.4 Vulnerable ·python-pillow
  • cpe:2.3:a:python:python:2.6.5:*:*:*:*:*:*:* Versions 2.6.5 Vulnerable ·python-pillow
  • cpe:2.3:a:python:python:2.6.6:*:*:*:*:*:*:* Versions 2.6.6 Vulnerable ·python-pillow
  • cpe:2.3:a:python:python:2.6.7:*:*:*:*:*:*:* Versions 2.6.7 Vulnerable ·python-pillow
  • cpe:2.3:a:python:python:2.6.8:*:*:*:*:*:*:* Versions 2.6.8 Vulnerable ·python-pillow
  • cpe:2.3:a:python:python:2.6.2150:*:*:*:*:*:*:* Versions 2.6.2150 Vulnerable ·python-pillow
Show 27 more CPE
CPEVersionsRoleVendor
cpe:2.3:a:python:python:2.6.6150:*:*:*:*:*:*:*2.6.6150Vulnerablepython-pillow
cpe:2.3:a:python:python:2.7.1:*:*:*:*:*:*:*2.7.1Vulnerablepython-pillow
cpe:2.3:a:python:python:2.7.1:rc1:*:*:*:*:*:*2.7.1 rc1Vulnerablepython-pillow
cpe:2.3:a:python:python:2.7.2:rc1:*:*:*:*:*:*2.7.2 rc1Vulnerablepython-pillow
cpe:2.3:a:python:python:2.7.3:*:*:*:*:*:*:*2.7.3Vulnerablepython-pillow
cpe:2.3:a:python:python:2.7.1150:*:*:*:*:*:*:*2.7.1150Vulnerablepython-pillow
cpe:2.3:a:python:python:2.7.1150:*:*:*:*:*:x64:*2.7.1150Vulnerablepython-pillow
cpe:2.3:a:python:python:2.7.2150:*:*:*:*:*:*:*2.7.2150Vulnerablepython-pillow
cpe:2.3:a:python:python:3.0:*:*:*:*:*:*:*3.0Vulnerablepython-pillow
cpe:2.3:a:python:python:3.0.1:*:*:*:*:*:*:*3.0.1Vulnerablepython-pillow
cpe:2.3:a:python:python:3.1:*:*:*:*:*:*:*3.1Vulnerablepython-pillow
cpe:2.3:a:python:python:3.1.1:*:*:*:*:*:*:*3.1.1Vulnerablepython-pillow
cpe:2.3:a:python:python:3.1.2:*:*:*:*:*:*:*3.1.2Vulnerablepython-pillow
cpe:2.3:a:python:python:3.1.3:*:*:*:*:*:*:*3.1.3Vulnerablepython-pillow
cpe:2.3:a:python:python:3.1.4:*:*:*:*:*:*:*3.1.4Vulnerablepython-pillow
cpe:2.3:a:python:python:3.1.5:*:*:*:*:*:*:*3.1.5Vulnerablepython-pillow
cpe:2.3:a:python:python:3.1.2150:*:*:*:*:*:x64:*3.1.2150Vulnerablepython-pillow
cpe:2.3:a:python:python:3.2:*:*:*:*:*:*:*3.2Vulnerablepython-pillow
cpe:2.3:a:python:python:3.2:alpha:*:*:*:*:*:*3.2 alphaVulnerablepython-pillow
cpe:2.3:a:python:python:3.2.3:*:*:*:*:*:*:*3.2.3Vulnerablepython-pillow
cpe:2.3:a:python:python:3.2.2150:*:*:*:*:*:*:*3.2.2150Vulnerablepython-pillow
cpe:2.3:a:python:python:3.3:*:*:*:*:*:*:*3.3Vulnerablepython-pillow
cpe:2.3:a:python:python:3.3:beta2:*:*:*:*:*:*3.3 beta2Vulnerablepython-pillow
cpe:2.3:a:python:python:3.4:alpha1:*:*:*:*:*:*3.4 alpha1Vulnerablepython-pillow
cpe:2.3:o:opensuse:opensuse:11.4:*:*:*:*:*:*:*11.4VulnerableopenSUSE
cpe:2.3:o:opensuse:opensuse:12.2:*:*:*:*:*:*:*12.2VulnerableopenSUSE
cpe:2.3:o:opensuse:opensuse:12.3:*:*:*:*:*:*:*12.3VulnerableopenSUSE
  • cpe:2.3:a:python:python:2.6.6150:*:*:*:*:*:*:* Versions 2.6.6150 Vulnerable ·python-pillow
  • cpe:2.3:a:python:python:2.7.1:*:*:*:*:*:*:* Versions 2.7.1 Vulnerable ·python-pillow
  • cpe:2.3:a:python:python:2.7.1:rc1:*:*:*:*:*:* Versions 2.7.1 rc1 Vulnerable ·python-pillow
  • cpe:2.3:a:python:python:2.7.2:rc1:*:*:*:*:*:* Versions 2.7.2 rc1 Vulnerable ·python-pillow
  • cpe:2.3:a:python:python:2.7.3:*:*:*:*:*:*:* Versions 2.7.3 Vulnerable ·python-pillow
  • cpe:2.3:a:python:python:2.7.1150:*:*:*:*:*:*:* Versions 2.7.1150 Vulnerable ·python-pillow
  • cpe:2.3:a:python:python:2.7.1150:*:*:*:*:*:x64:* Versions 2.7.1150 Vulnerable ·python-pillow
  • cpe:2.3:a:python:python:2.7.2150:*:*:*:*:*:*:* Versions 2.7.2150 Vulnerable ·python-pillow
  • cpe:2.3:a:python:python:3.0:*:*:*:*:*:*:* Versions 3.0 Vulnerable ·python-pillow
  • cpe:2.3:a:python:python:3.0.1:*:*:*:*:*:*:* Versions 3.0.1 Vulnerable ·python-pillow
  • cpe:2.3:a:python:python:3.1:*:*:*:*:*:*:* Versions 3.1 Vulnerable ·python-pillow
  • cpe:2.3:a:python:python:3.1.1:*:*:*:*:*:*:* Versions 3.1.1 Vulnerable ·python-pillow
  • cpe:2.3:a:python:python:3.1.2:*:*:*:*:*:*:* Versions 3.1.2 Vulnerable ·python-pillow
  • cpe:2.3:a:python:python:3.1.3:*:*:*:*:*:*:* Versions 3.1.3 Vulnerable ·python-pillow
  • cpe:2.3:a:python:python:3.1.4:*:*:*:*:*:*:* Versions 3.1.4 Vulnerable ·python-pillow
  • cpe:2.3:a:python:python:3.1.5:*:*:*:*:*:*:* Versions 3.1.5 Vulnerable ·python-pillow
  • cpe:2.3:a:python:python:3.1.2150:*:*:*:*:*:x64:* Versions 3.1.2150 Vulnerable ·python-pillow
  • cpe:2.3:a:python:python:3.2:*:*:*:*:*:*:* Versions 3.2 Vulnerable ·python-pillow
  • cpe:2.3:a:python:python:3.2:alpha:*:*:*:*:*:* Versions 3.2 alpha Vulnerable ·python-pillow
  • cpe:2.3:a:python:python:3.2.3:*:*:*:*:*:*:* Versions 3.2.3 Vulnerable ·python-pillow
  • cpe:2.3:a:python:python:3.2.2150:*:*:*:*:*:*:* Versions 3.2.2150 Vulnerable ·python-pillow
  • cpe:2.3:a:python:python:3.3:*:*:*:*:*:*:* Versions 3.3 Vulnerable ·python-pillow
  • cpe:2.3:a:python:python:3.3:beta2:*:*:*:*:*:* Versions 3.3 beta2 Vulnerable ·python-pillow
  • cpe:2.3:a:python:python:3.4:alpha1:*:*:*:*:*:* Versions 3.4 alpha1 Vulnerable ·python-pillow
  • cpe:2.3:o:opensuse:opensuse:11.4:*:*:*:*:*:*:* Versions 11.4 Vulnerable ·openSUSE
  • cpe:2.3:o:opensuse:opensuse:12.2:*:*:*:*:*:*:* Versions 12.2 Vulnerable ·openSUSE
  • cpe:2.3:o:opensuse:opensuse:12.3:*:*:*:*:*:*:* Versions 12.3 Vulnerable ·openSUSE

Remediation

Red Hat 2 advisories

  • RHSA-2013:1527 Released 2013-11-21 · Red Hat rating Important
    rhev-hypervisor6 security and bug fix update
    • RHEV Hypervisor for RHEL-6 rhev-hypervisor6-6.5-20131115.0.3.2.el6_5
  • RHSA-2013:1582 Released 2013-11-20 · Red Hat rating Moderate
    python security, bug fix, and enhancement update
    • Red Hat Enterprise Linux Desktop (v. 6) python-2.6.6-51.el6, python-libs-2.6.6-51.el6, tkinter-2.6.6-51.el6
    • Red Hat Enterprise Linux Desktop Optional (v. 6) python-2.6.6-51.el6, python-devel-2.6.6-51.el6, python-test-2.6.6-51.el6 +1
    • Red Hat Enterprise Linux HPC Node (v. 6) python-2.6.6-51.el6, python-devel-2.6.6-51.el6, python-libs-2.6.6-51.el6
    • Red Hat Enterprise Linux HPC Node Optional (v. 6) python-2.6.6-51.el6, python-test-2.6.6-51.el6, python-tools-2.6.6-51.el6 +1
    • Red Hat Enterprise Linux Server (v. 6) python-2.6.6-51.el6, python-devel-2.6.6-51.el6, python-libs-2.6.6-51.el6 +1
    • Red Hat Enterprise Linux Server Optional (v. 6) python-2.6.6-51.el6, python-test-2.6.6-51.el6, python-tools-2.6.6-51.el6 +1
    • Red Hat Enterprise Linux Workstation (v. 6) python-2.6.6-51.el6, python-devel-2.6.6-51.el6, python-libs-2.6.6-51.el6 +1
    • Red Hat Enterprise Linux Workstation Optional (v. 6) python-2.6.6-51.el6, python-test-2.6.6-51.el6, python-tools-2.6.6-51.el6

Vendor assessments

Red Hat

Red Hat rating: Moderate. Red Hat's page for this CVE →

ProductStatusPlan or fix
RHEV Hypervisor for RHEL-6Fixed RHSA-2013:1527
Red Hat Enterprise Linux Desktop (v. 6)Fixed RHSA-2013:1582
Red Hat Enterprise Linux Desktop Optional (v. 6)Fixed RHSA-2013:1582
Red Hat Enterprise Linux HPC Node (v. 6)Fixed RHSA-2013:1582
Red Hat Enterprise Linux HPC Node Optional (v. 6)Fixed RHSA-2013:1582
Red Hat Enterprise Linux Server (v. 6)Fixed RHSA-2013:1582
Red Hat Enterprise Linux Server Optional (v. 6)Fixed RHSA-2013:1582
Red Hat Enterprise Linux Workstation (v. 6)Fixed RHSA-2013:1582
Red Hat Enterprise Linux Workstation Optional (v. 6)Fixed RHSA-2013:1582
Not affected: 3 products
  • Red Hat Enterprise Linux 5
  • Red Hat Enterprise Linux 7
  • Red Hat Software Collections

Timeline

  1. 2026-10-02 Threatist record created from CVE-2013-4238
  2. 2026-10-03 Alias added: GHSA-vp8q-678w-8xq9

References

Sources