CVE & CISA-KEV Catalog

CVE-2023-42795

MEDIUMEPSS 80th pctl
5.3
CVSS v3
NVD

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.

How to fix

Remediation Available
tomcat10Debian
Fixed in:10.1.6-1+deb12u1CVE-2023-42795
Fixed in:10.1.14-1CVE-2023-42795
Fixed in:10.1.14-1CVE-2023-42795
jws5-tomcatRocky
Fixed in:0:9.0.62-18.redhat_00016.1.el7jwsRHSA-2023:6206
Fixed in:0:9.0.62-18.redhat_00016.1.el7jwsRHSA-2023:6206
Fixed in:0:9.0.62-18.redhat_00016.1.el8jwsRHSA-2023:6206
Fixed in:0:9.0.62-18.redhat_00016.1.el8jwsRHSA-2023:6206
Fixed in:0:9.0.62-18.redhat_00016.1.el9jwsRHSA-2023:6206
Fixed in:0:9.0.62-18.redhat_00016.1.el9jwsRHSA-2023:6206
jws5-tomcatRed Hat / RHEL
Fixed in:0:9.0.62-18.redhat_00016.1.el7jwsRHSA-2023:6206
Fixed in:0:9.0.62-18.redhat_00016.1.el7jwsRHSA-2023:6206
Fixed in:0:9.0.62-18.redhat_00016.1.el8jwsRHSA-2023:6206
Fixed in:0:9.0.62-18.redhat_00016.1.el8jwsRHSA-2023:6206
Fixed in:0:9.0.62-18.redhat_00016.1.el9jwsRHSA-2023:6206
Fixed in:0:9.0.62-18.redhat_00016.1.el9jwsRHSA-2023:6206
jws5-tomcat-admin-webappsRed Hat / RHEL
Fixed in:0:9.0.62-18.redhat_00016.1.el7jwsRHSA-2023:6206
Fixed in:0:9.0.62-18.redhat_00016.1.el8jwsRHSA-2023:6206
Fixed in:0:9.0.62-18.redhat_00016.1.el9jwsRHSA-2023:6206
jws5-tomcat-admin-webappsRocky
Fixed in:0:9.0.62-18.redhat_00016.1.el7jwsRHSA-2023:6206
Fixed in:0:9.0.62-18.redhat_00016.1.el8jwsRHSA-2023:6206
Fixed in:0:9.0.62-18.redhat_00016.1.el9jwsRHSA-2023:6206
jws5-tomcat-docs-webappRocky
Fixed in:0:9.0.62-18.redhat_00016.1.el7jwsRHSA-2023:6206
Fixed in:0:9.0.62-18.redhat_00016.1.el8jwsRHSA-2023:6206
Fixed in:0:9.0.62-18.redhat_00016.1.el9jwsRHSA-2023:6206
jws5-tomcat-docs-webappRed Hat / RHEL
Fixed in:0:9.0.62-18.redhat_00016.1.el7jwsRHSA-2023:6206
Fixed in:0:9.0.62-18.redhat_00016.1.el8jwsRHSA-2023:6206
Fixed in:0:9.0.62-18.redhat_00016.1.el9jwsRHSA-2023:6206
jws5-tomcat-el-3.0-apiRed Hat / RHEL
Fixed in:0:9.0.62-18.redhat_00016.1.el7jwsRHSA-2023:6206
Fixed in:0:9.0.62-18.redhat_00016.1.el8jwsRHSA-2023:6206
Fixed in:0:9.0.62-18.redhat_00016.1.el9jwsRHSA-2023:6206
jws5-tomcat-el-3.0-apiRocky
Fixed in:0:9.0.62-18.redhat_00016.1.el7jwsRHSA-2023:6206
Fixed in:0:9.0.62-18.redhat_00016.1.el8jwsRHSA-2023:6206
Fixed in:0:9.0.62-18.redhat_00016.1.el9jwsRHSA-2023:6206
jws5-tomcat-java-jdk11Red Hat / RHEL
Fixed in:0:9.0.62-18.redhat_00016.1.el7jwsRHSA-2023:6206
jws5-tomcat-java-jdk11Rocky
Fixed in:0:9.0.62-18.redhat_00016.1.el7jwsRHSA-2023:6206
jws5-tomcat-java-jdk8Rocky
Fixed in:0:9.0.62-18.redhat_00016.1.el7jwsRHSA-2023:6206
jws5-tomcat-java-jdk8Red Hat / RHEL
Fixed in:0:9.0.62-18.redhat_00016.1.el7jwsRHSA-2023:6206
jws5-tomcat-javadocRocky
Fixed in:0:9.0.62-18.redhat_00016.1.el7jwsRHSA-2023:6206
Fixed in:0:9.0.62-18.redhat_00016.1.el8jwsRHSA-2023:6206
Fixed in:0:9.0.62-18.redhat_00016.1.el9jwsRHSA-2023:6206
jws5-tomcat-javadocRed Hat / RHEL
Fixed in:0:9.0.62-18.redhat_00016.1.el7jwsRHSA-2023:6206
Fixed in:0:9.0.62-18.redhat_00016.1.el8jwsRHSA-2023:6206
Fixed in:0:9.0.62-18.redhat_00016.1.el9jwsRHSA-2023:6206
jws5-tomcat-jsp-2.3-apiRocky
Fixed in:0:9.0.62-18.redhat_00016.1.el7jwsRHSA-2023:6206
Fixed in:0:9.0.62-18.redhat_00016.1.el8jwsRHSA-2023:6206
Fixed in:0:9.0.62-18.redhat_00016.1.el9jwsRHSA-2023:6206
jws5-tomcat-jsp-2.3-apiRed Hat / RHEL
Fixed in:0:9.0.62-18.redhat_00016.1.el7jwsRHSA-2023:6206
Fixed in:0:9.0.62-18.redhat_00016.1.el8jwsRHSA-2023:6206
Fixed in:0:9.0.62-18.redhat_00016.1.el9jwsRHSA-2023:6206
jws5-tomcat-libRocky
Fixed in:0:9.0.62-18.redhat_00016.1.el7jwsRHSA-2023:6206
Fixed in:0:9.0.62-18.redhat_00016.1.el8jwsRHSA-2023:6206
Fixed in:0:9.0.62-18.redhat_00016.1.el9jwsRHSA-2023:6206
jws5-tomcat-libRed Hat / RHEL
Fixed in:0:9.0.62-18.redhat_00016.1.el7jwsRHSA-2023:6206
Fixed in:0:9.0.62-18.redhat_00016.1.el8jwsRHSA-2023:6206
Fixed in:0:9.0.62-18.redhat_00016.1.el9jwsRHSA-2023:6206
jws5-tomcat-selinuxRed Hat / RHEL
Fixed in:0:9.0.62-18.redhat_00016.1.el7jwsRHSA-2023:6206
Fixed in:0:9.0.62-18.redhat_00016.1.el8jwsRHSA-2023:6206
Fixed in:0:9.0.62-18.redhat_00016.1.el9jwsRHSA-2023:6206
jws5-tomcat-selinuxRocky
Fixed in:0:9.0.62-18.redhat_00016.1.el7jwsRHSA-2023:6206
Fixed in:0:9.0.62-18.redhat_00016.1.el8jwsRHSA-2023:6206
Fixed in:0:9.0.62-18.redhat_00016.1.el9jwsRHSA-2023:6206
jws5-tomcat-servlet-4.0-apiRed Hat / RHEL
Fixed in:0:9.0.62-18.redhat_00016.1.el7jwsRHSA-2023:6206
Fixed in:0:9.0.62-18.redhat_00016.1.el8jwsRHSA-2023:6206
Fixed in:0:9.0.62-18.redhat_00016.1.el9jwsRHSA-2023:6206
jws5-tomcat-servlet-4.0-apiRocky
Fixed in:0:9.0.62-18.redhat_00016.1.el7jwsRHSA-2023:6206
Fixed in:0:9.0.62-18.redhat_00016.1.el8jwsRHSA-2023:6206
Fixed in:0:9.0.62-18.redhat_00016.1.el9jwsRHSA-2023:6206
jws5-tomcat-webappsRed Hat / RHEL
Fixed in:0:9.0.62-18.redhat_00016.1.el7jwsRHSA-2023:6206
Fixed in:0:9.0.62-18.redhat_00016.1.el8jwsRHSA-2023:6206
Fixed in:0:9.0.62-18.redhat_00016.1.el9jwsRHSA-2023:6206
jws5-tomcat-webappsRocky
Fixed in:0:9.0.62-18.redhat_00016.1.el7jwsRHSA-2023:6206
Fixed in:0:9.0.62-18.redhat_00016.1.el8jwsRHSA-2023:6206
Fixed in:0:9.0.62-18.redhat_00016.1.el9jwsRHSA-2023:6206
tomcatRed Hat / RHEL
Fixed in:1:9.0.62-27.el8_9.2RHSA-2024:0125
Fixed in:1:9.0.62-27.el8_9.2RHSA-2024:0125
Fixed in:1:9.0.62-37.el9_3.1RHSA-2024:0474
Fixed in:1:9.0.62-37.el9_3.1RHSA-2024:0474
tomcatRocky
Fixed in:1:9.0.62-27.el8_9.2RHSA-2024:0125
Fixed in:1:9.0.62-27.el8_9.2RHSA-2024:0125
Fixed in:1:9.0.62-37.el9_3.1RHSA-2024:0474
Fixed in:1:9.0.62-37.el9_3.1RHSA-2024:0474
tomcat-admin-webappsRocky
Fixed in:1:9.0.62-27.el8_9.2RHSA-2024:0125
Fixed in:1:9.0.62-37.el9_3.1RHSA-2024:0474
tomcat-admin-webappsRed Hat / RHEL
Fixed in:1:9.0.62-27.el8_9.2RHSA-2024:0125
Fixed in:1:9.0.62-37.el9_3.1RHSA-2024:0474
tomcat-docs-webappRed Hat / RHEL
Fixed in:1:9.0.62-27.el8_9.2RHSA-2024:0125
Fixed in:1:9.0.62-37.el9_3.1RHSA-2024:0474
tomcat-docs-webappRocky
Fixed in:1:9.0.62-27.el8_9.2RHSA-2024:0125
Fixed in:1:9.0.62-37.el9_3.1RHSA-2024:0474
tomcat-el-3.0-apiRed Hat / RHEL
Fixed in:1:9.0.62-27.el8_9.2RHSA-2024:0125
Fixed in:1:9.0.62-37.el9_3.1RHSA-2024:0474
tomcat-el-3.0-apiRocky
Fixed in:1:9.0.62-27.el8_9.2RHSA-2024:0125
Fixed in:1:9.0.62-37.el9_3.1RHSA-2024:0474
tomcat-jsp-2.3-apiRocky
Fixed in:1:9.0.62-27.el8_9.2RHSA-2024:0125
Fixed in:1:9.0.62-37.el9_3.1RHSA-2024:0474
tomcat-jsp-2.3-apiRed Hat / RHEL
Fixed in:1:9.0.62-27.el8_9.2RHSA-2024:0125
Fixed in:1:9.0.62-37.el9_3.1RHSA-2024:0474
tomcat-libRed Hat / RHEL
Fixed in:1:9.0.62-27.el8_9.2RHSA-2024:0125
Fixed in:1:9.0.62-37.el9_3.1RHSA-2024:0474
tomcat-libRocky
Fixed in:1:9.0.62-27.el8_9.2RHSA-2024:0125
Fixed in:1:9.0.62-37.el9_3.1RHSA-2024:0474
tomcat-servlet-4.0-apiRed Hat / RHEL
Fixed in:1:9.0.62-27.el8_9.2RHSA-2024:0125
Fixed in:1:9.0.62-37.el9_3.1RHSA-2024:0474
tomcat-servlet-4.0-apiRocky
Fixed in:1:9.0.62-27.el8_9.2RHSA-2024:0125
Fixed in:1:9.0.62-37.el9_3.1RHSA-2024:0474
tomcat-webappsRed Hat / RHEL
Fixed in:1:9.0.62-27.el8_9.2RHSA-2024:0125
Fixed in:1:9.0.62-37.el9_3.1RHSA-2024:0474
tomcat-webappsRocky
Fixed in:1:9.0.62-27.el8_9.2RHSA-2024:0125
Fixed in:1:9.0.62-37.el9_3.1RHSA-2024:0474
libtomcat10-javaUbuntu
Fixed in:10.1.16-1ubuntu0.1~esm2USN-7562-1
libtomcat8-javaUbuntu
Fixed in:8.5.39-1ubuntu1~18.04.3+esm5USN-7562-1
libtomcat9-javaUbuntu
Fixed in:9.0.16-3ubuntu0.18.04.2+esm7USN-7562-1
Fixed in:9.0.16-3ubuntu0.18.04.2+esm4USN-7106-1
Fixed in:9.0.31-1ubuntu0.8USN-7106-1
Fixed in:9.0.31-1ubuntu0.9+esm2USN-7562-1
Fixed in:9.0.58-1ubuntu0.2+esm3USN-7562-1
Fixed in:9.0.58-1ubuntu0.1+esm4USN-7106-1
Fixed in:9.0.70-2ubuntu0.1+esm2USN-7562-1
tomcat10Ubuntu
Fixed in:10.1.16-1ubuntu0.1~esm2USN-7562-1
tomcat8Ubuntu
Fixed in:8.5.39-1ubuntu1~18.04.3+esm5USN-7562-1
tomcat9Ubuntu
Fixed in:9.0.16-3ubuntu0.18.04.2+esm7USN-7562-1
Fixed in:9.0.16-3ubuntu0.18.04.2+esm4USN-7106-1
Fixed in:9.0.31-1ubuntu0.9+esm2USN-7562-1
Fixed in:9.0.31-1ubuntu0.8USN-7106-1
Fixed in:9.0.58-1ubuntu0.2+esm3USN-7562-1
Fixed in:9.0.58-1ubuntu0.1+esm4USN-7106-1
Fixed in:9.0.70-2ubuntu0.1+esm2USN-7562-1

