# Improper Input Validation in Apache Tomcat

Advisory record · `GHSA-9ggm-7897-x4mg`

- **Identifiers:** `GHSA-9ggm-7897-x4mg` · `CVE-2011-2526`
- **State:** Confirmed
- **Severity:** No CVSS score
- **Critical:** No
- **Weakness (CWE):** [CWE-20](https://cwe.mitre.org/data/definitions/20.html)
- **Tags:** [CWE-20](https://agentprime.io/advisories/tag/cwe-20.md)
- **Published:** 14 May 2022
- **Updated:** 21 Feb 2024
- **Reviewed by a person:** No

Published by the GitHub Advisory Database at 14 May 2022, 01:17 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

## Affected packages

- `org.apache.tomcat:tomcat` (Maven): affected `<5.5.34 || >=6.0.0, <6.0.33 || >=7.0.0, <7.0.19`; fixed in `5.5.34`, `6.0.33`, `7.0.19`

## Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

## Severity and exploitation

No source has published a CVSS score for this record yet.

- **CISA KEV:** Not listed.
- **EPSS:** 0.0070, the 53rd percentile, on 17 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

This record came from the full history of the GitHub Advisory Database, published 14 May 2022. New records show when each source confirmed them.

## Sources

- [GitHub Advisory Database: GHSA-9ggm-7897-x4mg](https://github.com/advisories/GHSA-9ggm-7897-x4mg)
- [OSV: GHSA-9ggm-7897-x4mg](https://osv.dev/vulnerability/GHSA-9ggm-7897-x4mg)
- <https://nvd.nist.gov/vuln/detail/CVE-2011-2526>
- <https://github.com/apache/tomcat/commit/1d372c881eafd9ffe729996f8560fd5fe50cd39d>
- <https://github.com/apache/tomcat/commit/2e69497fa7b1444632c6dadb64a4a82e18478ee6>
- <https://github.com/apache/tomcat/commit/48dded4ab1209a030770ab67a789d3b2528b6329>
- <https://github.com/apache/tomcat/commit/ff8789737a0a64c12d68929497f16d8021052048>
- <https://github.com/apache/tomcat55/commit/e67f6882118f2a8285e4e8acd050dad64a3ef3e4>
- <https://web.archive.org/web/20161107143207/http://www.securitytracker.com/id?1025788>
- <https://web.archive.org/web/20160101195415/http://rhn.redhat.com/errata/RHSA-2012-0325.html>
- <https://web.archive.org/web/20160101172638/http://rhn.redhat.com/errata/RHSA-2012-0077.html>
- <https://web.archive.org/web/20160101172212/http://rhn.redhat.com/errata/RHSA-2012-0078.html>
- <https://web.archive.org/web/20151017023138/http://secunia.com/advisories/57126>
- <https://web.archive.org/web/20140802025928/http://secunia.com/advisories/48308>

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.

## Check whether this affects you

A Match means an installed version is in the affected range above. Most don’t affect the app; agentprime hasn’t analysed this one yet.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), ask your agent to check the project: `check_lockfile` sends a lockfile, `check_packages` a list of installed packages, and both return the Matches and the upgrades that clear them. `get_advisory` returns this record. Setup: <https://agentprime.io/mcp.md>
- In a browser: <https://agentprime.io/check/> reads your lockfile in the browser, never uploading it.
- Whether it touches your code, with file and line: the Claude Code plugin, <https://agentprime.io/plugin.md>
- As JSON: <https://api.agentprime.io/v1/advisories/GHSA-9ggm-7897-x4mg>, or `POST https://api.agentprime.io/v1/match` with your packages (<https://agentprime.io/api.md>)

---

The web page: <https://agentprime.io/advisories/GHSA-9ggm-7897-x4mg/>. Everything for agents: <https://agentprime.io/llms.txt>.
