CVE-2023-24998
HIGH 7.5CVSS 3.1Apache Commons FileUpload denial of service vulnerability
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.
- Published
- 20 Feb 2023
- Last modified
- 7 Oct 2026
- Assigned by
- security@apache.org
- NVD status
- Modified
- Weakness
- CWE-770
- Also known as
- GHSA-hfrx-6qgj-fp6c
- Sources
- NVDJSONOSV GHSA-hfrx-6qgj-fp6cJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | apache | commons_fileuploadcpe:2.3:a:apache:commons_fileupload:*:*:*:*:*:*:*:* |
>= 1.0, < 1.5 | 1.5 |
| NVD | apache | commons_fileuploadcpe:2.3:a:apache:commons_fileupload:1.0:beta:*:*:*:*:*:* |
= 1.0 | |
| NVD | debian | debian_linuxcpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:* |
= 9.0 | |
| NVD | debian | debian_linuxcpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:* |
= 11.0 | |
| OSV | Maven | commons-fileupload:commons-fileupload | < 1.5 | 1.5 |
| OSV | Maven | org.apache.tomcat:tomcat-coyote | >= 10.1.0-M1, < 10.1.5 | 10.1.5 |
| OSV | Maven | org.apache.tomcat:tomcat-coyote | >= 11.0.0-M2, < 11.0.0-M5 | 11.0.0-M5 |
| OSV | Maven | org.apache.tomcat:tomcat-coyote | >= 8.5.85, < 8.5.88 | 8.5.88 |
| OSV | Maven | org.apache.tomcat:tomcat-coyote | >= 9.0.0-M1, < 9.0.71 | 9.0.71 |
| OSV | Maven | org.apache.tomcat.embed:tomcat-embed-core | >= 10.1.0-M1, < 10.1.5 | 10.1.5 |
| OSV | Maven | org.apache.tomcat.embed:tomcat-embed-core | >= 11.0.0-M2, < 11.0.0-M5 | 11.0.0-M5 |
| OSV | Maven | org.apache.tomcat.embed:tomcat-embed-core | >= 8.5.85, < 8.5.88 | 8.5.88 |
| OSV | Maven | org.apache.tomcat.embed:tomcat-embed-core | >= 9.0.0-M1, < 9.0.71 | 9.0.71 |
| OSV | Maven | org.apache.tomcat:tomcat-catalina | >= 10.1.0-M1, < 10.1.5 | 10.1.5 |
| OSV | Maven | org.apache.tomcat:tomcat-catalina | >= 11.0.0-M2, < 11.0.0-M5 | 11.0.0-M5 |
| OSV | Maven | org.apache.tomcat:tomcat-catalina | >= 8.5.85, < 8.5.88 | 8.5.88 |
| OSV | Maven | org.apache.tomcat:tomcat-catalina | >= 9.0.0-M1, < 9.0.71 | 9.0.71 |
References
- http://www.openwall.com/lists/oss-security/2023/05/22/1 · Mailing List, WEB
- https://lists.apache.org/thread/4xl4l09mhwg4vgsk7dxqogcjrobrrdoy · Mailing List, Vendor Advisory, WEB
- https://lists.debian.org/debian-lts-announce/2023/10/msg00020.html · Third Party Advisory, WEB
- https://security.gentoo.org/glsa/202305-37 · Third Party Advisory, WEB
- https://www.debian.org/security/2023/dsa-5522 · Third Party Advisory, WEB
- https://lists.debian.org/debian-lts-announce/2025/07/msg00008.html · WEB
- https://security.netapp.com/advisory/ntap-20230302-0013/ · WEB
- https://security.netapp.com/advisory/ntap-20241108-0002/ · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2023-24998 · ADVISORY
- https://github.com/apache/commons-fileupload/commit/e20c04990f7420ca917e96a84cec58b13a1b3d17 · WEB
- https://github.com/apache/tomcat/commit/8a2285f13affa961cc65595aad999db5efae45ce · WEB
- https://github.com/apache/tomcat/commit/9ca96c8c1eba86c0aaa2e6be581ba2a7d4d4ae6e · WEB
- https://github.com/apache/tomcat/commit/cf77cc545de0488fb89e24294151504a7432df74 · WEB
- https://github.com/apache/tomcat/commit/d53d8e7f77042cc32a3b98f589496a1ef5088e38 · WEB
- https://tomcat.apache.org/security-9.html · WEB
- https://tomcat.apache.org/security-8.html · WEB
- https://tomcat.apache.org/security-11.html · WEB
- https://tomcat.apache.org/security-10.html · WEB
- https://github.com/search?q=repo%3Aapache%2Ftomcat+util.http+path%3A%2F%5Eres%5C%2Fbnd%5C%2F%2F&type=code · WEB
- https://github.com/apache/commons-fileupload · PACKAGE
- https://commons.apache.org/proper/commons-fileupload/security-reports.html · WEB
History
- 25 Nov 2026 20:35 UTC · NVD: first stored (published 20 Feb 2023)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 20 Feb 2023)