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.
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
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux:8 | tomcat | 1:9.0.62-27.el8_9.2 | ALSA-2024:0125 |
| AlmaLinux:9 | tomcat | 1:9.0.62-37.el9_3.1 | ALSA-2024:0474 |
| AlmaLinux:8 | tomcat-admin-webapps | 1:9.0.62-27.el8_9.2 | ALSA-2024:0125 |
| AlmaLinux:9 | tomcat-admin-webapps | 1:9.0.62-37.el9_3.1 | ALSA-2024:0474 |
| AlmaLinux:8 | tomcat-docs-webapp | 1:9.0.62-27.el8_9.2 | ALSA-2024:0125 |
| AlmaLinux:9 | tomcat-docs-webapp | 1:9.0.62-37.el9_3.1 | ALSA-2024:0474 |
| AlmaLinux:8 | tomcat-el-3.0-api | 1:9.0.62-27.el8_9.2 | ALSA-2024:0125 |
| AlmaLinux:9 | tomcat-el-3.0-api | 1:9.0.62-37.el9_3.1 | ALSA-2024:0474 |
| AlmaLinux:8 | tomcat-jsp-2.3-api | 1:9.0.62-27.el8_9.2 | ALSA-2024:0125 |
| AlmaLinux:9 | tomcat-jsp-2.3-api | 1:9.0.62-37.el9_3.1 | ALSA-2024:0474 |
| AlmaLinux:8 | tomcat-lib | 1:9.0.62-27.el8_9.2 | ALSA-2024:0125 |
| AlmaLinux:9 | tomcat-lib | 1:9.0.62-37.el9_3.1 | ALSA-2024:0474 |
| AlmaLinux:8 | tomcat-servlet-4.0-api | 1:9.0.62-27.el8_9.2 | ALSA-2024:0125 |
| AlmaLinux:9 | tomcat-servlet-4.0-api | 1:9.0.62-37.el9_3.1 | ALSA-2024:0474 |
| AlmaLinux:8 | tomcat-webapps | 1:9.0.62-27.el8_9.2 | ALSA-2024:0125 |
| AlmaLinux:9 | tomcat-webapps | 1:9.0.62-37.el9_3.1 | ALSA-2024:0474 |
| Maven | org.apache.tomcat:tomcat-coyote | 9.0.81 | GHSA-jm7m-8jh6-29hp |
| Maven | org.apache.tomcat:tomcat-coyote | 8.5.94 | GHSA-jm7m-8jh6-29hp |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| Apache Software Foundation | Apache Tomcat | 9.0.70 – through 9.0.808.5.85 – through 8.5.93 |
Weakness: CWE-459
References
- https://lists.apache.org/thread/vvbr2ms7lockj1hlhz5q3wmxb2mwcw82 vendor-advisory
- http://www.openwall.com/lists/oss-security/2023/10/10/8 x_transferred