Security mailing lists by PureSourceCode

CVE-2013-7440

MEDIUM 5.9CVSS 3.0

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.

Published
7 Jun 2016
Last modified
17 Jun 2026
Assigned by
secalert@redhat.com
NVD status
Modified
Weakness
CWE-19
Sources
NVDJSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.0 MEDIUM 5.9 CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N
NVD nvd@nist.gov (Primary) CVSS 2.0 MEDIUM 4.3 AV:N/AC:M/Au:N/C:N/I:P/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD python python
cpe:2.3:a:python:python:*:*:*:*:*:*:*:*
<= 2.7.8
NVD python python
cpe:2.3:a:python:python:3.0:*:*:*:*:*:*:*
= 3.0
NVD python python
cpe:2.3:a:python:python:3.0.1:*:*:*:*:*:*:*
= 3.0.1
NVD python python
cpe:2.3:a:python:python:3.1:*:*:*:*:*:*:*
= 3.1
NVD python python
cpe:2.3:a:python:python:3.1.1:*:*:*:*:*:*:*
= 3.1.1
NVD python python
cpe:2.3:a:python:python:3.1.2:*:*:*:*:*:*:*
= 3.1.2
NVD python python
cpe:2.3:a:python:python:3.1.3:*:*:*:*:*:*:*
= 3.1.3
NVD python python
cpe:2.3:a:python:python:3.1.4:*:*:*:*:*:*:*
= 3.1.4
NVD python python
cpe:2.3:a:python:python:3.1.5:*:*:*:*:*:*:*
= 3.1.5
NVD python python
cpe:2.3:a:python:python:3.1.2150:*:*:*:*:*:x64:*
= 3.1.2150
NVD python python
cpe:2.3:a:python:python:3.2:*:*:*:*:*:*:*
= 3.2
NVD python python
cpe:2.3:a:python:python:3.2:alpha:*:*:*:*:*:*
= 3.2
NVD python python
cpe:2.3:a:python:python:3.2.0:*:*:*:*:*:*:*
= 3.2.0
NVD python python
cpe:2.3:a:python:python:3.2.1:*:*:*:*:*:*:*
= 3.2.1
NVD python python
cpe:2.3:a:python:python:3.2.2:*:*:*:*:*:*:*
= 3.2.2
NVD python python
cpe:2.3:a:python:python:3.2.3:*:*:*:*:*:*:*
= 3.2.3
NVD python python
cpe:2.3:a:python:python:3.2.4:*:*:*:*:*:*:*
= 3.2.4
NVD python python
cpe:2.3:a:python:python:3.2.5:*:*:*:*:*:*:*
= 3.2.5
NVD python python
cpe:2.3:a:python:python:3.2.6:*:*:*:*:*:*:*
= 3.2.6
NVD python python
cpe:2.3:a:python:python:3.2.2150:*:*:*:*:*:*:*
= 3.2.2150
NVD python python
cpe:2.3:a:python:python:3.3:*:*:*:*:*:*:*
= 3.3
NVD python python
cpe:2.3:a:python:python:3.3:beta2:*:*:*:*:*:*
= 3.3
NVD python python
cpe:2.3:a:python:python:3.3.0:*:*:*:*:*:*:*
= 3.3.0
NVD python python
cpe:2.3:a:python:python:3.3.1:*:*:*:*:*:*:*
= 3.3.1
NVD python python
cpe:2.3:a:python:python:3.3.1:rc1:*:*:*:*:*:*
= 3.3.1
NVD python python
cpe:2.3:a:python:python:3.3.2:*:*:*:*:*:*:*
= 3.3.2

References

History

  • 25 Nov 2026 20:19 UTC ยท NVD: first stored (published 7 Jun 2016)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.