cve.bz

CVE-2023-42795 Incomplete Cleanup

5.3 mediumEPSS 2.5%Fix available

Medium (5.3). EPSS 2.5% estimated probability of exploitation activity in the next 30 days. Fixed in org.apache.tomcat:tomcat 10.1.14, 11.0.0-M12, 8.5.94.

On this page
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.

Severity

CVSS 3.1

5.3 medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
EPSS
2.5% (unchanged from 2.5% a week ago; 2.5% 30 days ago) estimated probability of exploitation activity in the next 30 days; 85th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: yes · Technical impact: partial, assessed 2024-09-18. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-459 Incomplete Cleanup
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

  • org.apache.tomcat:tomcat (Maven): fixed in 11.0.0-M12, 10.1.14, 9.0.81, 8.5.94
  • org.apache.tomcat.embed:tomcat-embed-core (Maven): fixed in 10.1.14, 9.0.81, 8.5.94, 11.0.0-M12
  • org.apache.tomcat:tomcat-catalina (Maven): fixed in 11.0.0-M12, 10.1.14, 9.0.81, 8.5.94
  • org.apache.tomcat:tomcat-util (Maven): fixed in 11.0.0-M12, 10.1.14, 9.0.81, 8.5.94
  • Debian, Ubuntu, Red Hat, SUSE, openSUSE, AlmaLinux: fixed package versions per release
  • Vendor advisory: https://lists.apache.org/thread/065jfyo583490r9j2v73nhpyxdob56lw

Ask an AI about this CVE

