Buffer overflow in Python - CVE-2014-1912

 

Buffer overflow in Python - CVE-2014-1912

Published: March 1, 2014 / Updated: July 29, 2020


Vulnerability identifier: #VU32578
CSH Severity: Medium
CVSS v4: 6.9 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N]
CVE-ID: CVE-2014-1912
CWE-ID: CWE-119
Exploitation vector: Remote access
Exploit availability: Public exploit is available

Vulnerability details

The vulnerability allows a remote non-authenticated attacker to read and manipulate data.

Buffer overflow in the socket.recvfrom_into function in Modules/socketmodule.c in Python 2.5 before 2.7.7, 3.x before 3.3.4, and 3.4.x before 3.4rc1 allows remote attackers to execute arbitrary code via a crafted string.


Affected software

Python
Amazon Linux AMI
Gentoo Linux
python (Alpine package)
dev-lang/python

How to mitigate CVE-2014-1912

Install update from vendor's website.

Python - update to 2.7.7
python (Alpine package) - update to 2.7.2-r4
dev-lang/python - update to 3.3.5-r1

Links to Public Exploits and PoC-codes

External References

Related Security Bulletins