Name | 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. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
References | DLA-3617-1, DSA-5522-1 |
Debian Bugs | 1031733 |
Vulnerable and fixed packages
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|
libcommons-fileupload-java (PTS) | bullseye | 1.4-1 | vulnerable |
| bookworm | 1.4-2 | fixed |
| sid, trixie | 1.5-1 | fixed |
tomcat10 (PTS) | bookworm, bookworm (security) | 10.1.6-1+deb12u2 | fixed |
| sid, trixie | 10.1.30-1 | fixed |
tomcat9 (PTS) | bullseye (security), bullseye | 9.0.43-2~deb11u10 | fixed |
| bookworm | 9.0.70-2 | fixed |
| sid, trixie | 9.0.95-1 | fixed |
The information below is based on the following data on fixed versions.
Notes
[bullseye] - tomcat9 <postponed> (Minor issue, fix along with future update)
[bullseye] - libcommons-fileupload-java <no-dsa> (Minor issue)
[buster] - libcommons-fileupload-java <no-dsa> (Minor issue)
https://github.com/apache/commons-fileupload/commit/e20c04990f7420ca917e96a84cec58b13a1b3d17 (commons-fileupload-1.5)
Caution: patch is no-op by default, reverse-dependencies would need to provide updated settings
https://lists.apache.org/thread/4xl4l09mhwg4vgsk7dxqogcjrobrrdoy
https://github.com/apache/tomcat/commit/8a2285f13affa961cc65595aad999db5efae45ce (10.1.5)
https://github.com/apache/tomcat/commit/cf77cc545de0488fb89e24294151504a7432df74 (9.0.71)
When fixing the issue make sure to apply complete fixes to not open CVE-2023-28709
Starting with 9.0.70-2 Tomcat9 no longer ships the server stack, using that as the fixed version