---
title: "CVE-2012-0845\n    | Ubuntu"
description: Ubuntu is an open source software operating system that runs from the
  desktop, to the cloud, to all your internet connected things.
url: https://ubuntu.com/security/CVE-2012-0845?format=md
keywords: index, follow
---

# CVE-2012-0845

Publication date 14 February 2012

Last updated 24 July 2024

---

Ubuntu priority

**Low**

[Why this priority?](https://ubuntu.com/security/cves/about#priority )

Toggle side navigation

## 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.

[Read the notes from the security team](https://ubuntu.com/security/CVE-2012-0845?format=md#notes)

## Status

Show unmaintained releases

| Package | Ubuntu Release | Status |
| --- | --- | --- |
| python2.4 | 12.10 quantal | Not in release |
| 12.04 LTS precise | Not in release |
| 11.10 oneiric | Not in release |
| 11.04 natty | Not in release |
| 10.10 maverick | Not in release |
| 10.04 LTS lucid | Not in release |
| 8.04 LTS hardy | Fixed 2.4.5-1ubuntu4.4 |
| python2.5 | 12.10 quantal | Not in release |
| 12.04 LTS precise | Not in release |
| 11.10 oneiric | Not in release |
| 11.04 natty | Not in release |
| 10.10 maverick | Not in release |
| 10.04 LTS lucid | Not in release |
| 8.04 LTS hardy | Fixed 2.5.2-2ubuntu6.2 |
| python2.6 | 12.10 quantal | Not in release |
| 12.04 LTS precise | Not in release |
| 11.10 oneiric | Fixed 2.6.7-4ubuntu1.1 |
| 11.04 natty | Fixed 2.6.6-6ubuntu7.1 |
| 10.10 maverick | Ignored end of life |
| 10.04 LTS lucid | Fixed 2.6.5-1ubuntu6.1 |
| 8.04 LTS hardy | Not in release |
| python2.7 | 12.10 quantal | Not affected |
| 12.04 LTS precise | Not affected |
| 11.10 oneiric | Fixed 2.7.2-5ubuntu1.1 |
| 11.04 natty | Fixed 2.7.1-5ubuntu2.2 |
| 10.10 maverick | Ignored end of life |
| 10.04 LTS lucid | Not in release |
| 8.04 LTS hardy | Not in release |
| python3.1 | 12.10 quantal | Not in release |
| 12.04 LTS precise | Not in release |
| 11.10 oneiric | Not in release |
| 11.04 natty | Fixed 3.1.3-1ubuntu1.2 |
| 10.10 maverick | Ignored end of life |
| 10.04 LTS lucid | Fixed 3.1.2-0ubuntu3.2 |
| 8.04 LTS hardy | Not in release |
| python3.2 | 12.10 quantal | Not affected |
| 12.04 LTS precise | Not affected |
| 11.10 oneiric | Fixed 3.2.2-0ubuntu1.1 |
| 11.04 natty | Fixed 3.2-1ubuntu1.2 |
| 10.10 maverick | Not in release |
| 10.04 LTS lucid | Not in release |
| 8.04 LTS hardy | Not in release |

---

* [How can I get the fixes?](https://ubuntu.com/security/cves/about#security)
* [What do statuses mean?](https://ubuntu.com/security/cves/about#statuses)
* [Patch details](https://ubuntu.com/security/CVE-2012-0845?format=md#patch-details)

## Notes

---

### [jdstrand](https://launchpad.net/~jdstrand)

reproducer doesn't work on 8.04 LTS python2.4, but the code is
sufficiently similar that we'll patch

### Patch details

For informational purposes only. We recommend not to cherry-pick updates. [How can I get the fixes?](https://ubuntu.com/security/cves/about#security)

| Package | Patch details |
| --- | --- |
| python2.6 | * Upstream:   <http://hg.python.org/cpython/rev/24244a744d01/> |
| python2.7 | * Upstream:   <http://hg.python.org/cpython/rev/0c02f30b2538/> |
| python3.1 | * Upstream:   <http://hg.python.org/cpython/rev/4dd5a94fd3e3/> |
| python3.2 | * Upstream:   <http://hg.python.org/cpython/rev/cd67740ce653/> |

## References

* [MITRE](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2012-0845)
* [NVD](https://nvd.nist.gov/vuln/detail/CVE-2012-0845)
* [Launchpad](https://launchpad.net/bugs/cve/CVE-2012-0845)
* [Debian](https://security-tracker.debian.org/tracker/CVE-2012-0845)

### Related Ubuntu Security Notices (USN)

+ [USN-1613-1](https://usn.ubuntu.com/USN-1613-1)
+ Python 2.5 vulnerabilities
+ 17 October 2012

+ [USN-1592-1](https://usn.ubuntu.com/USN-1592-1)
+ Python 2.7 vulnerabilities
+ 2 October 2012

+ [USN-1613-2](https://usn.ubuntu.com/USN-1613-2)
+ Python 2.4 vulnerabilities
+ 17 October 2012

+ [USN-1616-1](https://usn.ubuntu.com/USN-1616-1)
+ Python 3.1 vulnerabilities
+ 24 October 2012

+ [USN-1615-1](https://usn.ubuntu.com/USN-1615-1)
+ Python 3.2 vulnerabilities
+ 23 October 2012

+ [USN-1596-1](https://usn.ubuntu.com/USN-1596-1)
+ Python 2.6 vulnerabilities
+ 4 October 2012

### Other references

* <https://bugzilla.redhat.com/show_bug.cgi?id=789790>
* <https://www.cve.org/CVERecord?id=CVE-2012-0845>
