Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. org.apache.tomcat/tomcat
  4. ›
  5. CVE-2023-42795

CVE-2023-42795: Apache Tomcat Incomplete Cleanup vulnerability

October 10, 2023 (updated June 12, 2026)

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.

References

  • github.com/advisories/GHSA-g8pj-r55q-5c2v
  • github.com/apache/tomcat/commit/30f8063d7a9b4c43ae4722f5e382a76af1d7a6bf
  • github.com/apache/tomcat/commit/44d05d75d696ca10ce251e4e370511e38f20ae75
  • github.com/apache/tomcat/commit/9375d67106f8df9eb9d7b360b2bef052fe67d3d4
  • github.com/apache/tomcat/commit/d6db22e411307c97ddf78315c15d5889356eca38
  • lists.apache.org/thread/065jfyo583490r9j2v73nhpyxdob56lw
  • lists.debian.org/debian-lts-announce/2023/10/msg00020.html
  • nvd.nist.gov/vuln/detail/CVE-2023-42795
  • security.netapp.com/advisory/ntap-20231103-0007
  • www.debian.org/security/2023/dsa-5521
  • www.debian.org/security/2023/dsa-5522

Code Behaviors & Features

Detect and mitigate CVE-2023-42795 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions starting from 8.5.0 before 8.5.94, all versions starting from 9.0.0-M1 before 9.0.81, all versions starting from 10.1.0-M1 before 10.1.14, all versions starting from 11.0.0-M1 before 11.0.0-M12

Fixed versions

  • 8.5.94
  • 9.0.81
  • 10.1.14
  • 11.0.0-M12

Solution

Upgrade to versions 8.5.94, 9.0.81, 10.1.14, 11.0.0-M12 or above.

Impact 5.3 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N

Learn more about CVSS

Weakness

  • CWE-459: Incomplete Cleanup

Source file

maven/org.apache.tomcat/tomcat/CVE-2023-42795.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:16:20 +0000.