cve.bz

CVE-2023-42794 apache tomcat: Incomplete Cleanup

5.9 mediumEPSS 2.3%Fix available

Medium (5.9) in apache tomcat. EPSS 2.3% estimated probability of exploitation activity in the next 30 days. Fixed in org.apache.tomcat:tomcat-coyote 8.5.94, 9.0.81.

On this page
Incomplete Cleanup vulnerability in Apache Tomcat. The internal fork of Commons FileUpload packaged with Apache Tomcat 9.0.70 through 9.0.80 and 8.5.85 through 8.5.93 included an unreleased, in progress refactoring that exposed a potential denial of service on Windows if a web application opened a stream for an uploaded file but failed to close the stream. The file would never be deleted from disk creating the possibility of an eventual denial of service due to the disk being full. Other, EOL versions may also be affected. Users are recommended to upgrade to version 9.0.81 onwards or 8.5.94 onwards, which fixes the issue.

Severity

CVSS 3.1

5.9 medium
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS
2.3% (unchanged from 2.3% a week ago; 2.3% 30 days ago) estimated probability of exploitation activity in the next 30 days; 84th percentile. Scored 2026-11-15. 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 2026-10-08. 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

Ask an AI about this CVE

Show the promptExplain CVE-2023-42794 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2023-42794?via=ask-ai-copy and https://cve.bz/cve/CVE-2023-42794?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-42794 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.

Badge for a README or a site

CVE-2023-42794

An image that stays current: it is drawn from the data each time it is fetched (a host that proxies images, as GitHub does, may show its copy for a while). Markdown:

[![CVE-2023-42794](https://cve.bz/cve/badge/CVE-2023-42794.svg)](https://cve.bz/cve/CVE-2023-42794)

HTML:

<a href="https://cve.bz/cve/CVE-2023-42794"><img src="https://cve.bz/cve/badge/CVE-2023-42794.svg" alt="CVE-2023-42794"></a>

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
Apache Software Foundation Apache Tomcatfrom 9.0.70 through 9.0.80
Apache Software Foundation Apache Tomcatfrom 8.5.85 through 8.5.93

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-jm7m-8jh6-29hpMavenorg.apache.tomcat:tomcat-coyote>=9.0.70 <9.0.819.0.81
GHSA-jm7m-8jh6-29hpMavenorg.apache.tomcat:tomcat-coyote>=8.5.85 <8.5.948.5.94

Linux distributions

DistributionReleasePackageFixed inAdvisory
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
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
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: 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: Red Hat · SUSE · openSUSE.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

Red Hat rates this flaw as a Moderate impact as this would depend on how much information an attacker has over the environment (version and disk for example, increasing the Attack Complexity) as there is no guarantee the attack is successful.

This may affect only scenarios where running an application on Windows.

Red Hat's mitigation

No mitigation is currently available for this flaw.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 8tomcat-1:9.0.62-27.el8_9.2Fixed 2024-01-10RHSA-2024:0125
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 5Fixed 2023-12-07RHSA-2023:7623
A-MQ Clients 2tomcatNot affected
Red Hat AMQ Broker 7tomcatAffected
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 7tomcatWill not fix
Red Hat Enterprise Linux 7tomcatNot affected
Red Hat Enterprise Linux 8pki-deps:10.6/pki-servlet-engineNot affected
Red Hat Enterprise Linux 8pki-servlet-containerNot affected
Red Hat Enterprise Linux 9pki-servlet-engineNot affected
Red Hat JBoss Data Grid 7tomcatWill not fix
Red Hat JBoss Enterprise Application Platform 6tomcatWill not fix
Red Hat JBoss Enterprise Application Platform 7tomcatNot affected
Red Hat JBoss Enterprise Application Platform 8tomcatNot affected
Red Hat JBoss Enterprise Application Platform Expansion PacktomcatWill not fix
Red Hat JBoss Web Server 5tomcatNot affected
5 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-42794.

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