---
title: "CVE-2012-5887\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-5887?format=md
keywords: index, follow
---

# CVE-2012-5887

Publication date 17 November 2012

Last updated 24 July 2024

---

Ubuntu priority

**Medium**

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

Toggle side navigation

## Description

The HTTP Digest Access Authentication implementation in Apache Tomcat 5.5.x
before 5.5.36, 6.x before 6.0.36, and 7.x before 7.0.30 does not properly
check for stale nonce values in conjunction with enforcement of proper
credentials, which makes it easier for remote attackers to bypass intended
access restrictions by sniffing the network for valid requests.

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

## Status

Show unmaintained releases

| Package | Ubuntu Release | Status |
| --- | --- | --- |
| tomcat5.5 | 13.04 raring | Not in release |
| 12.10 quantal | Not in release |
| 12.04 LTS precise | Not in release |
| 11.10 oneiric | Not in release |
| 10.04 LTS lucid | Not in release |
| 8.04 LTS hardy | Ignored end of life |
| tomcat6 | 13.04 raring | Not affected |
| 12.10 quantal | Fixed 6.0.35-5ubuntu0.1 |
| 12.04 LTS precise | Fixed 6.0.35-1ubuntu3.1 |
| 11.10 oneiric | Fixed 6.0.32-5ubuntu1.3 |
| 10.04 LTS lucid | Fixed 6.0.24-2ubuntu1.11 |
| 8.04 LTS hardy | Not in release |
| tomcat7 | 13.04 raring | Not affected |
| 12.10 quantal | Not affected |
| 12.04 LTS precise | Fixed 7.0.26-1ubuntu1.2 |
| 11.10 oneiric | Fixed 7.0.21-1ubuntu0.1 |
| 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-5887?format=md#patch-details)

## Notes

---

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

This was originally called CVE-2012-3439
same fix as CVE-2012-5885

### 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 |
| --- | --- |
| tomcat5.5 | * Upstream:   <http://svn.apache.org/viewvc?view=revision&revision=1392248> |
| tomcat6 | * Upstream:   <http://svn.apache.org/viewvc?view=revision&revision=1380829> |
| tomcat7 | * Upstream:   <http://svn.apache.org/viewvc?view=revision&revision=1377807> |

## References

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

### Related Ubuntu Security Notices (USN)

+ [USN-1637-1](https://usn.ubuntu.com/USN-1637-1)
+ Tomcat vulnerabilities
+ 21 November 2012

### Other references

* <http://tomcat.apache.org/security-7.html>
* <http://tomcat.apache.org/security-6.html>
* <http://tomcat.apache.org/security-5.html>
* <https://www.cve.org/CVERecord?id=CVE-2012-5887>
