Data Handling in Python



| Updated: 2020-08-09
Risk Medium
Patch available YES
Number of vulnerabilities 1
CVE-ID CVE-2013-7440
CWE-ID CWE-19
Exploitation vector Network
Public exploit N/A
Vulnerable software
Python
Universal components / Libraries / Scripting languages

Vendor Python.org

Security Bulletin

This security bulletin contains one medium risk vulnerability.

1) Data Handling

EUVDB-ID: #VU40247

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: CVE-2013-7440

CWE-ID: CWE-19 - Data Handling

Exploit availability: No

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.3.2

CPE2.3 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


Q & A

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.



###SIDEBAR###