KeygraphLabs · CVE MCP

CVE-2012-5887 · mitre

CVE-2012-5887

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.

Published 2012-11-17, last changed 2026-10-09. Weakness: CWE-287.

CVSS
5
medium, from NVD
EPSS
12.2%
percentile 96.3%, chance of exploitation in 30 days
Exploitation
None known
no KEV listing or public exploit in our indexes

How to fix

Upgrade to a fixed version: org.apache.tomcat:tomcat 5.5.36, 6.0.36, 7.0.30 (Maven) (each is the fix for its own release line). For the version that clears every advisory for your installed version, ask an agent for get_remediation.

Timeline

2012-11-17Published
2022-05-17Package advisory GHSA-28cq-6rmx-pjq4
2026-10-09Record last changed
2026-11-30EPSS when our history starts: 12.1%

Affected packages

AdvisoryPackageFixed in
GHSA-28cq-6rmx-pjq4org.apache.tomcat:tomcat (Maven)5.5.36
GHSA-28cq-6rmx-pjq4org.apache.tomcat:tomcat (Maven)6.0.36
GHSA-28cq-6rmx-pjq4org.apache.tomcat:tomcat (Maven)7.0.30

Also known as: GHSA-28cq-6rmx-pjq4

Related

CVEPublishedCVSSSummary
CVE-2026-685252026-08-259.1Apache Tomcat: Redirect after FORM auth may bypass method specific constraints
CVE-2026-659052026-08-259.8Apache Tomcat: Limited replay attack possible with DIGEST authentication
CVE-2026-651822026-08-259.1Apache Tomcat: Bypass longest prefix security constraint
CVE-2026-559572026-06-297.3Apache Tomcat: Authentication bypass with JNDIRealm and GSSAPI authenticated bind
CVE-2026-559562026-06-296.5Apache Tomcat: Security constraints for default servlet ignored method
CVE-2026-559552026-06-296.5Apache Tomcat: EncryptInterceptor not protected against replay attacks
CVE-2026-552762026-06-299.1Apache Tomcat: Logged effective web.xml is incomplete
CVE-2026-534042026-06-297.3Apache Tomcat: Bad ornext processing in RewriteValve

Add it to your agent

One command for Claude Code; setup for Claude Desktop, Cursor and others. No signup or key.

claude mcp add --transport http keygraph-cve https://cve-mcp.keygraph.io/mcp

Then ask for triage_cve CVE-2012-5887, or call /api/v1/vulnerabilities/CVE-2012-5887. To prove whether it is exploitable in your running app, run Shannon, Keygraph's open-source AI pentester.

NVD · CVE.org