# Improper Resource Shutdown or Release in Apache Tomcat

Advisory record · `GHSA-9785-w233-x6hv`

- **Identifiers:** `GHSA-9785-w233-x6hv` · `CVE-2017-5650`
- **State:** Confirmed
- **Severity:** CVSS 7.5 High
- **Critical:** No
- **Weakness (CWE):** [CWE-404](https://cwe.mitre.org/data/definitions/404.html)
- **Tags:** [Denial of service](https://agentprime.io/advisories/tag/dos.md)
- **Published:** 13 May 2022
- **Updated:** 11 Mar 2024
- **Reviewed by a person:** No

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

## Affected packages

- `org.apache.tomcat:tomcat` (Maven): affected `>=9.0.0.M1, <9.0.0.M19 || >=8.5.0, <8.5.13`; fixed in `9.0.0.M19`, `8.5.13`

## 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

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

- **CISA KEV:** Not listed.
- **EPSS:** 0.083, the 95th 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 13 May 2022. New records show when each source confirmed them.

## Sources

- [GitHub Advisory Database: GHSA-9785-w233-x6hv](https://github.com/advisories/GHSA-9785-w233-x6hv)
- [OSV: GHSA-9785-w233-x6hv](https://osv.dev/vulnerability/GHSA-9785-w233-x6hv)
- <https://nvd.nist.gov/vuln/detail/CVE-2017-5650>
- <https://github.com/apache/tomcat/commit/2cb9c724e6a2d15a5bc909c4bf1ab9dfc26fa362>
- <https://github.com/apache/tomcat/commit/5496e193a89b8b8b3177e516358df2f07ab852b3>
- <https://web.archive.org/web/20170906032952/http://www.securitytracker.com/id/1038217>
- <https://web.archive.org/web/20170417124144/http://www.securityfocus.com/bid/97531>
- <https://security.netapp.com/advisory/ntap-20180614-0001>
- <https://security.gentoo.org/glsa/201705-09>
- <https://lists.apache.org/thread.html/r48c1444845fe15a823e1374674bfc297d5008a5453788099ea14caf0@%3Cdev.tomcat.apache.org%3E>
- <https://lists.apache.org/thread.html/r48c1444845fe15a823e1374674bfc297d5008a5453788099ea14caf0%40%3Cdev.tomcat.apache.org%3E>
- <https://lists.apache.org/thread.html/r3bbb800a816d0a51eccc5a228c58736960a9fffafa581a225834d97d@%3Cdev.tomcat.apache.org%3E>
- <https://lists.apache.org/thread.html/r3bbb800a816d0a51eccc5a228c58736960a9fffafa581a225834d97d%40%3Cdev.tomcat.apache.org%3E>
- <https://lists.apache.org/thread.html/eb6efa8d59c45a7a9eff94c4b925467d3b3fec8ba7697f3daa314b04@%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-9785-w233-x6hv>, or `POST https://api.agentprime.io/v1/match` with your packages (<https://agentprime.io/api.md>)

---

The web page: <https://agentprime.io/advisories/GHSA-9785-w233-x6hv/>. Everything for agents: <https://agentprime.io/llms.txt>.
