# Improper Locking in Apache Tomcat

Advisory record · `GHSA-q4hg-rmq2-52q9`

- **Identifiers:** `GHSA-q4hg-rmq2-52q9` · `CVE-2019-10072`
- **State:** Confirmed
- **Severity:** CVSS 7.5 High
- **Critical:** Yes: CVSS 7+ and EPSS
- **Weakness (CWE):** [CWE-667](https://cwe.mitre.org/data/definitions/667.html)
- **Tags:** [CWE-667](https://agentprime.io/advisories/tag/cwe-667.md)
- **Published:** 26 Jun 2019
- **Updated:** 11 Mar 2024
- **Reviewed by a person:** No

Published by the GitHub Advisory Database at 26 Jun 2019, 01:09 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

## Critical

Critical, because:

- CVSS score 7.5 (7.0 or more) and EPSS 0.73 (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.embed:tomcat-embed-core` (Maven): affected `>=9.0.0.M1, <9.0.20 || >=8.5.0, <8.5.41`; fixed in `9.0.20`, `8.5.41`

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

## Timeline

- 21 Jun 2019, 17:56 UTC: [Confirmed by the CVE List](https://www.cve.org/CVERecord?id=CVE-2019-10072)
- 21 Jun 2019, 18:15 UTC: [Confirmed by NVD](https://nvd.nist.gov/vuln/detail/CVE-2019-10072)

## Sources

- [GitHub Advisory Database: GHSA-q4hg-rmq2-52q9](https://github.com/advisories/GHSA-q4hg-rmq2-52q9)
- [OSV: GHSA-q4hg-rmq2-52q9](https://osv.dev/vulnerability/GHSA-q4hg-rmq2-52q9)
- <https://nvd.nist.gov/vuln/detail/CVE-2019-10072>
- <https://github.com/apache/tomcat/commit/0bcd69c9dd8ae0ff424f2cd46de51583510b7f35>
- <https://github.com/apache/tomcat/commit/7f748eb6bfaba5207c89dbd7d5adf50fae847145>
- <https://github.com/apache/tomcat/commit/8d14c6f21d29768a39be4b6b9517060dc6606758>
- <https://github.com/apache/tomcat/commit/ada725a50a60867af3422c8e612aecaeea856a9a>
- <https://security.netapp.com/advisory/ntap-20190625-0002>
- <https://support.f5.com/csp/article/K17321505>
- <https://tomcat.apache.org/security-8.html>
- <https://tomcat.apache.org/security-9.html>
- <https://usn.ubuntu.com/4128-1>
- <https://usn.ubuntu.com/4128-2>
- <https://web.archive.org/web/20200227033743/http://www.securityfocus.com/bid/108874>

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-q4hg-rmq2-52q9>, or `POST https://api.agentprime.io/v1/match` with your packages (<https://agentprime.io/api.md>)

---

The web page: <https://agentprime.io/advisories/GHSA-q4hg-rmq2-52q9/>. Everything for agents: <https://agentprime.io/llms.txt>.
