CVE-2013-7440 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 server...
MediumCVSS 5.9
EPSS 1.9%
- Published
- Updated
- Exploit status
- No public exploit known
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.
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| debian/python2.7(Debian:11) | < 2.7.9-1 | 2.7.9-1 |
| python | <= 2.7.8 | No fix listed |
| python | = 3.0 | No fix listed |
| python | = 3.0.1 | No fix listed |
| python | = 3.1 | No fix listed |
| python | = 3.1.1 | No fix listed |
| python | = 3.1.2 | No fix listed |
| python | = 3.1.3 | No fix listed |
| python | = 3.1.4 | No fix listed |
| python | = 3.1.5 | No fix listed |
| python | = 3.1.2150 | No fix listed |
| python | = 3.2 | No fix listed |
| python | = 3.2-alpha | No fix listed |
| python | = 3.2.0 | No fix listed |
| python | = 3.2.1 | No fix listed |
| python | = 3.2.2 | No fix listed |
| python | = 3.2.3 | No fix listed |
| python | = 3.2.4 | No fix listed |
| python | = 3.2.5 | No fix listed |
| python | = 3.2.6 | No fix listed |
| python | = 3.2.2150 | No fix listed |
| python | = 3.3 | No fix listed |
| python | = 3.3-beta2 | No fix listed |
| python | = 3.3.0 | No fix listed |
| python | = 3.3.1 | No fix listed |
Show 2 more
| Product | Affected versions | Fixed in |
|---|---|---|
| python | = 3.3.1-rc1 | No fix listed |
| python | = 3.3.2 | No fix listed |
References
- security-tracker.debian.org vendor-advisory
- [oss-security] 20150518 CVE request: ssl.match_hostname(): sub string wildcard should not match IDNA prefix mailing-list
- [oss-security] 20150521 Re: CVE request: ssl.match_hostname(): sub string wildcard should not match IDNA prefix mailing-list
- 74707 vdb-entry
- RHSA-2016:1166 vendor-advisory
- bugs.python.org
- bugzilla.redhat.com
- hg.python.org