Show the promptExplain CVE-2023-42795 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2023-42795?via=ask-ai-copy and https://cve.bz/cve/CVE-2023-42795?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2023-42795 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
Apache Software Foundation Apache Tomcatfrom 11.0.0-M1 through 11.0.0-M11
Apache Software Foundation Apache Tomcatfrom 10.1.0-M1 through 10.1.13
Apache Software Foundation Apache Tomcatfrom 9.0.0-M1 through 9.0.80
Apache Software Foundation Apache Tomcatfrom 8.5.0 through 8.5.93

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-g8pj-r55q-5c2vMavenorg.apache.tomcat:tomcat>=11.0.0-M1 <11.0.0-M1211.0.0-M12
GHSA-g8pj-r55q-5c2vMavenorg.apache.tomcat:tomcat>=10.1.0-M1 <10.1.1410.1.14
GHSA-g8pj-r55q-5c2vMavenorg.apache.tomcat:tomcat>=9.0.0-M1 <9.0.819.0.81
GHSA-g8pj-r55q-5c2vMavenorg.apache.tomcat:tomcat>=8.5.0 <8.5.948.5.94
GHSA-g8pj-r55q-5c2vMavenorg.apache.tomcat.embed:tomcat-embed-core>=10.1.0-M1 <10.1.1410.1.14
GHSA-g8pj-r55q-5c2vMavenorg.apache.tomcat.embed:tomcat-embed-core>=9.0.0-M1 <9.0.819.0.81
GHSA-g8pj-r55q-5c2vMavenorg.apache.tomcat.embed:tomcat-embed-core>=8.5.0 <8.5.948.5.94
GHSA-g8pj-r55q-5c2vMavenorg.apache.tomcat.embed:tomcat-embed-core>=11.0.0-M1 <11.0.0-M1211.0.0-M12
GHSA-g8pj-r55q-5c2vMavenorg.apache.tomcat:tomcat-catalina>=11.0.0-M1 <11.0.0-M1211.0.0-M12
GHSA-g8pj-r55q-5c2vMavenorg.apache.tomcat:tomcat-catalina>=10.1.0-M1 <10.1.1410.1.14
GHSA-g8pj-r55q-5c2vMavenorg.apache.tomcat:tomcat-catalina>=9.0.0-M1 <9.0.819.0.81
GHSA-g8pj-r55q-5c2vMavenorg.apache.tomcat:tomcat-catalina>=8.5.0 <8.5.948.5.94
GHSA-g8pj-r55q-5c2vMavenorg.apache.tomcat:tomcat-util>=11.0.0-M1 <11.0.0-M1211.0.0-M12
GHSA-g8pj-r55q-5c2vMavenorg.apache.tomcat:tomcat-util>=10.1.0-M1 <10.1.1410.1.14
GHSA-g8pj-r55q-5c2vMavenorg.apache.tomcat:tomcat-util>=9.0.0-M1 <9.0.819.0.81
GHSA-g8pj-r55q-5c2vMavenorg.apache.tomcat:tomcat-util>=8.5.0 <8.5.948.5.94

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian10tomcat99.0.31-1~deb10u9DLA-3617-1
Debian11tomcat99.0.43-2~deb11u7DSA-5522-1
Debian12tomcat1010.1.6-1+deb12u1DEBIAN-CVE-2023-42795 DSA-5521-1
Debian12, 13, 14tomcat99.0.70-2DEBIAN-CVE-2023-42795
Debian13, 14tomcat1010.1.14-1DEBIAN-CVE-2023-42795
Ubuntu20.04:LTStomcat99.0.31-1ubuntu0.8UBUNTU-CVE-2023-42795 USN-7106-1
Ubuntu25.10tomcat99.0.70-2ubuntu3UBUNTU-CVE-2023-42795
UbuntuPro:14.04:LTStomcat6, tomcat7no fix listedUBUNTU-CVE-2023-42795
UbuntuPro:16.04:LTStomcat7, tomcat8no fix listedUBUNTU-CVE-2023-42795
UbuntuPro:18.04:LTStomcat88.5.39-1ubuntu1~18.04.3+esm5UBUNTU-CVE-2023-42795 USN-7562-1
UbuntuPro:18.04:LTStomcat99.0.16-3ubuntu0.18.04.2+esm4UBUNTU-CVE-2023-42795 USN-7106-1 USN-7562-1
UbuntuPro:20.04:LTStomcat99.0.31-1ubuntu0.9+esm2USN-7562-1
UbuntuPro:22.04:LTStomcat99.0.58-1ubuntu0.1+esm4UBUNTU-CVE-2023-42795 USN-7106-1 USN-7562-1
UbuntuPro:24.04:LTStomcat1010.1.16-1ubuntu0.1~esm2USN-7562-1
UbuntuPro:24.04:LTStomcat99.0.70-2ubuntu0.1+esm2UBUNTU-CVE-2023-42795 USN-7562-1
Red Hatenterprise_linux:8::appstreamtomcat, tomcat-lib, tomcat-webapps and 5 more1:9.0.62-27.el8_9.2RHSA-2024:0125
Red Hatenterprise_linux:9::appstreamtomcat, tomcat-lib, tomcat-webapps and 5 more1:9.0.62-37.el9_3.1RHSA-2024:0474
Red Hatenterprise_linux:10.0tomcat, tomcat-lib, tomcat-webapps and 5 more1:10.1.36-1.el10_0RHSA-2025:7497
Red Hatjboss_enterprise_web_server:5.7::el7jws5-tomcat, jws5-tomcat-lib, jws5-tomcat-javadoc and 9 more0:9.0.62-18.redhat_00016.1.el7jwsRHSA-2023:6206
Red Hatjboss_enterprise_web_server:5.7::el8jws5-tomcat, jws5-tomcat-lib, jws5-tomcat-javadoc and 7 more0:9.0.62-18.redhat_00016.1.el8jwsRHSA-2023:6206
Red Hatjboss_enterprise_web_server:5.7::el9jws5-tomcat, jws5-tomcat-lib, jws5-tomcat-javadoc and 7 more0:9.0.62-18.redhat_00016.1.el9jwsRHSA-2023:6206
Red Hatrhel_eus:8.8::appstreamtomcat, tomcat-lib, tomcat-webapps and 5 more1:9.0.87-1.el8_8.2RHSA-2024:3814
SUSEEnterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP2-LTSS, Linux Enterprise High Performance Computing 15 SP3-LTSS and 10 moretomcat9.0.85-150200.57.1SUSE-SU-2024:0472-1
SUSELinux Enterprise High Performance Computing 15 SP1-LTSS, Linux Enterprise Server 15 SP1-LTSS, Linux Enterprise Server for SAP Applications 15 SP1tomcat9.0.36-150100.4.98.1SUSE-SU-2023:4423-1
SUSELinux Enterprise Server 12 SP5, Linux Enterprise Server for SAP Applications 12 SP5tomcat9.0.36-3.111.1SUSE-SU-2023:4337-1
SUSELinux Enterprise Server 12 SP5-LTSS, Linux Enterprise Server LTSS Extended Security 12 SP5tomcat9.0.115-3.160.1SUSE-SU-2026:1058-1
openSUSELeap 15.5tomcat9.0.85-150200.57.1SUSE-SU-2024:0472-1
openSUSETumbleweedtomcat9.0.82-2.1openSUSE-SU-2024:13382-1
AlmaLinux8tomcat, tomcat-lib, tomcat-webapps and 5 more1:9.0.62-27.el8_9.2ALSA-2024:0125
AlmaLinux9tomcat, tomcat-lib, tomcat-webapps and 5 more1:9.0.62-37.el9_3.1ALSA-2024:0474

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

