CVE-2023-42794 json
Apache Tomcat: FileUpload: DoS due to accumulation of temporary files on Windows
published 2023-10-10 3 y ago modified 2026-10-08 31 d ago also BIT-tomcat-2023-42794 , EUVD-2023-2763 , GHSA-jm7m-8jh6-29hp
- cvss
- 5.9
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 2.3%
- EPSS 2.3% chance of exploitation in 30 days, percentile 83%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- maven org.apache.tomcat:tomcat-coyote 8.5.94, 9.0.81
- bitnami tomcat 8.5.94, 9.0.81
- apache tomcat 8.5.94, 9.0.81
- tomcat RHEL 9 1:9.0.62-37.el9_3.1
- tomcat-lib RHEL 9 1:9.0.62-37.el9_3.1
- tomcat-webapps RHEL 9 1:9.0.62-37.el9_3.1
- tomcat-el-3.0-api RHEL 9 1:9.0.62-37.el9_3.1
- tomcat-docs-webapp RHEL 9 1:9.0.62-37.el9_3.1
- tomcat-jsp-2.3-api RHEL 9 1:9.0.62-37.el9_3.1
- tomcat-admin-webapps RHEL 9 1:9.0.62-37.el9_3.1
- tomcat-servlet-4.0-api RHEL 9 1:9.0.62-37.el9_3.1
red hat advisories RHSA-2024:0474RHSA-2024:0125
- tomcat SLES for SAP 15 SP4, SLES for SAP 15 SP3, SLES for SAP 15 SP2 +11 more 9.0.85-150200.57.1
suse advisories SUSE-SU-2024:0472-1
- tomcat openSUSE Tumbleweed 9.0.82-2.1
opensuse advisories openSUSE-SU-2024:13382-1
- tomcat AlmaLinux 9 1:9.0.62-37.el9_3.1
- tomcat-lib AlmaLinux 9 1:9.0.62-37.el9_3.1
- tomcat-webapps AlmaLinux 9 1:9.0.62-37.el9_3.1
- tomcat-el-3.0-api AlmaLinux 9 1:9.0.62-37.el9_3.1
- tomcat-docs-webapp AlmaLinux 9 1:9.0.62-37.el9_3.1
- tomcat-jsp-2.3-api AlmaLinux 9 1:9.0.62-37.el9_3.1
- tomcat-admin-webapps AlmaLinux 9 1:9.0.62-37.el9_3.1
- tomcat-servlet-4.0-api AlmaLinux 9 1:9.0.62-37.el9_3.1
almalinux advisories ALSA-2024:0474ALSA-2024:0125
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2023-42794 updated cvss 5.9
tomcat: FileUpload: DoS due to accumulation of temporary files on Windows
-
Red Hat AMQ Broker 7 tomcataffected: workaround, no fix available “No mitigation is currently available for this flaw.”
-
Red Hat build of Apache Camel for Spring Boot 3 tomcat Red Hat build of OptaPlanner 8 tomcat Red Hat Decision Manager 7 tomcat Red Hat JBoss Data Grid 7 tomcat Red Hat JBoss Enterprise Application Platform 6 tomcat Red Hat JBoss Enterprise Application Platform Expansion Pack tomcataffected: workaround, no fix planned “No mitigation is currently available for this flaw.”
-
Red Hat OpenShift Application Runtimes tomcataffected: workaround, no fix available “No mitigation is currently available for this flaw.”
-
Red Hat Process Automation 7 tomcat Red Hat streams for Apache Kafka tomcataffected: workaround, no fix planned “No mitigation is currently available for this flaw.”
-
Red Hat Enterprise Linux AppStream (v. 8) tomcat 9.0.62-27.el8_9.2, tomcat-lib 9.0.62-27.el8_9.2, tomcat-webapps 9.0.62-27.el8_9.2, tomcat-el-3.0-api 9.0.62-27.el8_9.2, tomcat-docs-webapp 9.0.62-27.el8_9.2, tomcat-jsp-2.3-api 9.0.62-27.el8_9.2, +2 morefixed: vendor fix “No mitigation is currently available for this flaw.” RHSA-2024:0125
-
Red Hat Enterprise Linux AppStream (v. 9) tomcat 9.0.62-37.el9_3.1, tomcat-lib 9.0.62-37.el9_3.1, tomcat-webapps 9.0.62-37.el9_3.1, tomcat-el-3.0-api 9.0.62-37.el9_3.1, tomcat-docs-webapp 9.0.62-37.el9_3.1, tomcat-jsp-2.3-api 9.0.62-37.el9_3.1, +2 morefixed: vendor fix “No mitigation is currently available for this flaw.” RHSA-2024:0474
-
Red Hat Fuse 7.12.1fixed: vendor fix “No mitigation is currently available for this flaw.” RHSA-2023:7247
-
Red Hat JBoss Web Server 5fixed: vendor fix “No mitigation is currently available for this flaw.” RHSA-2023:7623
show 1 moreshow fewer
-
Red Hat A-MQ Clients 2 tomcat Red Hat Data Grid 8 tomcat Red Hat Enterprise Linux 7 tomcat, tomcat-lib, tomcat-jsvc, tomcat-javadoc, tomcat-webapps, tomcat-el-2.2-api, +4 more Red Hat Enterprise Linux 8 pki-servlet-engine, pki-servlet-4.0-api, pki-servlet-container Red Hat Enterprise Linux 9 pki-servlet-engine, pki-servlet-4.0-api Red Hat JBoss Enterprise Application Platform 7 tomcatnot affected: vulnerable code not present
+4 more productsfewer
Red Hat JBoss Enterprise Application Platform 8 tomcat Red Hat JBoss Web Server 5 tomcat Red Hat OpenShift Dev Spaces devspaces/server-rhel8 Red Hat Single Sign-On 7 tomcat
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
cisa ICSA-24-228-06 updated cvss 5.9
Siemens SINEC NMS
-
Siemens SINEC NMS <V3.0affected: fixed in V3.0 support.industry.siemens.com
Facts from CISA's republication of the vendor's own advisory (CSAF); the linked advisory is the authoritative source. CISA notification · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- yes
- Technical impact
- partial
- Assessed
- 31 d ago
Exploit prediction
2.30% chance of exploitation in the next 30 days, higher than 83% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| GitHub | 3.1 | 5.9 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | 3.1 | 5.9 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | 3.1 | 5.9 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| maven | org.apache.tomcat:tomcat-coyote | >=9.0.70, <9.0.81 >=8.5.85, <8.5.94 |
9.0.81 8.5.94 |
| bitnami | tomcat | >=8.5.85, <8.5.94 >=9.0.70, <9.0.81 |
8.5.94 9.0.81 |
Affected products
- Apache Software Foundation Apache Tomcat
Classification
- Weakness
-
- CWE-459 Incomplete Cleanup
References
-
lists.apache.org
/thread/vvbr2ms7lockj1hlhz5q3wmxb2mwcw82
vendor-advisory, web, mailing-list, advisory
-
openwall.com
/lists/oss-security/2023/10/10/8
web, mailing-list, third-party-advisory, advisory
-
nvd.nist.gov
/vuln/detail/CVE-2023-42794
advisory, web
-
github.com
/apache/tomcat
package
Sources
- CVE List CVE-2023-42794
- GitHub Advisory GHSA-jm7m-8jh6-29hp
- NVD CVE-2023-42794
- OSV BIT-tomcat-2023-42794
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.