CVE-2013-7440

medium

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.

References

http://seclists.org/oss-sec/2015/q2/483

http://seclists.org/oss-sec/2015/q2/523

http://www.securityfocus.com/bid/74707

https://access.redhat.com/errata/RHSA-2016:1166

https://bugs.python.org/issue17997

https://bugzilla.redhat.com/show_bug.cgi?id=1224999

https://hg.python.org/cpython/rev/10d0edadbcdd

Details

Source: MITRE

Published: 2016-06-07

Updated: 2016-11-28

Type: CWE-19

Risk Information

CVSS v2

Base Score: 4.3

Vector: AV:N/AC:M/Au:N/C:N/I:P/A:N

Impact Score: 2.9

Exploitability Score: 8.6

Severity: MEDIUM

CVSS v3

Base Score: 5.9

Vector: CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N

Impact Score: 3.6

Exploitability Score: 2.2

Severity: MEDIUM