What’s Vulnerable › Vulnerabilities
CVE-2023-24998: Apache Commons FileUpload, Apache Tomcat: FileUpload DoS with excessive parts
- Severity: high (CVSS 7.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 48.8% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2023-02-20 · updated 2026-10-07
- Weakness: CWE-770
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 products
- Apache Software Foundation Apache Commons FileUpload: from 1.0 before 1.5; 1.0-beta — fixed in 1.5
- Debian Linux: 9.0, 11.0
How to fix
Upgrade to a fixed version: Apache Software Foundation Apache Commons FileUpload 1.5. Check the vendor advisory for mitigations.
References
- http://www.openwall.com/lists/oss-security/2023/05/22/1
- https://lists.apache.org/thread/4xl4l09mhwg4vgsk7dxqogcjrobrrdoy
- https://lists.debian.org/debian-lts-announce/2023/10/msg00020.html
- https://security.gentoo.org/glsa/202305-37
- https://www.debian.org/security/2023/dsa-5522
- http://www.openwall.com/lists/oss-security/2023/05/22/1
- https://lists.apache.org/thread/4xl4l09mhwg4vgsk7dxqogcjrobrrdoy
- https://lists.debian.org/debian-lts-announce/2023/10/msg00020.html
- https://lists.debian.org/debian-lts-announce/2025/07/msg00008.html
- https://security.gentoo.org/glsa/202305-37
- https://security.netapp.com/advisory/ntap-20230302-0013/
- https://security.netapp.com/advisory/ntap-20241108-0002/
Get alerted when CVE-2023-24998 or the next vulnerability affects your stack