CVE-2012-5887Apache Tomcat
Medium 5.0 No auth neededHigh EPSS
Follow: this CVE · Apache · Apache Tomcat We alert you by email or Slack (account required).
- Priority
- 46
- CVSS 2.0
- 5.0
- EPSS
- 12.1% probability of exploitation in 30 days · percentile 97
- Auth required
- No
- Published
- Nov 17, 2012
- Updated
- Oct 9, 2026
- Category
- Server · Cross-platform
- Weakness (CWE)
- CWE-287
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: partial
- Vector
AV:N/AC:L/Au:N/C:N/I:P/A:N
What happens
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.
What to do
- Apply the vendor's security update for Tomcat.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Maven | org.apache.tomcat:tomcat |
≥ 5.5.0 < 5.5.36 |
5.5.36 |
— |
| Maven | org.apache.tomcat:tomcat |
≥ 6.0.0 < 6.0.36 |
6.0.36 |
— |
| Maven | org.apache.tomcat:tomcat |
≥ 7.0.0 < 7.0.30 |
7.0.30 |
— |
Per OSV / GitHub Advisories (GHSA-28cq-6rmx-pjq4). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| apache | tomcat | ≥ 5.5.0 < 5.5.36 |
| apache | tomcat | ≥ 6.0.0 < 6.0.36 |
| apache | tomcat | ≥ 7.0.0 < 7.0.30 |
Official sources
References
Links published by the sources. Open them with care.
- lists.opensuse.org Third Party Advisory
- lists.opensuse.org Third Party Advisory
- lists.opensuse.org Third Party Advisory
- rhn.redhat.com Third Party Advisory
- rhn.redhat.com Third Party Advisory
- rhn.redhat.com Third Party Advisory
- rhn.redhat.com Third Party Advisory
- rhn.redhat.com Third Party Advisory
- rhn.redhat.com Third Party Advisory
- rhn.redhat.com Third Party Advisory
- rhn.redhat.com Third Party Advisory
- rhn.redhat.com Third Party Advisory
- secunia.com Broken Link
- svn.apache.org Permissions Required
- svn.apache.org Permissions Required
- svn.apache.org Permissions Required
- tomcat.apache.org Vendor Advisory
- tomcat.apache.org Vendor Advisory
- tomcat.apache.org Vendor Advisory
- www-01.ibm.com Third Party Advisory
- www.securityfocus.com Broken Link
- www.ubuntu.com Third Party Advisory
- exchange.xforce.ibmcloud.com Third Party Advisory VDB Entry