CVE-2012-0845 Denial of service in n/a
Remote attackers can cause denial of service in Python's SimpleXMLRPCServer by sending malformed XML-RPC requests with mismatched Content-Length headers.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2012-0845?
CVE-2012-0845 is a medium-severity denial of service vulnerability in Python Python, published on 5 Oct 2012. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
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.
Weakness: CWE-399
Which versions are affected by CVE-2012-0845?
It affects 1 product.
Products include Python Python.
How do I fix CVE-2012-0845?
Upgrade to a fixed version.
Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.
Is CVE-2012-0845 being exploited?
There is no known exploitation of CVE-2012-0845 in the wild and no public exploit code.
Other vulnerabilities in Python Python
Sources
Also known as AZL-109593, DEBIAN-CVE-2012-0845, GHSA-68xj-hf27-5jvq, PSF-2012-3.