CVE-2023-24998
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.
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
No mitigations published for this CVE yet.
The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or โ if you've already worked around this in production โ publish your fix to the community-verified tier.
โ Propose a mitigation on Community โ Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here withsource_tier=community-verified.
OS impact
SUSE Affected 1 release
| Version | Status | Fixed in |
|---|---|---|
| โ | Affected | โ |
AlmaLinux Fixed 1 release
| Version | Status | Fixed in |
|---|---|---|
| 9 | Fixed | tomcat-9.0.62-37.el9_3.noarch.rpm |
Arch Fixed 1 release
| Version | Status | Fixed in |
|---|---|---|
| โ | Fixed | 9.0.71-1 |
Debian Fixed 5 releases
| Version | Status | Fixed in |
|---|---|---|
| trixie | Fixed | 1.4-2 |
| sid | Fixed | 1.4-2 |
| forky | Fixed | 1.4-2 |
| bullseye | Fixed | 1.4-1+deb11u1 |
| bookworm | Fixed | 1.4-2 |
Red Hat Fixed 2 releases
| Version | Status | Fixed in |
|---|---|---|
| 9 | Fixed | โ |
| 8 | Fixed | โ |
Package impact
| Ecosystem | Package | Vulnerable | Fixed |
|---|---|---|---|
| Maven | commons-fileupload:commons-fileupload | <1.5 | 1.5 |
| Maven | org.apache.tomcat:tomcat-coyote | >=10.1.0-M1,<10.1.5 | 10.1.5 |
| Maven | org.apache.tomcat:tomcat-coyote | >=11.0.0-M2,<11.0.0-M5 | 11.0.0-M5 |
| Maven | org.apache.tomcat:tomcat-coyote | >=8.5.85,<8.5.88 | 8.5.88 |
| Maven | org.apache.tomcat:tomcat-coyote | >=9.0.0-M1,<9.0.71 | 9.0.71 |
| Maven | org.apache.tomcat.embed:tomcat-embed-core | >=10.1.0-M1,<10.1.5 | 10.1.5 |
| Maven | org.apache.tomcat.embed:tomcat-embed-core | >=11.0.0-M2,<11.0.0-M5 | 11.0.0-M5 |
| Maven | org.apache.tomcat.embed:tomcat-embed-core | >=8.5.85,<8.5.88 | 8.5.88 |
| Maven | org.apache.tomcat.embed:tomcat-embed-core | >=9.0.0-M1,<9.0.71 | 9.0.71 |
References
- https://access.redhat.com/errata/RHSA-2023:6570
- https://www.suse.com/security/cve/CVE-2023-24998.html
- https://nvd.nist.gov/vuln/detail/CVE-2023-24998
- https://github.com/apache/commons-fileupload/commit/e20c04990f7420ca917e96a84cec58b13a1b3d17
- https://github.com/apache/tomcat/commit/8a2285f13affa961cc65595aad999db5efae45ce
- https://github.com/apache/tomcat/commit/9ca96c8c1eba86c0aaa2e6be581ba2a7d4d4ae6e
- https://github.com/apache/tomcat/commit/cf77cc545de0488fb89e24294151504a7432df74
- https://github.com/apache/tomcat/commit/d53d8e7f77042cc32a3b98f589496a1ef5088e38
- https://www.debian.org/security/2023/dsa-5522
- https://tomcat.apache.org/security-9.html
- https://tomcat.apache.org/security-8.html
- https://tomcat.apache.org/security-11.html
- https://tomcat.apache.org/security-10.html
- https://security.netapp.com/advisory/ntap-20241108-0002
- https://security.netapp.com/advisory/ntap-20230302-0013
- https://security.gentoo.org/glsa/202305-37
- https://lists.debian.org/debian-lts-announce/2025/07/msg00008.html
- https://lists.debian.org/debian-lts-announce/2023/10/msg00020.html
- https://lists.apache.org/thread/4xl4l09mhwg4vgsk7dxqogcjrobrrdoy
- https://github.com/search?q=repo%3Aapache%2Ftomcat+util.http+path%3A%2F%5Eres%5C%2Fbnd%5C%2F%2F&type=code
- https://github.com/apache/commons-fileupload
- https://commons.apache.org/proper/commons-fileupload/security-reports.html
- http://www.openwall.com/lists/oss-security/2023/05/22/1
- https://security-tracker.debian.org/tracker/CVE-2023-24998
- https://access.redhat.com/errata/RHSA-2023:7065
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.