# Exposure of Resource to Wrong Sphere in Apache Tomcat

Advisory record · `GHSA-3vx3-xf6q-r5xp`

- **Identifiers:** `GHSA-3vx3-xf6q-r5xp` · `CVE-2017-5648`
- **State:** Confirmed
- **Severity:** CVSS 9.1 Critical
- **Critical:** Yes: CVSS 9+, CVSS 7+ and EPSS
- **Weakness (CWE):** [CWE-668](https://cwe.mitre.org/data/definitions/668.html)
- **Tags:** [Information disclosure](https://agentprime.io/advisories/tag/info-disclosure.md)
- **Published:** 13 May 2022
- **Updated:** 18 Apr 2024
- **Reviewed by a person:** No

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

## Critical

Critical, because:

- CVSS score 9.1: 9.0 or more.
- CVSS score 9.1 (7.0 or more) and EPSS 0.13 (0.1 or more): a high score and a real chance of exploitation in the next 30 days.

How we decide what’s critical: <https://agentprime.io/advisories/critical.md>

## Affected packages

- `org.apache.tomcat:tomcat-catalina` (Maven): affected `>=9.0.0.M1, <9.0.0.M18 || >=8.5.0, <8.5.13 || >=8.0.0, <8.0.42 || >=7.0.0, <7.0.76`; fixed in `9.0.0.M18`, `8.5.13`, `8.0.42`, `7.0.76`
- `org.apache.tomcat.embed:tomcat-embed-core` (Maven): affected `>=9.0.0.M1, <9.0.0.M18 || >=8.5.0, <8.5.13 || >=8.0.0, <8.0.42 || >=7.0.0, <7.0.76`; fixed in `9.0.0.M18`, `8.5.13`, `8.0.42`, `7.0.76`

## Machine-written summary

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

> Apache Tomcat versions 9.0.0.M1 to 9.0.0.M17, 8.5.0 to 8.5.11, 8.0.0.RC1 to 8.0.41, and 7.0.0 to 7.0.75 are affected, including the tomcat-catalina and tomcat-embed-core packages. An attacker who controls an untrusted web application running under a SecurityManager can retain a reference to request or response objects and access or modify information belonging to another web application. Upgrade to 9.0.0.M18, 8.5.13, 8.0.42, 7.0.76, or later.

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

- 9.1 Critical, CVSS 3.0: `CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N`, from GitHub Advisory Database

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

## Timeline

- 31 Oct 2026, 15:13 UTC: First seen by agentprime
- 31 Oct 2026, 15:13 UTC: [Confirmed by OSV](https://osv.dev/vulnerability/GHSA-3vx3-xf6q-r5xp)

## Sources

- [GitHub Advisory Database: GHSA-3vx3-xf6q-r5xp](https://github.com/advisories/GHSA-3vx3-xf6q-r5xp)
- [OSV: GHSA-3vx3-xf6q-r5xp](https://osv.dev/vulnerability/GHSA-3vx3-xf6q-r5xp)
- <https://nvd.nist.gov/vuln/detail/CVE-2017-5648>
- <https://github.com/apache/tomcat/commit/0f7b9465d594b9814e1853d1e3a6e3aa51a21610>
- <https://github.com/apache/tomcat/commit/6bb36dfdf6444efda074893dff493b9eb3648808>
- <https://github.com/apache/tomcat/commit/dfa40863421d7681fed893b4256666491887e38c>
- <https://github.com/apache/tomcat80/commit/6d73b079c55ee25dea1bbd0556bb568a4247dacd>
- <https://lists.apache.org/thread.html/88855876c33f2f9c532ffb75bfee570ccf0b17ffa77493745af9a17a@%3Cdev.tomcat.apache.org%3E>
- <https://lists.apache.org/thread.html/b5e3f51d28cd5d9b1809f56594f2cf63dcd6a90429e16ea9f83bbedc%40%3Cdev.tomcat.apache.org%3E>
- <https://lists.apache.org/thread.html/b5e3f51d28cd5d9b1809f56594f2cf63dcd6a90429e16ea9f83bbedc@%3Cdev.tomcat.apache.org%3E>
- <https://lists.apache.org/thread.html/d0e00f2e147a9e9b13a6829133092f349b2882bf6860397368a52600%40%3Cannounce.tomcat.apache.org%3E>
- <https://lists.apache.org/thread.html/d0e00f2e147a9e9b13a6829133092f349b2882bf6860397368a52600@%3Cannounce.tomcat.apache.org%3E>
- <https://lists.apache.org/thread.html/r3bbb800a816d0a51eccc5a228c58736960a9fffafa581a225834d97d%40%3Cdev.tomcat.apache.org%3E>
- <https://lists.apache.org/thread.html/r3bbb800a816d0a51eccc5a228c58736960a9fffafa581a225834d97d@%3Cdev.tomcat.apache.org%3E>

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-3vx3-xf6q-r5xp>, or `POST https://api.agentprime.io/v1/match` with your packages (<https://agentprime.io/api.md>)

---

The web page: <https://agentprime.io/advisories/GHSA-3vx3-xf6q-r5xp/>. Everything for agents: <https://agentprime.io/llms.txt>.
