CVEfocus › CVE database › CVE-2023-42795

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

CVSS 5.3 MediumEPSS 2.5% (higher than 85% of CVEs)Published 2023-10-10Updated 2025-10-29Assigner: apache

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.

CWE-459

What to do

Fixed builds are available from AlmaLinux, Debian, Maven, Red Hat, Ubuntu: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

52Fixed
9Fix pending
14Will not fix
4Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.04tomcat10Not affected
vulnerable_code_not_present
Ubuntu 25.10tomcat10Not affected
vulnerable_code_not_present
Ubuntu 25.10tomcat11Not affected
vulnerable_code_not_present
Ubuntu 25.10tomcat9Fixed9.0.70-2ubuntu3UBUNTU-CVE-2023-42795
Ubuntu 24.04tomcat9Fix pending9.0.70-2ubuntu0.1+esm2 (Ubuntu Pro)UBUNTU-CVE-2023-42795
Ubuntu 22.04tomcat9Fix pending9.0.58-1ubuntu0.1+esm4 (Ubuntu Pro)UBUNTU-CVE-2023-42795
Ubuntu 20.04tomcat9Fixed9.0.31-1ubuntu0.8UBUNTU-CVE-2023-42795
Ubuntu 18.04tomcat8Fix pending8.5.39-1ubuntu1~18.04.3+esm5 (Ubuntu Pro)UBUNTU-CVE-2023-42795
Ubuntu 18.04tomcat9Fix pending9.0.16-3ubuntu0.18.04.2+esm4 (Ubuntu Pro)UBUNTU-CVE-2023-42795
Ubuntu 16.04tomcat6Fix pending
Ubuntu 16.04tomcat7Fix pendingUBUNTU-CVE-2023-42795
Ubuntu 16.04tomcat8Fix pendingUBUNTU-CVE-2023-42795
Ubuntu 14.04tomcat6Fix pendingUBUNTU-CVE-2023-42795
Ubuntu 14.04tomcat7Fix pendingUBUNTU-CVE-2023-42795
Debian 14tomcat10Fixed10.1.14-1DEBIAN-CVE-2023-42795
Debian 14tomcat9Fixed9.0.70-2DEBIAN-CVE-2023-42795
Debian 13tomcat10Fixed10.1.14-1DEBIAN-CVE-2023-42795
Debian 13tomcat9Fixed9.0.70-2DEBIAN-CVE-2023-42795
Debian 12tomcat10Fixed10.1.6-1+deb12u1DEBIAN-CVE-2023-42795
Debian 12tomcat9Fixed9.0.70-2DEBIAN-CVE-2023-42795
Red Hat Enterprise Linux 10tomcatFixed1:10.1.36-1.el10_0RHSA-2025:7497
Red Hat Enterprise Linux 10tomcat-admin-webappsFixed1:10.1.36-1.el10_0RHSA-2025:7497
Red Hat Enterprise Linux 10tomcat-docs-webappFixed1:10.1.36-1.el10_0RHSA-2025:7497
Red Hat Enterprise Linux 10tomcat-el-5.0-apiFixed1:10.1.36-1.el10_0RHSA-2025:7497
Red Hat Enterprise Linux 10tomcat-jsp-3.1-apiFixed1:10.1.36-1.el10_0RHSA-2025:7497
Red Hat Enterprise Linux 10tomcat-libFixed1:10.1.36-1.el10_0RHSA-2025:7497
Red Hat Enterprise Linux 10tomcat-servlet-6.0-apiFixed1:10.1.36-1.el10_0RHSA-2025:7497
Red Hat Enterprise Linux 10tomcat-webappsFixed1:10.1.36-1.el10_0RHSA-2025:7497
Red Hat Enterprise Linux 9pki-servlet-4.0-apiWill not fix
Will not fix
Red Hat Enterprise Linux 9pki-servlet-engineWill not fix
Will not fix
Red Hat Enterprise Linux 9tomcatFixed1:9.0.62-37.el9_3.1RHSA-2024:0474
Red Hat Enterprise Linux 9tomcat-admin-webappsFixed1:9.0.62-37.el9_3.1RHSA-2024:0474
Red Hat Enterprise Linux 9tomcat-docs-webappFixed1:9.0.62-37.el9_3.1RHSA-2024:0474
Red Hat Enterprise Linux 9tomcat-el-3.0-apiFixed1:9.0.62-37.el9_3.1RHSA-2024:0474
Red Hat Enterprise Linux 9tomcat-jsp-2.3-apiFixed1:9.0.62-37.el9_3.1RHSA-2024:0474
Red Hat Enterprise Linux 9tomcat-libFixed1:9.0.62-37.el9_3.1RHSA-2024:0474
Red Hat Enterprise Linux 9tomcat-servlet-4.0-apiFixed1:9.0.62-37.el9_3.1RHSA-2024:0474
Red Hat Enterprise Linux 9tomcat-webappsFixed1:9.0.62-37.el9_3.1RHSA-2024:0474
Red Hat Enterprise Linux 8pki-servlet-4.0-apiWill not fix
Will not fix
Red Hat Enterprise Linux 8pki-servlet-containerNot affected
Red Hat Enterprise Linux 8pki-servlet-engineWill not fix
Will not fix
Red Hat Enterprise Linux 8tomcatFixed1:9.0.62-27.el8_9.2RHSA-2024:0125
Red Hat Enterprise Linux 8tomcat-admin-webappsFixed1:9.0.62-27.el8_9.2RHSA-2024:0125
Red Hat Enterprise Linux 8tomcat-docs-webappFixed1:9.0.62-27.el8_9.2RHSA-2024:0125
Red Hat Enterprise Linux 8tomcat-el-3.0-apiFixed1:9.0.62-27.el8_9.2RHSA-2024:0125
Red Hat Enterprise Linux 8tomcat-jsp-2.3-apiFixed1:9.0.62-27.el8_9.2RHSA-2024:0125
Red Hat Enterprise Linux 8tomcat-libFixed1:9.0.62-27.el8_9.2RHSA-2024:0125
Red Hat Enterprise Linux 8tomcat-servlet-4.0-apiFixed1:9.0.62-27.el8_9.2RHSA-2024:0125
Red Hat Enterprise Linux 8tomcat-webappsFixed1:9.0.62-27.el8_9.2RHSA-2024:0125
Red Hat Enterprise Linux 7tomcatWill not fix
Will not fix
Red Hat Enterprise Linux 7tomcat-admin-webappsWill not fix
Will not fix
Red Hat Enterprise Linux 7tomcat-docs-webappWill not fix
Will not fix
Red Hat Enterprise Linux 7tomcat-el-2.2-apiWill not fix
Will not fix
Red Hat Enterprise Linux 7tomcat-javadocWill not fix
Will not fix
Red Hat Enterprise Linux 7tomcat-jsp-2.2-apiWill not fix
Will not fix
Red Hat Enterprise Linux 7tomcat-jsvcWill not fix
Will not fix
Red Hat Enterprise Linux 7tomcat-libWill not fix
Will not fix
Red Hat Enterprise Linux 7tomcat-servlet-3.0-apiWill not fix
Will not fix
Red Hat Enterprise Linux 7tomcat-webappsWill not fix
Will not fix
AlmaLinux 9tomcatFixed1:9.0.62-37.el9_3.1ALSA-2024:0474
AlmaLinux 9tomcat-admin-webappsFixed1:9.0.62-37.el9_3.1ALSA-2024:0474
AlmaLinux 9tomcat-docs-webappFixed1:9.0.62-37.el9_3.1ALSA-2024:0474
AlmaLinux 9tomcat-el-3.0-apiFixed1:9.0.62-37.el9_3.1ALSA-2024:0474
AlmaLinux 9tomcat-jsp-2.3-apiFixed1:9.0.62-37.el9_3.1ALSA-2024:0474
AlmaLinux 9tomcat-libFixed1:9.0.62-37.el9_3.1ALSA-2024:0474
AlmaLinux 9tomcat-servlet-4.0-apiFixed1:9.0.62-37.el9_3.1ALSA-2024:0474
AlmaLinux 9tomcat-webappsFixed1:9.0.62-37.el9_3.1ALSA-2024:0474
AlmaLinux 8tomcatFixed1:9.0.62-27.el8_9.2ALSA-2024:0125
AlmaLinux 8tomcat-admin-webappsFixed1:9.0.62-27.el8_9.2ALSA-2024:0125
AlmaLinux 8tomcat-docs-webappFixed1:9.0.62-27.el8_9.2ALSA-2024:0125
AlmaLinux 8tomcat-el-3.0-apiFixed1:9.0.62-27.el8_9.2ALSA-2024:0125
AlmaLinux 8tomcat-jsp-2.3-apiFixed1:9.0.62-27.el8_9.2ALSA-2024:0125
AlmaLinux 8tomcat-libFixed1:9.0.62-27.el8_9.2ALSA-2024:0125
AlmaLinux 8tomcat-servlet-4.0-apiFixed1:9.0.62-27.el8_9.2ALSA-2024:0125
AlmaLinux 8tomcat-webappsFixed1:9.0.62-27.el8_9.2ALSA-2024:0125
Maven libraryorg.apache.tomcat.embed:tomcat-embed-coreFixed9.0.81GHSA-g8pj-r55q-5c2v
Maven libraryorg.apache.tomcat:tomcatFixed9.0.81GHSA-g8pj-r55q-5c2v
Maven libraryorg.apache.tomcat:tomcat-catalinaFixed10.1.14GHSA-g8pj-r55q-5c2v
Maven libraryorg.apache.tomcat:tomcat-utilFixed9.0.81GHSA-g8pj-r55q-5c2v

What the vendor says

As published in the CVE record by apache, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.