# Apache Tomcat Directory Traversal vulnerability

Advisory record · `GHSA-m7xj-ccqc-p4g2`

- **Identifiers:** `GHSA-m7xj-ccqc-p4g2` · `CVE-2008-2938`
- **State:** Confirmed
- **Severity:** No CVSS score
- **Critical:** No
- **Weakness (CWE):** [CWE-22](https://cwe.mitre.org/data/definitions/22.html)
- **Tags:** [Path traversal](https://agentprime.io/advisories/tag/path-traversal.md)
- **Published:** 1 May 2022
- **Updated:** 23 Feb 2024
- **Reviewed by a person:** No

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

## Affected packages

- `org.apache.tomcat:tomcat` (Maven): affected `>=4.1.0, <4.1.39 || >=5.5.0, <5.5.27 || >=6.0.0, <6.0.18`; fixed in `4.1.39`, `5.5.27`, `6.0.18`

## 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:** 1.00, the 99th 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 1 May 2022. New records show when each source confirmed them.

## Sources

- [GitHub Advisory Database: GHSA-m7xj-ccqc-p4g2](https://github.com/advisories/GHSA-m7xj-ccqc-p4g2)
- [OSV: GHSA-m7xj-ccqc-p4g2](https://osv.dev/vulnerability/GHSA-m7xj-ccqc-p4g2)
- <https://nvd.nist.gov/vuln/detail/CVE-2008-2938>
- <https://github.com/apache/tomcat/commit/c55ad56ed72ee1dbfe790bc5492d4df74e3e754f>
- <https://web.archive.org/web/20090207111236/http://secunia.com/advisories/33797>
- <https://web.archive.org/web/20090308065055/http://secunia.com/advisories/31865>
- <https://web.archive.org/web/20100516085845/http://secunia.com/advisories/37297>
- <https://web.archive.org/web/20110711210039/http://rhn.redhat.com/errata/RHSA-2008-0862.html>
- <https://web.archive.org/web/20110713233239/http://rhn.redhat.com/errata/RHSA-2008-0648.html>
- <https://web.archive.org/web/20110713234158/http://rhn.redhat.com/errata/RHSA-2008-0864.html>
- <https://web.archive.org/web/20140628064423/http://www.securityfocus.com/archive/1/495318/100/0/threaded>
- <https://web.archive.org/web/20140628064448/http://www.securityfocus.com/archive/1/507729/100/0/threaded>
- <https://web.archive.org/web/20140826163457/http://www.securityfocus.com/bid/30633>
- <https://web.archive.org/web/20140826171227/http://www.securitytracker.com/id?1020665>

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-m7xj-ccqc-p4g2>, or `POST https://api.agentprime.io/v1/match` with your packages (<https://agentprime.io/api.md>)

---

The web page: <https://agentprime.io/advisories/GHSA-m7xj-ccqc-p4g2/>. Everything for agents: <https://agentprime.io/llms.txt>.
