# Improper Handling of Exceptional Conditions in Apache Tomcat

Advisory record · `GHSA-44qp-qhfv-c7f6`

- **Identifiers:** `GHSA-44qp-qhfv-c7f6` · `BIT-tomcat-2021-30639` · `CVE-2021-30639`
- **State:** Confirmed
- **Severity:** CVSS 7.5 High
- **Critical:** No
- **Weakness (CWE):** [CWE-755](https://cwe.mitre.org/data/definitions/755.html)
- **Tags:** [CWE-755](https://agentprime.io/advisories/tag/cwe-755.md)
- **Published:** 13 Aug 2021
- **Updated:** 19 Feb 2024
- **Reviewed by a person:** No

Published by the GitHub Advisory Database at 13 Aug 2021, 15:21 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

## Affected packages

- `org.apache.tomcat:tomcat` (Maven): affected `>=10.0.3, <10.0.5 || >=9.0.0, <9.0.45 || <8.5.65`; fixed in `10.0.5`, `9.0.45`, `8.5.65`

## 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.1: `CVSS:3.1/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.069, the 94th percentile, on 8 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 Aug 2021. New records show when each source confirmed them.

## Sources

- [GitHub Advisory Database: GHSA-44qp-qhfv-c7f6](https://github.com/advisories/GHSA-44qp-qhfv-c7f6)
- [OSV: GHSA-44qp-qhfv-c7f6](https://osv.dev/vulnerability/GHSA-44qp-qhfv-c7f6)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-30639>
- <https://kc.mcafee.com/corporate/index?page=content&id=SB10366>
- <https://lists.apache.org/thread.html/r79a7c019712b39aedf7cf4da9276d80610f04441b2a4f6506cb2daaf@%3Cdev.tomcat.apache.org%3E>
- <https://lists.apache.org/thread.html/r79a7c019712b39aedf7cf4da9276d80610f04441b2a4f6506cb2daaf@%3Cusers.tomcat.apache.org%3E>
- <https://lists.apache.org/thread.html/rd84fae1f474597bdf358f5bdc0a5c453c507bd527b83e8be6b5ea3f4%40%3Cannounce.tomcat.apache.org%3E>
- <https://security.gentoo.org/glsa/202208-34>
- <https://security.netapp.com/advisory/ntap-20210827-0007>
- <https://www.oracle.com/security-alerts/cpujan2022.html>

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-44qp-qhfv-c7f6>, or `POST https://api.agentprime.io/v1/match` with your packages (<https://agentprime.io/api.md>)

---

The web page: <https://agentprime.io/advisories/GHSA-44qp-qhfv-c7f6/>. Everything for agents: <https://agentprime.io/llms.txt>.
