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, ELA-959-1, ELA-965-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) | jessie, jessie (lts) | 1.3.1-1+deb8u1 | vulnerable |
| stretch | 1.3.2-2 | vulnerable |
| buster | 1.3.3-1 | vulnerable |
| bullseye | 1.4-1 | vulnerable |
| bookworm | 1.4-2 | fixed |
| sid, trixie | 1.5-1 | fixed |
tomcat10 (PTS) | bookworm (security), bookworm | 10.1.6-1+deb12u2 | fixed |
| sid, trixie | 10.1.31-1 | fixed |
tomcat7 (PTS) | jessie, jessie (lts) | 7.0.56-3+really7.0.109-1+deb8u6 | fixed |
| stretch | 7.0.75-1 | vulnerable |
tomcat8 (PTS) | jessie, jessie (lts) | 8.0.14-1+deb8u28 | fixed |
| stretch (security) | 8.5.54-0+deb9u8 | vulnerable |
| stretch (lts), stretch | 8.5.54-0+deb9u15 | fixed |
tomcat9 (PTS) | buster (security), buster, buster (lts) | 9.0.31-1~deb10u12 | fixed |
| 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
[stretch] - libcommons-fileupload-java <ignored> (Minor issue; new feature is disabled by default; requires update of reverse-dependencies)