# Deserialization of Untrusted Data in Apache Tomcat

Advisory record · `GHSA-v6c7-8qx5-8gmp`

- **Identifiers:** `GHSA-v6c7-8qx5-8gmp` · `CVE-2013-2185`
- **State:** Confirmed
- **Severity:** No CVSS score
- **Critical:** No
- **Weakness (CWE):** [CWE-502](https://cwe.mitre.org/data/definitions/502.html)
- **Tags:** [Insecure deserialization](https://agentprime.io/advisories/tag/deserialization.md)
- **Published:** 17 May 2022
- **Updated:** 4 Dec 2024
- **Reviewed by a person:** No

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

## Affected packages

- `org.apache.tomcat:tomcat` (Maven): affected `<7.0.39`; fixed in `7.0.39`

## Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

> Apache Tomcat versions before 7.0.39 are affected. In these versions, the readObject method of the DiskFileItem class can be abused by a remote attacker supplying a serialized instance with a NULL byte in a file name, allowing writes to arbitrary files. Upgrade to Tomcat 7.0.39 or later. The Apache Tomcat team disputes this issue, while Red Hat considers it a vulnerability.

Written 8 Nov 2026.

## 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.072, the 94th percentile, on 17 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

- 31 Oct 2026, 15:12 UTC: First seen by agentprime
- 31 Oct 2026, 15:12 UTC: [Confirmed by OSV](https://osv.dev/vulnerability/GHSA-v6c7-8qx5-8gmp)

## Sources

- [GitHub Advisory Database: GHSA-v6c7-8qx5-8gmp](https://github.com/advisories/GHSA-v6c7-8qx5-8gmp)
- [OSV: GHSA-v6c7-8qx5-8gmp](https://osv.dev/vulnerability/GHSA-v6c7-8qx5-8gmp)
- <https://nvd.nist.gov/vuln/detail/CVE-2013-2185>
- <https://github.com/apache/tomcat>
- <http://openwall.com/lists/oss-security/2014/10/24/12>
- <http://rhn.redhat.com/errata/RHSA-2013-1193.html>
- <http://rhn.redhat.com/errata/RHSA-2013-1194.html>
- <http://rhn.redhat.com/errata/RHSA-2013-1265.html>
- <http://www.openwall.com/lists/oss-security/2013/09/05/4>

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-v6c7-8qx5-8gmp>, or `POST https://api.agentprime.io/v1/match` with your packages (<https://agentprime.io/api.md>)

---

The web page: <https://agentprime.io/advisories/GHSA-v6c7-8qx5-8gmp/>. Everything for agents: <https://agentprime.io/llms.txt>.
