{"id":"CVE-2023-42794","aliases":["CVE-2023-42794","GHSA-jm7m-8jh6-29hp","BIT-TOMCAT-2023-42794"],"related":[],"kind":"vulnerability","state":"published","title":"Apache Tomcat: FileUpload: DoS due to accumulation of temporary files on Windows","summary":"Incomplete Cleanup vulnerability in Apache Tomcat.\n\nThe 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, \nin progress refactoring that exposed a potential denial of service on \nWindows if a web application opened a stream for an uploaded file but \nfailed to close the stream. The file would never be deleted from disk \ncreating the possibility of an eventual denial of service due to the \ndisk being full.\n\nOther, EOL versions may also be affected.\n\n\nUsers are recommended to upgrade to version 9.0.81 onwards or 8.5.94 onwards, which fixes the issue.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Incomplete Cleanup vulnerability in Apache Tomcat.\n\nThe 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, \nin progress refactoring that exposed a potential denial of service on \nWindows if a web application opened a stream for an uploaded file but \nfailed to close the stream. The file would never be deleted from disk \ncreating the possibility of an eventual denial of service due to the \ndisk being full.\n\nOther, EOL versions may also be affected.\n\n\nUsers are recommended to upgrade to version 9.0.81 onwards or 8.5.94 onwards, which fixes the issue.","source":"cvelist"},{"lang":"en","text":"Incomplete Cleanup vulnerability in Apache Tomcat.\n\nThe 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.\n\nUsers are recommended to upgrade to version 9.0.81 onwards or 8.5.94 onwards, which fixes the issue.","format":"markdown","source":"ghsa"},{"lang":"es","text":"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.","source":"nvd"}],"published":"2023-10-10T17:17:01.378Z","modified":"2026-10-08T22:17:25.113Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","score":5.9,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","score":5.9,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","score":5.9,"rating":"MEDIUM"},{"scorer":"Bitnami Vulnerability Database","scheme":"rating","rating":"MEDIUM"}],"cwes":["CWE-459"],"affected":[{"ranges":[{"type":"semver","introduced":"9.0.70","lastAffected":"9.0.80","status":"affected"},{"type":"semver","introduced":"8.5.85","lastAffected":"8.5.93","status":"affected"},{"type":"semver","introduced":"10.0.0-M1","lastAffected":"10.0.27","status":"unknown"}],"vendor":"Apache Software Foundation","product":"Apache Tomcat","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"9.0.70","status":"affected","fixed":"9.0.81"}],"ecosystem":"Maven","package":"org.apache.tomcat:tomcat-coyote","purl":"pkg:maven/org.apache.tomcat/tomcat-coyote","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"8.5.85","status":"affected","fixed":"8.5.94"}],"ecosystem":"Maven","package":"org.apache.tomcat:tomcat-coyote","purl":"pkg:maven/org.apache.tomcat/tomcat-coyote","source":"ghsa"},{"ranges":[{"status":"affected","introduced":"8.5.85","fixed":"8.5.94"},{"status":"affected","introduced":"9.0.70","fixed":"9.0.81"}],"vendor":"apache","product":"tomcat","cpe":"cpe:2.3:a:apache:tomcat:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"type":"semver","introduced":"8.5.85","status":"affected","fixed":"8.5.94"},{"type":"semver","introduced":"9.0.70","status":"affected","fixed":"9.0.81"}],"ecosystem":"Bitnami","package":"tomcat","purl":"pkg:bitnami/tomcat","source":"bitnami"}],"references":[{"url":"https://lists.apache.org/thread/vvbr2ms7lockj1hlhz5q3wmxb2mwcw82","tags":["advisory","mailing-list","vendor-advisory","web","x-transferred"],"sources":["cvelist","ghsa","nvd","bitnami"]},{"url":"http://www.openwall.com/lists/oss-security/2023/10/10/8","tags":["advisory","mailing-list","third-party-advisory","web","x-transferred"],"sources":["cvelist","ghsa","nvd","bitnami"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-42794","tags":["advisory","web"],"sources":["ghsa","bitnami"]},{"url":"https://github.com/apache/tomcat","tags":["package"],"sources":["ghsa"]}],"credits":["Mohammad Khedmatgozar (cellbox)"],"assigner":"apache","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"partial","date":"2026-10-08T21:05:28.646Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2023-42794","url":"https://www.cve.org/CVERecord?id=CVE-2023-42794","licence":"CVE Terms of Use","modified":"2026-10-08T21:13:49.714Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-jm7m-8jh6-29hp","url":"https://github.com/advisories/GHSA-jm7m-8jh6-29hp","licence":"CC-BY-4.0","modified":"2025-02-13T19:16:22.000Z"},{"source":"nvd","name":"NVD","id":"CVE-2023-42794","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-42794","licence":"Public domain","modified":"2026-10-08T22:17:25.113Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-TOMCAT-2023-42794","url":"https://osv.dev/vulnerability/BIT-TOMCAT-2023-42794","licence":"Apache-2.0","modified":"2026-09-08T08:48:20.901Z"}],"updatedAt":"2026-11-25T22:58:28.652Z","epss":{"score":0.02304,"percentile":0.83807,"date":"2026-12-01T12:00:22.000Z"}}