Resource management error in Python - CVE-2012-0845

 

Resource management error in Python - CVE-2012-0845

Published: October 6, 2012 / Updated: August 11, 2020


Vulnerability identifier: #VU43427
CSH Severity: Medium
CVSS v4: 6.9 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N]
CVE-ID: CVE-2012-0845
CWE-ID: CWE-399
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote non-authenticated attacker to perform service disruption.

SimpleXMLRPCServer.py in SimpleXMLRPCServer in Python before 2.6.8, 2.7.x before 2.7.3, 3.x before 3.1.5, and 3.2.x before 3.2.3 allows remote attackers to cause a denial of service (infinite loop and CPU consumption) via an XML-RPC POST request that contains a smaller amount of data than specified by the Content-Length header.


Affected software

Python
Amazon Linux AMI
Gentoo Linux
Fedora
python26
dev-lang/python

How to mitigate CVE-2012-0845

Install update from vendor's website.

python26 - update to 2.6.8-1.el5
dev-lang/python - update to 3.3.2-r1

External References

Related Security Bulletins