Vulnerability identifier: #VU40247
Vulnerability risk: Medium
CVSSv4.0: 4.6 [CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N/E:U/U:Green]
CVE-ID:
CWE-ID:
CWE-19
Exploitation vector: Network
Exploit availability: No
Vulnerable software:
Python
Universal components / Libraries /
Scripting languages
Vendor: Python.org
Description
The vulnerability allows a remote non-authenticated attacker to manipulate data.
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.
Mitigation
Install update from vendor's website.
Vulnerable software versions
Python: 3.0 - 3.0.1, 3.1 - 3.1.2150, 3.2 - 3.2.2150, 3.3 - 3.3.2
External links
https://seclists.org/oss-sec/2015/q2/483
https://seclists.org/oss-sec/2015/q2/523
https://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
Can this vulnerability be exploited remotely?
Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.
Is there known malware, which exploits this vulnerability?
No. We are not aware of malware exploiting this vulnerability.