CPython up to 2.7.8/3.3.2 sslmatch_hostname Hostname data processing
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 5.8 | $0-$5k | 0.00 |
Summary
A vulnerability has been found in CPython up to 2.7.8/3.3.2 and classified as critical. This affects the function sslmatch_hostname. The manipulation of the argument Hostname leads to data processing.
This vulnerability is referenced as CVE-2013-7440. Remote exploitation of the attack is possible. No exploit is available.
The affected component should be upgraded.
Details
A vulnerability was found in CPython up to 2.7.8/3.3.2 (Programming Language Software) and classified as critical. This issue affects the function sslmatch_hostname. The manipulation of the argument hostname with an unknown input leads to a data processing vulnerability. Using CWE to declare the problem leads to CWE-19. Impacted is confidentiality, integrity, and availability. The summary by CVE is:
The ssl.match_hostname function in CPython (aka Python) before 2.7.9 and 3.x before 3.3.3 does not properly handle wildcards in hostnames, which might allow man-in-the-middle attackers to spoof servers via a crafted certificate.
The weakness was published 06/07/2016 by Martin (Website). It is possible to read the advisory at hg.python.org. The identification of this vulnerability is CVE-2013-7440 since 05/19/2015. The attack may be initiated remotely. No form of authentication is needed for a successful exploitation. Technical details of the vulnerability are known, but there is no available exploit.
The vulnerability scanner Nessus provides a plugin with the ID 85420 (Fedora 21 : bzr-2.6.0-7.fc21 (2015-11995)), which helps to determine the existence of the flaw in a target environment. It is assigned to the family Fedora Local Security Checks and running in the context l. The commercial vulnerability scanner Qualys is able to test this issue with plugin 124707 (Fedora Security Update for python-pymongo (FEDORA-2016-52b294538d)).
Upgrading to version 2.7.9 or 3.3.3 eliminates this vulnerability. A possible mitigation has been published before and not just after the disclosure of the vulnerability.
The vulnerability is also documented in the databases at Tenable (85420) and SecurityFocus (BID 74707†). Similar entry is available at VDB-65232. Statistical analysis made it clear that VulDB provides the best quality for vulnerability data.
Product
Type
Name
Version
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔍VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 5.9VulDB Meta Temp Score: 5.8
VulDB Base Score: 5.9
VulDB Temp Score: 5.7
VulDB Vector: 🔍
VulDB Reliability: 🔍
NVD Base Score: 5.9
NVD Vector: 🔍
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍
NVD Base Score: 🔍
Exploiting
Class: Data processingCWE: CWE-19
CAPEC: 🔍
ATT&CK: 🔍
Physical: No
Local: No
Remote: Yes
Availability: 🔍
Status: Not defined
EPSS Score: 🔍
EPSS Percentile: 🔍
Price Prediction: 🔍
Current Price Estimation: 🔍
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Nessus ID: 85420
Nessus Name: Fedora 21 : bzr-2.6.0-7.fc21 (2015-11995)
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Context: 🔍
OpenVAS ID: 855030
OpenVAS Name: Fedora Update for python-pymongo FEDORA-2016-52
OpenVAS File: 🔍
OpenVAS Family: 🔍
Qualys ID: 🔍
Qualys Name: 🔍
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
0-Day Time: 🔍
Upgrade: CPython 2.7.9/3.3.3
Timeline
05/17/2015 🔍05/19/2015 🔍
07/28/2015 🔍
08/17/2015 🔍
06/07/2016 🔍
06/07/2016 🔍
06/08/2016 🔍
08/23/2022 🔍
Sources
Advisory: RHSA-2016:1166Researcher: Martin
Status: Not defined
Confirmation: 🔍
CVE: CVE-2013-7440 (🔍)
GCVE (CVE): GCVE-0-2013-7440
GCVE (VulDB): GCVE-100-87755
SecurityFocus: 74707 - Python 'ssl.match_hostname()' Function Security Bypass Vulnerability
See also: 🔍
Entry
Created: 06/08/2016 10:14Updated: 08/23/2022 08:11
Changes: 06/08/2016 10:14 (64), 01/08/2019 11:06 (15), 08/23/2022 08:11 (4)
Complete: 🔍
Cache ID: 216:901:103
Statistical analysis made it clear that VulDB provides the best quality for vulnerability data.
No comments yet. Languages: en.
Please log in to comment.