The ssl.match_hostname function in the SSL module in Python 2.6 through 3.4 does not…
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
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | — | all versions | — | No fix listed | CNA |
- — Vendor— Affected all versions Fixed in — No fix listed CNA
CPE configurations NVD · 37
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:o:canonical:ubuntu_linux:10.04:-:lts:*:*:*:*:* | 10.04 | Vulnerable | Canonical |
| cpe:2.3:a:python:python:2.6.1:*:*:*:*:*:*:* | 2.6.1 | Vulnerable | python-pillow |
| cpe:2.3:a:python:python:2.6.2:*:*:*:*:*:*:* | 2.6.2 | Vulnerable | python-pillow |
| cpe:2.3:a:python:python:2.6.3:*:*:*:*:*:*:* | 2.6.3 | Vulnerable | python-pillow |
| cpe:2.3:a:python:python:2.6.4:*:*:*:*:*:*:* | 2.6.4 | Vulnerable | python-pillow |
| cpe:2.3:a:python:python:2.6.5:*:*:*:*:*:*:* | 2.6.5 | Vulnerable | python-pillow |
| cpe:2.3:a:python:python:2.6.6:*:*:*:*:*:*:* | 2.6.6 | Vulnerable | python-pillow |
| cpe:2.3:a:python:python:2.6.7:*:*:*:*:*:*:* | 2.6.7 | Vulnerable | python-pillow |
| cpe:2.3:a:python:python:2.6.8:*:*:*:*:*:*:* | 2.6.8 | Vulnerable | python-pillow |
| cpe:2.3:a:python:python:2.6.2150:*:*:*:*:*:*:* | 2.6.2150 | Vulnerable | python-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
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:python:python:2.6.6150:*:*:*:*:*:*:* | 2.6.6150 | Vulnerable | python-pillow |
| cpe:2.3:a:python:python:2.7.1:*:*:*:*:*:*:* | 2.7.1 | Vulnerable | python-pillow |
| cpe:2.3:a:python:python:2.7.1:rc1:*:*:*:*:*:* | 2.7.1 rc1 | Vulnerable | python-pillow |
| cpe:2.3:a:python:python:2.7.2:rc1:*:*:*:*:*:* | 2.7.2 rc1 | Vulnerable | python-pillow |
| cpe:2.3:a:python:python:2.7.3:*:*:*:*:*:*:* | 2.7.3 | Vulnerable | python-pillow |
| cpe:2.3:a:python:python:2.7.1150:*:*:*:*:*:*:* | 2.7.1150 | Vulnerable | python-pillow |
| cpe:2.3:a:python:python:2.7.1150:*:*:*:*:*:x64:* | 2.7.1150 | Vulnerable | python-pillow |
| cpe:2.3:a:python:python:2.7.2150:*:*:*:*:*:*:* | 2.7.2150 | Vulnerable | python-pillow |
| cpe:2.3:a:python:python:3.0:*:*:*:*:*:*:* | 3.0 | Vulnerable | python-pillow |
| cpe:2.3:a:python:python:3.0.1:*:*:*:*:*:*:* | 3.0.1 | Vulnerable | python-pillow |
| cpe:2.3:a:python:python:3.1:*:*:*:*:*:*:* | 3.1 | Vulnerable | python-pillow |
| cpe:2.3:a:python:python:3.1.1:*:*:*:*:*:*:* | 3.1.1 | Vulnerable | python-pillow |
| cpe:2.3:a:python:python:3.1.2:*:*:*:*:*:*:* | 3.1.2 | Vulnerable | python-pillow |
| cpe:2.3:a:python:python:3.1.3:*:*:*:*:*:*:* | 3.1.3 | Vulnerable | python-pillow |
| cpe:2.3:a:python:python:3.1.4:*:*:*:*:*:*:* | 3.1.4 | Vulnerable | python-pillow |
| cpe:2.3:a:python:python:3.1.5:*:*:*:*:*:*:* | 3.1.5 | Vulnerable | python-pillow |
| cpe:2.3:a:python:python:3.1.2150:*:*:*:*:*:x64:* | 3.1.2150 | Vulnerable | python-pillow |
| cpe:2.3:a:python:python:3.2:*:*:*:*:*:*:* | 3.2 | Vulnerable | python-pillow |
| cpe:2.3:a:python:python:3.2:alpha:*:*:*:*:*:* | 3.2 alpha | Vulnerable | python-pillow |
| cpe:2.3:a:python:python:3.2.3:*:*:*:*:*:*:* | 3.2.3 | Vulnerable | python-pillow |
| cpe:2.3:a:python:python:3.2.2150:*:*:*:*:*:*:* | 3.2.2150 | Vulnerable | python-pillow |
| cpe:2.3:a:python:python:3.3:*:*:*:*:*:*:* | 3.3 | Vulnerable | python-pillow |
| cpe:2.3:a:python:python:3.3:beta2:*:*:*:*:*:* | 3.3 beta2 | Vulnerable | python-pillow |
| cpe:2.3:a:python:python:3.4:alpha1:*:*:*:*:*:* | 3.4 alpha1 | Vulnerable | python-pillow |
| cpe:2.3:o:opensuse:opensuse:11.4:*:*:*:*:*:*:* | 11.4 | Vulnerable | openSUSE |
| cpe:2.3:o:opensuse:opensuse:12.2:*:*:*:*:*:*:* | 12.2 | Vulnerable | openSUSE |
| cpe:2.3:o:opensuse:opensuse:12.3:*:*:*:*:*:*:* | 12.3 | Vulnerable | openSUSE |
- 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 Importantrhev-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 Moderatepython 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 →
| Product | Status | Plan or fix |
|---|---|---|
| RHEV Hypervisor for RHEL-6 | Fixed | 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
- 2026-10-02 Threatist record created from CVE-2013-4238
- 2026-10-03 Alias added: GHSA-vp8q-678w-8xq9
References
Advisory 10
Sources
- CVE-2013-4238 · CVE Program
- CVE-2013-4238 · NVD
- FIRST EPSS
- GHSA-vp8q-678w-8xq9 · GitHub Advisory Database · CC BY 4.0
- CVE-2013-4238 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences