// For flags

CVE-2013-7440

python: wildcard matching rules do not follow RFC 6125

Severity Score

5.9
*CVSS v3

Exploit Likelihood

*EPSS

Affected Versions

*CPE

Public Exploits

0
*Multiple Sources

Exploited in Wild

-
*KEV

Decision

-
*SSVC
Descriptions

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.

La función ssl.match_hostname en CPython (también concida como Python) en versiones anteriores a 2.7.9 y 3.x en versiones anteriores a 3.3.3 no maneja correctamente comodines en los nombres de host, lo que podría permitir a atacantes man-in-the-middle suplantar servidores a través de un certificado manipulado.

Multiple flaws were found in the way Python's SSL module performed matching of certificate names containing wildcards. A remote attacker able to obtain a valid certificate that contained certain names with wildcards could have them incorrectly accepted by Python SSL clients, not following the RFC 6125 recommendations.

*Credits: N/A
CVSS Scores
Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
High
Availability
None
Attack Vector
Network
Attack Complexity
Medium
Authentication
None
Confidentiality
None
Integrity
Partial
Availability
None
Attack Vector
Network
Attack Complexity
High
Authentication
None
Confidentiality
Partial
Integrity
Partial
Availability
None
* Common Vulnerability Scoring System
SSVC
  • Decision:-
Exploitation
-
Automatable
-
Tech. Impact
-
* Organization's Worst-case Scenario
Timeline
  • 2015-05-19 CVE Reserved
  • 2016-05-31 CVE Published
  • 2023-03-08 EPSS Updated
  • 2024-08-06 CVE Updated
  • ---------- Exploited in Wild
  • ---------- KEV Due Date
  • ---------- First Exploit
CWE
  • CWE-19: Data Processing Errors
CAPEC
Affected Vendors, Products, and Versions
Vendor Product Version Other Status
Vendor Product Version Other Status <-- --> Vendor Product Version Other Status
Python
Search vendor "Python"
Python
Search vendor "Python" for product "Python"
<= 2.7.8
Search vendor "Python" for product "Python" and version " <= 2.7.8"
-
Affected
Python
Search vendor "Python"
Python
Search vendor "Python" for product "Python"
3.0
Search vendor "Python" for product "Python" and version "3.0"
-
Affected
Python
Search vendor "Python"
Python
Search vendor "Python" for product "Python"
3.0.1
Search vendor "Python" for product "Python" and version "3.0.1"
-
Affected
Python
Search vendor "Python"
Python
Search vendor "Python" for product "Python"
3.1
Search vendor "Python" for product "Python" and version "3.1"
-
Affected
Python
Search vendor "Python"
Python
Search vendor "Python" for product "Python"
3.1.1
Search vendor "Python" for product "Python" and version "3.1.1"
-
Affected
Python
Search vendor "Python"
Python
Search vendor "Python" for product "Python"
3.1.2
Search vendor "Python" for product "Python" and version "3.1.2"
-
Affected
Python
Search vendor "Python"
Python
Search vendor "Python" for product "Python"
3.1.3
Search vendor "Python" for product "Python" and version "3.1.3"
-
Affected
Python
Search vendor "Python"
Python
Search vendor "Python" for product "Python"
3.1.4
Search vendor "Python" for product "Python" and version "3.1.4"
-
Affected
Python
Search vendor "Python"
Python
Search vendor "Python" for product "Python"
3.1.5
Search vendor "Python" for product "Python" and version "3.1.5"
-
Affected
Python
Search vendor "Python"
Python
Search vendor "Python" for product "Python"
3.1.2150
Search vendor "Python" for product "Python" and version "3.1.2150"
x64
Affected
Python
Search vendor "Python"
Python
Search vendor "Python" for product "Python"
3.2
Search vendor "Python" for product "Python" and version "3.2"
-
Affected
Python
Search vendor "Python"
Python
Search vendor "Python" for product "Python"
3.2
Search vendor "Python" for product "Python" and version "3.2"
alpha
Affected
Python
Search vendor "Python"
Python
Search vendor "Python" for product "Python"
3.2.0
Search vendor "Python" for product "Python" and version "3.2.0"
-
Affected
Python
Search vendor "Python"
Python
Search vendor "Python" for product "Python"
3.2.1
Search vendor "Python" for product "Python" and version "3.2.1"
-
Affected
Python
Search vendor "Python"
Python
Search vendor "Python" for product "Python"
3.2.2
Search vendor "Python" for product "Python" and version "3.2.2"
-
Affected
Python
Search vendor "Python"
Python
Search vendor "Python" for product "Python"
3.2.3
Search vendor "Python" for product "Python" and version "3.2.3"
-
Affected
Python
Search vendor "Python"
Python
Search vendor "Python" for product "Python"
3.2.4
Search vendor "Python" for product "Python" and version "3.2.4"
-
Affected
Python
Search vendor "Python"
Python
Search vendor "Python" for product "Python"
3.2.5
Search vendor "Python" for product "Python" and version "3.2.5"
-
Affected
Python
Search vendor "Python"
Python
Search vendor "Python" for product "Python"
3.2.6
Search vendor "Python" for product "Python" and version "3.2.6"
-
Affected
Python
Search vendor "Python"
Python
Search vendor "Python" for product "Python"
3.2.2150
Search vendor "Python" for product "Python" and version "3.2.2150"
-
Affected
Python
Search vendor "Python"
Python
Search vendor "Python" for product "Python"
3.3
Search vendor "Python" for product "Python" and version "3.3"
-
Affected
Python
Search vendor "Python"
Python
Search vendor "Python" for product "Python"
3.3
Search vendor "Python" for product "Python" and version "3.3"
beta2
Affected
Python
Search vendor "Python"
Python
Search vendor "Python" for product "Python"
3.3.0
Search vendor "Python" for product "Python" and version "3.3.0"
-
Affected
Python
Search vendor "Python"
Python
Search vendor "Python" for product "Python"
3.3.1
Search vendor "Python" for product "Python" and version "3.3.1"
-
Affected
Python
Search vendor "Python"
Python
Search vendor "Python" for product "Python"
3.3.1
Search vendor "Python" for product "Python" and version "3.3.1"
rc1
Affected
Python
Search vendor "Python"
Python
Search vendor "Python" for product "Python"
3.3.2
Search vendor "Python" for product "Python" and version "3.3.2"
-
Affected