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
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
bzr - addressed in versions 2.6.0-7.fc21, 2.6.0-8.fc22
External 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
Related Security Bulletins
- Data Handling in Python
- Fedora 22 update for bzr
- Fedora 21 update for bzr
- Fedora 21 update for python-pymongo
- Fedora 23 update for python-pymongo
- Fedora EPEL 6 update for python-pymongo
- Fedora EPEL 7 update for python-pymongo
- Fedora 22 update for python-pymongo
- Fedora 23 update for python-pymongo
- Fedora 22 update for python-pymongo
- Fedora EPEL 7 update for python-pymongo
- Fedora EPEL 7 update for python-pymongo
- Fedora EPEL 6 update for python-pymongo