CVE-2013-7440
MEDIUM 5.9CVSS 3.0The 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
| Source | Scored by | Version | Score | Vector / 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
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | python | pythoncpe:2.3:a:python:python:*:*:*:*:*:*:*:* |
<= 2.7.8 | |
| NVD | python | pythoncpe:2.3:a:python:python:3.0:*:*:*:*:*:*:* |
= 3.0 | |
| NVD | python | pythoncpe:2.3:a:python:python:3.0.1:*:*:*:*:*:*:* |
= 3.0.1 | |
| NVD | python | pythoncpe:2.3:a:python:python:3.1:*:*:*:*:*:*:* |
= 3.1 | |
| NVD | python | pythoncpe:2.3:a:python:python:3.1.1:*:*:*:*:*:*:* |
= 3.1.1 | |
| NVD | python | pythoncpe:2.3:a:python:python:3.1.2:*:*:*:*:*:*:* |
= 3.1.2 | |
| NVD | python | pythoncpe:2.3:a:python:python:3.1.3:*:*:*:*:*:*:* |
= 3.1.3 | |
| NVD | python | pythoncpe:2.3:a:python:python:3.1.4:*:*:*:*:*:*:* |
= 3.1.4 | |
| NVD | python | pythoncpe:2.3:a:python:python:3.1.5:*:*:*:*:*:*:* |
= 3.1.5 | |
| NVD | python | pythoncpe:2.3:a:python:python:3.1.2150:*:*:*:*:*:x64:* |
= 3.1.2150 | |
| NVD | python | pythoncpe:2.3:a:python:python:3.2:*:*:*:*:*:*:* |
= 3.2 | |
| NVD | python | pythoncpe:2.3:a:python:python:3.2:alpha:*:*:*:*:*:* |
= 3.2 | |
| NVD | python | pythoncpe:2.3:a:python:python:3.2.0:*:*:*:*:*:*:* |
= 3.2.0 | |
| NVD | python | pythoncpe:2.3:a:python:python:3.2.1:*:*:*:*:*:*:* |
= 3.2.1 | |
| NVD | python | pythoncpe:2.3:a:python:python:3.2.2:*:*:*:*:*:*:* |
= 3.2.2 | |
| NVD | python | pythoncpe:2.3:a:python:python:3.2.3:*:*:*:*:*:*:* |
= 3.2.3 | |
| NVD | python | pythoncpe:2.3:a:python:python:3.2.4:*:*:*:*:*:*:* |
= 3.2.4 | |
| NVD | python | pythoncpe:2.3:a:python:python:3.2.5:*:*:*:*:*:*:* |
= 3.2.5 | |
| NVD | python | pythoncpe:2.3:a:python:python:3.2.6:*:*:*:*:*:*:* |
= 3.2.6 | |
| NVD | python | pythoncpe:2.3:a:python:python:3.2.2150:*:*:*:*:*:*:* |
= 3.2.2150 | |
| NVD | python | pythoncpe:2.3:a:python:python:3.3:*:*:*:*:*:*:* |
= 3.3 | |
| NVD | python | pythoncpe:2.3:a:python:python:3.3:beta2:*:*:*:*:*:* |
= 3.3 | |
| NVD | python | pythoncpe:2.3:a:python:python:3.3.0:*:*:*:*:*:*:* |
= 3.3.0 | |
| NVD | python | pythoncpe:2.3:a:python:python:3.3.1:*:*:*:*:*:*:* |
= 3.3.1 | |
| NVD | python | pythoncpe:2.3:a:python:python:3.3.1:rc1:*:*:*:*:*:* |
= 3.3.1 | |
| NVD | python | pythoncpe:2.3:a:python:python:3.3.2:*:*:*:*:*:*:* |
= 3.3.2 |
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
History
- 25 Nov 2026 20:19 UTC ยท NVD: first stored (published 7 Jun 2016)