Vulnerability · Published Feb 20, 2023 · Assigned by apache

CVE-2023-24998Apache Commons FileUpload, Apache Tomcat: FileUpload DoS with excessive parts

High 7.5

In plain English

A high-severity resource allocation without limits in Apache Commons FileUpload 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 48.8% (higher than 99% of all known vulnerabilities). Ready-made attack tooling exists: public proof-of-concept code. Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)7.5High
Exploit odds (30 days)48.8%top 1.1% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack tooling1Public PoC

Official description

Apache Commons FileUpload before 1.5 does not limit the number of request parts to be processed resulting in the possibility of an attacker triggering a DoS with a malicious upload or series of uploads. Note that, like all of the file upload limits, the new configuration option (FileUploadBase#setFileCountMax) is not enabled by default and must be explicitly configured.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
AlmaLinux:8tomcat1:9.0.62-27.el8_9ALSA-2023:7065
AlmaLinux:9tomcat1:9.0.62-37.el9_3ALSA-2023:6570
AlmaLinux:8tomcat-admin-webapps1:9.0.62-27.el8_9ALSA-2023:7065
AlmaLinux:9tomcat-admin-webapps1:9.0.62-37.el9_3ALSA-2023:6570
AlmaLinux:8tomcat-docs-webapp1:9.0.62-27.el8_9ALSA-2023:7065
AlmaLinux:9tomcat-docs-webapp1:9.0.62-37.el9_3ALSA-2023:6570
AlmaLinux:8tomcat-el-3.0-api1:9.0.62-27.el8_9ALSA-2023:7065
AlmaLinux:9tomcat-el-3.0-api1:9.0.62-37.el9_3ALSA-2023:6570
AlmaLinux:8tomcat-jsp-2.3-api1:9.0.62-27.el8_9ALSA-2023:7065
AlmaLinux:9tomcat-jsp-2.3-api1:9.0.62-37.el9_3ALSA-2023:6570
AlmaLinux:8tomcat-lib1:9.0.62-27.el8_9ALSA-2023:7065
AlmaLinux:9tomcat-lib1:9.0.62-37.el9_3ALSA-2023:6570
AlmaLinux:8tomcat-servlet-4.0-api1:9.0.62-27.el8_9ALSA-2023:7065
AlmaLinux:9tomcat-servlet-4.0-api1:9.0.62-37.el9_3ALSA-2023:6570
AlmaLinux:8tomcat-webapps1:9.0.62-27.el8_9ALSA-2023:7065
AlmaLinux:9tomcat-webapps1:9.0.62-37.el9_3ALSA-2023:6570
Debian:12libcommons-fileupload-java1.4-2DEBIAN-CVE-2023-24998
Debian:13libcommons-fileupload-java1.4-2DEBIAN-CVE-2023-24998
Debian:14libcommons-fileupload-java1.4-2DEBIAN-CVE-2023-24998
Debian:12tomcat1010.1.5-1DEBIAN-CVE-2023-24998
Debian:13tomcat1010.1.5-1DEBIAN-CVE-2023-24998
Debian:14tomcat1010.1.5-1DEBIAN-CVE-2023-24998
Debian:12tomcat99.0.70-2DEBIAN-CVE-2023-24998
Debian:13tomcat99.0.70-2DEBIAN-CVE-2023-24998
Debian:14tomcat99.0.70-2DEBIAN-CVE-2023-24998
Mavencommons-fileupload:commons-fileupload1.5GHSA-hfrx-6qgj-fp6c
Mavenorg.apache.tomcat.embed:tomcat-embed-core8.5.88GHSA-hfrx-6qgj-fp6c
Mavenorg.apache.tomcat.embed:tomcat-embed-core11.0.0-M5GHSA-hfrx-6qgj-fp6c
Mavenorg.apache.tomcat.embed:tomcat-embed-core10.1.5GHSA-hfrx-6qgj-fp6c
Mavenorg.apache.tomcat.embed:tomcat-embed-core9.0.71GHSA-hfrx-6qgj-fp6c
Mavenorg.apache.tomcat:tomcat-catalina11.0.0-M5GHSA-hfrx-6qgj-fp6c
Mavenorg.apache.tomcat:tomcat-catalina8.5.88GHSA-hfrx-6qgj-fp6c
Mavenorg.apache.tomcat:tomcat-catalina9.0.71GHSA-hfrx-6qgj-fp6c
Mavenorg.apache.tomcat:tomcat-catalina10.1.5GHSA-hfrx-6qgj-fp6c
Mavenorg.apache.tomcat:tomcat-coyote8.5.88GHSA-hfrx-6qgj-fp6c
Mavenorg.apache.tomcat:tomcat-coyote9.0.71GHSA-hfrx-6qgj-fp6c
Mavenorg.apache.tomcat:tomcat-coyote11.0.0-M5GHSA-hfrx-6qgj-fp6c
Mavenorg.apache.tomcat:tomcat-coyote10.1.5GHSA-hfrx-6qgj-fp6c
Ubuntu:22.04:LTSlibcommons-fileupload-javano fix listedUBUNTU-CVE-2023-24998
Ubuntu:24.04:LTSlibcommons-fileupload-javano fix listedUBUNTU-CVE-2023-24998
Ubuntu:25.10libcommons-fileupload-javano fix listedUBUNTU-CVE-2023-24998
Ubuntu:26.04:LTSlibcommons-fileupload-javano fix listedUBUNTU-CVE-2023-24998
Ubuntu:26.10libcommons-fileupload-javano fix listedUBUNTU-CVE-2023-24998

Affected products (as reported)

VendorProductVersions
Apache Software Foundation Apache Commons FileUpload 0 – before 1.5
Apache Software Foundation Apache Tomcat 11.0.0-M110.0.0-M1 – through 10.1.49.0.0-M1 – through 9.0.708.5.0 – through 8.5.84

Weakness: CWE-770 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

References