Cyber Resilience

CVE-2023-42795

Apache Tomcat 8.5.0 – 8.5.94

Published
10 October 2023
Modified
07 August 2025
Patch / advisory
CVSS Score v3.1 5.3
Click a component to see what it means
Raw vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
EPSS Score 0.022 81th percentile
Risk Priority 48 floored blend · peak EPSS

Summary

CVE-2023-42795 is a medium-severity Incomplete Cleanup (CWE-459) vulnerability in Apache Tomcat. Its CVSS base score is 5.3 (Medium).

Operationally, exploitation aligns with the MITRE ATT&CK technique Data from Local System (T1005); ranked in the top 19% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog.

EU & UK References

Vulnerability Data

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…

more

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.

CWE(s)

Related Threats

MITRE ATT&CK Enterprise Techniques

T1005 Data from Local System Collection
Adversaries may search local system sources, such as file systems, configuration files, local databases, virtual machine files, or process memory, to find files of interest and sensitive data prior to Exfiltration.
T1552 Unsecured Credentials Credential Access
Adversaries may search compromised systems to find and obtain insecurely stored credentials.
Derived from this CVE’s CWE(s) via the direct CWE→ATT&CK cross-walk.

CVEs Like This One

CVE-2024-23672Same product: Apache Tomcat
CVE-2023-42794Same product: Apache Tomcat
CVE-2025-31650Same product: Apache Tomcat
CVE-2024-52316Same product: Apache Tomcat
CVE-2023-41080Same product: Apache Tomcat
CVE-2023-45648Same product: Apache Tomcat
CVE-2025-38177Same product: Debian Debian Linux
CVE-2023-52617Same product: Debian Debian Linux
CVE-2024-26825Same product: Debian Debian Linux
CVE-2024-26687Same product: Debian Debian Linux

Affected Assets

apache
tomcat
10.1.0, 11.0.0, 9.0.0 · 8.5.0 — 8.5.94 · 9.0.1 — 9.0.81 · 10.1.1 — 10.1.14
debian
debian linux
10.0, 11.0, 12.0

Mitigating Controls

Control response

Prevent
Stop it (NIST 800-53)

Detect
Catch it (NIST detect / respond)

Harden
Shrink the surface (DISA STIG)

Validate
Prove the fix (OWASP ASVS)
  • V6.4.1

Likely Mitigating Controls AI

Per-CVE control mapping for this CVE has not run yet; the list below is derived from the weakness types (CWEs) cited in the NVD entry.

addresses: CWE-459

Mandates complete sanitization during cleanup so that shared resources (memory, caches, buffers) do not retain data across subjects.

addresses: CWE-459

Operational retention schedules mandate complete cleanup of temporary or residual sensitive data after use.

addresses: CWE-459

Termination of the non-persistent artifact guarantees cleanup of temporary state, directly countering incomplete cleanup weaknesses.

addresses: CWE-459

Fail-safe procedures can explicitly require cleanup of temporary state, resources, or privileges on failure to avoid leaving the system in an inconsistent state.

addresses: CWE-459

The explicit delete step when information is no longer needed implements the cleanup that this weakness omits.

addresses: CWE-459

Enforces complete cleanup and sanitization steps during disposal, closing gaps that leave data remnants on retired components.

Mitigating Controls (NIST CSF 2.0) AI

Derived directly from the weakness types (CWEs) cited in the NVD entry via our AI-authored CWE→CSF cross-walk (authority under review) — links open the control.

PR.PS-06 mostly match
prevents

Secure-development practices and coding standards normally require proper resource release and cleanup.

ID.AM-08 partial match
prevents

Life-cycle management encompasses disposal of temporary resources but does not specifically target runtime cleanup bugs.

PR.DS-10 partial match
prevents

Explicitly calls for removing sensitive data after use, directly addressing one class of incomplete cleanup.

Mitigating Controls (ISO/IEC 27001:2022 Annex A) AI

Derived directly from the weakness types (CWEs) cited in the NVD entry via our AI-authored CWE→ISO cross-walk (authority under review) — links open the control.

degrades

Explicitly requires secure deletion of temporary or residual data, directly addressing incomplete cleanup.

prevents

SDLC practices include cleanup steps, yet the weakness can still occur if those steps are omitted.

prevents

Secure-coding rules can mandate explicit cleanup of temporary resources, but do not guarantee it.

finds

Change-management processes may require cleanup verification, but the control itself does not address the weakness.

References