CVE-2023-42794
JSON

5.9medium

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

Severity
5.9medium CVSS:3.1 by NVD
Exploit likelihood
2.30% (higher than 83% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
apache
Also known as
GHSA-jm7m-8jh6-29hpBIT-TOMCAT-2023-42794

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

Product or packageVersionsReported by
Apache Software Foundation Apache Tomcatfrom 9.0.70 up to 9.0.80, from 8.5.85 up to 8.5.93, from 10.0.0-M1 up to 10.0.27CVE List
org.apache.tomcat:tomcat-coyote (Maven)from 9.0.70 before 9.0.81, from 8.5.85 before 8.5.94GitHub Advisory Database
apache tomcatfrom 8.5.85 before 8.5.94, from 9.0.70 before 9.0.81NVD
tomcat (Bitnami)from 8.5.85 before 8.5.94, from 9.0.70 before 9.0.81Bitnami Vulnerability Database

All scores

GitHub5.9medium CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
NVD5.9medium CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
Bitnami Vulnerability Databasemedium rating

Classification

CWE-459

SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial.

What each source says

CVE List

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.

GitHub Advisory Database

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.

Users are recommended to upgrade to version 9.0.81 onwards or 8.5.94 onwards, which fixes the issue.

NVD (es)

Vulnerabilidad de limpieza incompleta en Apache Tomcat. El fork interno de Commons FileUpload empaquetado con Apache Tomcat 9.0.70 a 9.0.80 y 8.5.85 a 8.5.93 incluía una refactorización en curso que expuso una posible denegación de servicio en Windows si una aplicación web abría una secuencia para un archivo cargado pero no lograba cerrar la secuencia. El archivo nunca se eliminaría del disco, creando la posibilidad de una eventual denegación de servicio debido a que el disco esté lleno. Se recomienda a los usuarios actualizar a la versión 9.0.81 en adelante o 8.5.94 en adelante, lo que soluciona el problema.

References

Sources

SourceRecordLicence
CVE ListCVE-2023-42794 changed 2026-10-08CVE Terms of Use
GitHub Advisory DatabaseGHSA-jm7m-8jh6-29hp changed 2025-02-13CC-BY-4.0
NVDCVE-2023-42794 changed 2026-10-08Public domain
Bitnami Vulnerability DatabaseBIT-TOMCAT-2023-42794 changed 2026-09-08Apache-2.0