Vulnerability · Published Oct 10, 2023 · Assigned by apache

CVE-2023-42794Apache Tomcat: FileUpload: DoS due to accumulation of temporary files on Windows

Medium 5.9

In plain English

A medium-severity security flaw in Apache Tomcat from Apache Software Foundation. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 2.3% (higher than 83% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS NVD)5.9Medium
Exploit odds (30 days)2.3%top 16.6% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official 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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
AlmaLinux:8tomcat1:9.0.62-27.el8_9.2ALSA-2024:0125
AlmaLinux:9tomcat1:9.0.62-37.el9_3.1ALSA-2024:0474
AlmaLinux:8tomcat-admin-webapps1:9.0.62-27.el8_9.2ALSA-2024:0125
AlmaLinux:9tomcat-admin-webapps1:9.0.62-37.el9_3.1ALSA-2024:0474
AlmaLinux:8tomcat-docs-webapp1:9.0.62-27.el8_9.2ALSA-2024:0125
AlmaLinux:9tomcat-docs-webapp1:9.0.62-37.el9_3.1ALSA-2024:0474
AlmaLinux:8tomcat-el-3.0-api1:9.0.62-27.el8_9.2ALSA-2024:0125
AlmaLinux:9tomcat-el-3.0-api1:9.0.62-37.el9_3.1ALSA-2024:0474
AlmaLinux:8tomcat-jsp-2.3-api1:9.0.62-27.el8_9.2ALSA-2024:0125
AlmaLinux:9tomcat-jsp-2.3-api1:9.0.62-37.el9_3.1ALSA-2024:0474
AlmaLinux:8tomcat-lib1:9.0.62-27.el8_9.2ALSA-2024:0125
AlmaLinux:9tomcat-lib1:9.0.62-37.el9_3.1ALSA-2024:0474
AlmaLinux:8tomcat-servlet-4.0-api1:9.0.62-27.el8_9.2ALSA-2024:0125
AlmaLinux:9tomcat-servlet-4.0-api1:9.0.62-37.el9_3.1ALSA-2024:0474
AlmaLinux:8tomcat-webapps1:9.0.62-27.el8_9.2ALSA-2024:0125
AlmaLinux:9tomcat-webapps1:9.0.62-37.el9_3.1ALSA-2024:0474
Mavenorg.apache.tomcat:tomcat-coyote9.0.81GHSA-jm7m-8jh6-29hp
Mavenorg.apache.tomcat:tomcat-coyote8.5.94GHSA-jm7m-8jh6-29hp

Affected products (as reported)

VendorProductVersions
Apache Software Foundation Apache Tomcat 9.0.70 – through 9.0.808.5.85 – through 8.5.93

Weakness: CWE-459

References