TridentStack Control can deploy fixes like this automatically across your Windows, macOS, and Linux fleet. See how it works

Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.

CVSS v3 Vector

Exploitability

Attack VectorNetwork
Attack ComplexityLow
Privileges RequiredNone
User InteractionNone
ScopeUnchanged

Impact

ConfidentialityLow
IntegrityNone
AvailabilityNone

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

Exploit Intelligence

2.16%probability of exploitation in 30 days
80thpercentile

Elevated risk: more likely to be exploited than 80% of all known CVEs.

References

Related Vulnerabilities

Other CWE-459 vulnerabilities, ordered by exploit likelihood. View all

CVESeverityCVSSEPSSExploitedFix
CVE-2017-17090High7.582%-Fix
CVE-2021-39327Medium5.372%--
CVE-2025-31650High7.560%-Fix
CVE-2022-1552High8.812%-Fix
CVE-2018-18924High8.89.5%--
CVE-2022-21125Medium5.56.5%-Fix

Common questions

How do I fix CVE-2023-42795?

Published advisories record a fix for 47 affected products. The "How to fix" section on this page lists the fixed version and source advisory for each one, so apply the entry matching what you actually run.

Is CVE-2023-42795 being actively exploited?

Not that we know of. CVE-2023-42795 is not in the CISA Known Exploited Vulnerabilities catalog. Its EPSS score of 2.2% is the estimated probability that it will be exploited in the next 30 days. That is higher than 80% of all scored CVEs.

How severe is CVE-2023-42795?

CVE-2023-42795 has a CVSS v3 base score of 5.3, rated medium. CVSS rates the technical impact if the vulnerability is exploited, not how likely that is, so weigh it alongside the exploit-prediction score when you decide what to patch first.

What does CVE-2023-42795 affect?

Published advisories record a fix for tomcat10 (Debian), jws5-tomcat (Rocky), jws5-tomcat (Red Hat / RHEL), jws5-tomcat-admin-webapps (Red Hat / RHEL), and 43 more. Only products with a sourced advisory are listed, so treat this as what we can cite rather than a complete inventory.

Embed a live status badge for CVE-2023-42795
CVE-2023-42795 severity badge

Markdown

[![CVE-2023-42795](https://tridentstack.com/cve/badge/CVE-2023-42795.svg)](https://tridentstack.com/cve/CVE-2023-42795)

HTML

<a href="https://tridentstack.com/cve/CVE-2023-42795"><img src="https://tridentstack.com/cve/badge/CVE-2023-42795.svg" alt="CVE-2023-42795"></a>

Find and fix vulnerabilities across your fleet

TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.

See how it worksStart freeThis CVE lookup is free and always will be.

This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2025-08-07.