Red Hat rates this as a Moderate impact as the confidentiality is not fully compromised and the malicious user does not have confirmation over the scenario to replicate the error and capture the possible jeopardizing response.

Red Hat's mitigation

No mitigation is currently available for this flaw.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 10tomcat-1:10.1.36-1.el10_0Fixed 2025-05-13RHSA-2025:7497
Red Hat Enterprise Linux 8tomcat-1:9.0.62-27.el8_9.2Fixed 2024-01-10RHSA-2024:0125
Red Hat Enterprise Linux 8.8 Extended Update Supporttomcat-1:9.0.87-1.el8_8.2Fixed 2024-06-11RHSA-2024:3814
Red Hat Enterprise Linux 9tomcat-1:9.0.62-37.el9_3.1Fixed 2024-01-25RHSA-2024:0474
Red Hat Fuse 7.12.1tomcatFixed 2023-11-15RHSA-2023:7247
Red Hat JBoss Web Server 5tomcatFixed 2023-10-31RHSA-2023:6207
Red Hat JBoss Web Server 5.7 on RHEL 7jws5-tomcat-0:9.0.62-18.redhat_00016.1.el7jwsFixed 2023-10-31RHSA-2023:6206
Red Hat JBoss Web Server 5.7 on RHEL 8jws5-tomcat-0:9.0.62-18.redhat_00016.1.el8jwsFixed 2023-10-31RHSA-2023:6206
Red Hat JBoss Web Server 5.7 on RHEL 9jws5-tomcat-0:9.0.62-18.redhat_00016.1.el9jwsFixed 2023-10-31RHSA-2023:6206
A-MQ Clients 2tomcatNot affected
Red Hat AMQ Broker 7tomcatNot affected
Red Hat build of Apache Camel for Spring Boot 3tomcatWill not fix
Red Hat build of OptaPlanner 8tomcatWill not fix
Red Hat Data Grid 8tomcatNot affected
Red Hat Decision Manager 7tomcatFix deferred
Red Hat Enterprise Linux 7tomcatWill not fix
Red Hat Enterprise Linux 8pki-deps:10.6/pki-servlet-engineWill not fix
Red Hat Enterprise Linux 8pki-servlet-containerNot affected
Red Hat Enterprise Linux 9pki-servlet-engineWill not fix
Red Hat Integration Camel K 1tomcatWill not fix
10 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2023-42795.

ICS advisories (CISA)

AdvisoryTitlePublishedSectorsAffectedFixed
ICSA-24-228-06Siemens SINEC NMS2024-08-13MultipleSINEC NMSnone listed

From CISA's ICS advisories (CSAF), provided under CISA's notification. Only the facts are shown; each advisory is on CISA's page. Credits.

References

Check your stackJSON