CVE-2023-24998
JSON

7.5high

Apache Commons FileUpload, Apache Tomcat: FileUpload DoS with excessive parts

Severity
7.5high CVSS:3.1 by CISA-ADP
Exploit likelihood
48.8% (higher than 98% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
apache
Also known as
GHSA-hfrx-6qgj-fp6c

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

Product or packageVersionsReported by
Apache Software Foundation Apache Commons FileUploadbefore 1.5CVE List
Apache Software Foundation Apache Tomcat11.0.0-M1, from 10.0.0-M1 up to 10.1.4, from 9.0.0-M1 up to 9.0.70, from 8.5.0 up to 8.5.84CVE List
commons-fileupload:commons-fileupload (Maven)before 1.5GitHub Advisory Database
org.apache.tomcat:tomcat-coyote (Maven)from 10.1.0-M1 before 10.1.5, from 11.0.0-M2 before 11.0.0-M5, from 8.5.85 before 8.5.88, from 9.0.0-M1 before 9.0.71GitHub Advisory Database
org.apache.tomcat.embed:tomcat-embed-core (Maven)from 10.1.0-M1 before 10.1.5, from 11.0.0-M2 before 11.0.0-M5, from 8.5.85 before 8.5.88, from 9.0.0-M1 before 9.0.71GitHub Advisory Database
org.apache.tomcat:tomcat-catalina (Maven)from 10.1.0-M1 before 10.1.5, from 11.0.0-M2 before 11.0.0-M5, from 8.5.85 before 8.5.88, from 9.0.0-M1 before 9.0.71GitHub Advisory Database
apache commons_fileuploadfrom 1.0 before 1.5, 1.0NVD
debian debian_linux9.0, 11.0NVD

All scores

CISA-ADP7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
GitHub7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
NVD7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Classification

CWE-770

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

References

https://lists.apache.org/thread/4xl4l09mhwg4vgsk7dxqogcjrobrrdoymailing-list, vendor-advisory, web
http://www.openwall.com/lists/oss-security/2023/05/22/1mailing-list, web
https://security.gentoo.org/glsa/202305-37third-party-advisory, web
https://www.debian.org/security/2023/dsa-5522third-party-advisory, web
https://lists.debian.org/debian-lts-announce/2023/10/msg00020.htmlthird-party-advisory, web
https://security.netapp.com/advisory/ntap-20230302-0013/
https://lists.debian.org/debian-lts-announce/2025/07/msg00008.htmlweb
https://security.netapp.com/advisory/ntap-20241108-0002/
https://nvd.nist.gov/vuln/detail/CVE-2023-24998advisory
https://github.com/apache/commons-fileupload/commit/e20c04990f7420ca917e96a84cec58b13a1b3d17web
https://github.com/apache/tomcat/commit/8a2285f13affa961cc65595aad999db5efae45ceweb
https://github.com/apache/tomcat/commit/9ca96c8c1eba86c0aaa2e6be581ba2a7d4d4ae6eweb

Sources

SourceRecordLicence
CVE ListCVE-2023-24998 changed 2026-10-07CVE Terms of Use
GitHub Advisory DatabaseGHSA-hfrx-6qgj-fp6c changed 2026-08-07CC-BY-4.0
NVDCVE-2023-24998 changed 2026-10-07Public domain