Apache Tomcat: FileUpload: DoS due to accumulation of temporary files on Windows

Summary

CVECVE-2023-42794
StatePUBLISHED
Assignerapache
Source PriorityCVE Program / NVD first with legacy fallback
Published2023-10-10 18:15:18 UTC
Updated2026-10-08 22:17:25 UTC
DescriptionIncomplete 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.

Risk And Classification

Primary CVSS: v3.1 5.9 MEDIUM from [email protected]

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

Problem Types: CWE-459 | CWE-459 CWE-459 Incomplete Cleanup

CVSS v3.1 Breakdown

Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

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

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Application Apache Tomcat All All All All

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Apache Software Foundation Apache Tomcat affected 9.0.70 9.0.80 semver Not specified
CNA Apache Software Foundation Apache Tomcat affected 8.5.85 8.5.93 semver Not specified
CNA Apache Software Foundation Apache Tomcat unknown 10.0.0-M1 10.0.27 semver Not specified

References

ReferenceSourceLinkTags
oss-security - CVE-2023-42794: Apache Tomcat: FileUpload: DoS due to accumulation of temporary files on Windows af854a3a-2127-422b-91ae-364da2661108 www.openwall.com Mailing List, Third Party Advisory
lists.apache.org/thread/vvbr2ms7lockj1hlhz5q3wmxb2mwcw82 af854a3a-2127-422b-91ae-364da2661108 lists.apache.org Mailing List, Vendor Advisory
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Vendor Comments And Credit

Discovery Credit

CNA: Mohammad Khedmatgozar (cellbox) (en)

Legacy QID Mappings

  • 150729 Apache Tomcat Denial of Service (DoS) Vulnerability (CVE-2023-42794)
  • 161276 Oracle Enterprise Linux Security Update for tomcat (ELSA-2024-0125)
  • 161315 Oracle Enterprise Linux Security Update for tomcat (ELSA-2024-0474)
  • 20399 Oracle Database 19c Critical OJVM Patch Update - January 2024
  • 20400 Oracle Database 19c Critical Patch Update - January 2024
  • 20401 Oracle Database 21c Critical Patch Update - January 2024
  • 242835 Red Hat Update for tomcat (RHSA-2024:0474)
  • 242881 Red Hat Update for tomcat (RHSA-2024:0125)
  • 296106 Oracle Solaris 11.4 Support Repository Update (SRU) 64.157.2 Missing (CPUOCT2023)
  • 730934 Apache Tomcat Denial of Service Vulnerability (CVE-2023-42794)
  • 730936 Apache Tomcat Denial of Service Vulnerability (CVE-2023-42794)
  • 730978 Atlassian Confluence Data Center and Server Denial of Service (DoS) Vulnerability (CONFSERVER-93164)
  • 755749 SUSE Enterprise Linux Security Update for tomcat (SUSE-SU-2024:0472-1)
  • 941533 AlmaLinux Security Update for tomcat (ALSA-2024:0125)
  • 941551 AlmaLinux Security Update for tomcat (ALSA-2024:0474)
  • 995549 Java (Maven) Security Update for org.apache.tomcat:tomcat (GHSA-jm7m-8jh6-29hp)

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report