CVE-2013-7440

5.9 MEDIUM
Published: June 07, 2016 Modified: May 06, 2026
View on NVD

Description

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.

AI Explanation

Get an AI-powered plain-language explanation of this vulnerability and remediation steps.

Login to generate AI explanation

CVSS v3.x Details

0.0 Low Medium High Critical 10.0
Vector String
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N

References to Advisories, Solutions, and Tools

Patch Vendor Advisory Exploit Third Party Advisory
http://seclists.org/oss-sec/2015/q2/483
Source: secalert@redhat.com
http://seclists.org/oss-sec/2015/q2/523
Source: secalert@redhat.com
http://www.securityfocus.com/bid/74707
Source: secalert@redhat.com
https://bugs.python.org/issue17997
Source: secalert@redhat.com
http://seclists.org/oss-sec/2015/q2/483
Source: af854a3a-2127-422b-91ae-364da2661108
http://seclists.org/oss-sec/2015/q2/523
Source: af854a3a-2127-422b-91ae-364da2661108
http://www.securityfocus.com/bid/74707
Source: af854a3a-2127-422b-91ae-364da2661108
https://access.redhat.com/errata/RHSA-2016:1166
Source: af854a3a-2127-422b-91ae-364da2661108
https://bugs.python.org/issue17997
Source: af854a3a-2127-422b-91ae-364da2661108
https://bugzilla.redhat.com/show_bug.cgi?id=1224999
Source: af854a3a-2127-422b-91ae-364da2661108
https://hg.python.org/cpython/rev/10d0edadbcdd
Source: af854a3a-2127-422b-91ae-364da2661108

14 reference(s) from NVD

Quick Stats

CVSS v3 Score
5.9 / 10.0
EPSS (Exploit Probability)
0.4%
58th percentile
Exploitation Status
Not in CISA KEV

Weaknesses (CWE)

Affected Vendors

python