python: hostname check bypassing vulnerability in SSL module
Published Aug 18, 2013
4.3
MEDIUMCVSS 2.0
EPSS 5.35%
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.
Affected products
No data.
Configuration 1
- 10.04
Configuration 2
- 2.6.1
- 2.6.2
- 2.6.3
- 2.6.4
- 2.6.5
- 2.6.6
- 2.6.7
- 2.6.8
- 2.6.2150
- 2.6.6150
- 2.7.1
- 2.7.1
- 2.7.2
- 2.7.3
- 2.7.1150
- 2.7.1150
- 2.7.2150
- 3.0
- 3.0.1
- 3.1
- 3.1.1
- 3.1.2
- 3.1.3
- 3.1.4
- 3.1.5
- 3.1.2150
- 3.2
- 3.2
- 3.2.3
- 3.2.2150
- 3.3
- 3.3
- 3.4
No data.
RHEV 3.X Hypervisor and Agents for RHEL-6
rhev-hypervisor6-0:6.5-20131115.0.3.2.el6_5
Fixed · RHSA-2013:1527
Red Hat Enterprise Linux 6
python-0:2.6.6-51.el6
Fixed · RHSA-2013:1582
Red Hat Enterprise Linux 5
python
Not affected
Red Hat Enterprise Linux 7
python
Not affected
Red Hat Software Collections
python27-python
Not affected
Red Hat Software Collections
python33-python
Not affected
| Product | Package | State | Advisory |
|---|---|---|---|
| RHEV 3.X Hypervisor and Agents for RHEL-6 | rhev-hypervisor6-0:6.5-20131115.0.3.2.el6_5 | Fixed | RHSA-2013:1527 |
| Red Hat Enterprise Linux 6 | python-0:2.6.6-51.el6 | Fixed | RHSA-2013:1582 |
| Red Hat Enterprise Linux 5 | python | Not affected | n/a |
| Red Hat Enterprise Linux 7 | python | Not affected | n/a |
| Red Hat Software Collections | python27-python | Not affected | n/a |
| Red Hat Software Collections | python33-python | Not affected | n/a |
No package ranges for this CVE.
Remediation
Red Hat statement
This issue does not affect the version of python as shipped with Red Hat Enterprise Linux 5. The Red Hat Security Response Team has rated this issue as having moderate security impact, a future update may address this flaw.
Metrics
No CVSS v4.0 score for this CVE.
No CVSS v3.1 score for this CVE.
No CVSS v3.0 score for this CVE.
AV:N/AC:M/Au:N/C:N/I:P/A:N
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 1, 2026.
Score over time
2022–2026- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Percentile over time
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Table of values (15 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 5.35% (0.05347) | 92.38th | v5 (v2026.06.15) |
| Jun 15, 2026 | 5.35% (0.05347) | 91.56th | v5 (v2026.06.15) |
| Apr 17, 2026 | 1.38% (0.01382) | 80.33th | v4 (v2025.03.14) |
| Feb 20, 2026 | 2.89% (0.02891) | 86.04th | v4 (v2025.03.14) |
| Dec 7, 2025 | 4.27% (0.04274) | 88.40th | v4 (v2025.03.14) |
| Nov 18, 2025 | 2.66% (0.02661) | 84.47th | v4 (v2025.03.14) |
| Mar 30, 2025 | 3.79% (0.03786) | 87.00th | v4 (v2025.03.14) |
| Mar 29, 2025 | 12.66% (0.12663) | 89.94th | v4 (v2025.03.14) |
| Mar 17, 2025 | 3.79% (0.03786) | 87.29th | v4 (v2025.03.14) |
| Dec 12, 2024 | 0.20% (0.00198) | 58.65th | v3 (v2023.03.01) |
| Mar 30, 2023 | 0.20% (0.00198) | 56.10th | v3 (v2023.03.01) |
| Mar 7, 2023 | 0.19% (0.00192) | 55.02th | v3 (v2023.03.01) |
| Mar 6, 2023 | 2.69% (0.02686) | 82.85th | v2 (v2022.01.01) |
| Apr 1, 2022 | 2.69% (0.02686) | 81.17th | v2 (v2022.01.01) |
| Feb 4, 2022 | 2.69% (0.02686) | 62.66th | v2 (v2022.01.01) |
References (18)
- http://bugs.python.org/issue18709 x_refsource_CONFIRMPatch
- http://lists.opensuse.org/opensuse-security-announce/2020-01/msg00040.html vendor-advisoryx_refsource_SUSE
- http://lists.opensuse.org/opensuse-updates/2013-09/msg00026.html vendor-advisoryx_refsource_SUSEVendor Advisory
- http://lists.opensuse.org/opensuse-updates/2013-09/msg00027.html vendor-advisoryx_refsource_SUSEVendor Advisory
- http://lists.opensuse.org/opensuse-updates/2013-09/msg00028.html vendor-advisoryx_refsource_SUSEVendor Advisory
- http://lists.opensuse.org/opensuse-updates/2013-09/msg00029.html vendor-advisoryx_refsource_SUSEVendor Advisory
- http://lists.opensuse.org/opensuse-updates/2013-09/msg00042.html vendor-advisoryx_refsource_SUSEVendor Advisory
- http://lists.opensuse.org/opensuse-updates/2013-09/msg00043.html vendor-advisoryx_refsource_SUSEVendor Advisory
- http://rhn.redhat.com/errata/RHSA-2013-1582.html vendor-advisoryx_refsource_REDHAT
- http://seclists.org/fulldisclosure/2014/Dec/23 mailing-listx_refsource_FULLDISC
- http://www.debian.org/security/2014/dsa-2880 vendor-advisoryx_refsource_DEBIAN
- http://www.securityfocus.com/archive/1/534161/100/0/threaded mailing-listx_refsource_BUGTRAQ
- http://www.ubuntu.com/usn/USN-1982-1 vendor-advisoryx_refsource_UBUNTUVendor Advisory
- http://www.vmware.com/security/advisories/VMSA-2014-0012.html x_refsource_CONFIRM
- https://access.redhat.com/security/cve/CVE-2013-4238 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=996381 x_refsource_CONFIRMPatchIssue Tracking
- https://nvd.nist.gov/vuln/detail/CVE-2013-4238
- https://www.cve.org/CVERecord?id=CVE-2013-4238
Change history (0)
No recorded changes yet.