Data Handling in Python - CVE-2013-7440

 

Data Handling in Python - CVE-2013-7440

Published: June 7, 2016 / Updated: August 9, 2020


Vulnerability identifier: #VU40247
CSH Severity: Medium
CVSS v4: 8.2 [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]
CVE-ID: CVE-2013-7440
CWE-ID: CWE-19
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

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.


Affected software

Python
Fedora
python-pymongo
bzr

How to mitigate CVE-2013-7440

Install update from vendor's website.

python-pymongo - addressed in versions 2.5.2-3.el6.1, 2.5.2-3.el7, 2.5.2-4.el7, 2.5.2-8.fc22, 2.5.2-8.fc23, 3.0.3-1.el6, 3.0.3-1.el7, 3.0.3-1.fc21, 3.0.3-1.fc22, 3.0.3-1.fc23
bzr - addressed in versions 2.6.0-7.fc21, 2.6.0-8.fc22

External References

Related Security Bulletins