CVE-2023-42794

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

State
Published
Severity
Not scored
Published
Oct 10, 2023
Updated
Oct 8, 2026
Reserved
Sep 14, 2023

Read the record on cve.org

Description

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.

Scores

The record has no CVSS score.

Weaknesses

Affected Products

ProductVersions
Apache TomcatApache Software Foundation
  • 9.0.70 through 9.0.80Affected
  • 8.5.85 through 8.5.93Affected
  • 10.0.0-M1 through 10.0.27Unknown

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.