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 package | Versions | Reported by |
|---|---|---|
| Apache Software Foundation Apache Tomcat | from 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.27 | CVE List |
| org.apache.tomcat:tomcat-coyote (Maven) | from 9.0.70 before 9.0.81, from 8.5.85 before 8.5.94 | GitHub Advisory Database |
| apache tomcat | from 8.5.85 before 8.5.94, from 9.0.70 before 9.0.81 | NVD |
| tomcat (Bitnami) | from 8.5.85 before 8.5.94, from 9.0.70 before 9.0.81 | Bitnami Vulnerability Database |
All scores
| GitHub | 5.9medium CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | 5.9medium CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H |
| Bitnami Vulnerability Database | medium rating |
Classification
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
| https://lists.apache.org/thread/vvbr2ms7lockj1hlhz5q3wmxb2mwcw82 | advisory, mailing-list, vendor-advisory, web | |
| http://www.openwall.com/lists/oss-security/2023/10/10/8 | advisory, mailing-list, third-party-advisory, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2023-42794 | advisory, web | |
| https://github.com/apache/tomcat | package | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2023-42794 changed 2026-10-08 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-jm7m-8jh6-29hp changed 2025-02-13 | CC-BY-4.0 |
| NVD | CVE-2023-42794 changed 2026-10-08 | Public domain |
| Bitnami Vulnerability Database | BIT-TOMCAT-2023-42794 changed 2026-09-08 | Apache-2.0 |