CVE-2023-24998
FileUpload: FileUpload DoS with excessive parts
Overview
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: OX vulnerability database
Severity
7.5 · HIGH
CVSS 3.1 base score, scored by NVD.
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- None
- Integrity
- None
- Availability
- High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Weakness: CWE-770
Affected packages · 6
| Ecosystem | Package | Vulnerable | Fixed in |
|---|---|---|---|
| Maven | commons-fileupload:commons-fileupload | <1.5 | 1.5 |
| Maven | org.apache.tomcat:tomcat-catalina | >=10.1.0-M1, <10.1.5>=11.0.0-M2, <11.0.0-M5>=8.5.85, <8.5.88>=9.0.0-M1, <9.0.71 | 10.1.511.0.0-M58.5.889.0.71 |
| Maven | org.apache.tomcat:tomcat-coyote | >=10.1.0-M1, <10.1.5>=11.0.0-M2, <11.0.0-M5>=8.5.85, <8.5.88>=9.0.0-M1, <9.0.71 | 10.1.511.0.0-M58.5.889.0.71 |
| Maven | org.apache.tomcat.embed:tomcat-embed-core | >=10.1.0-M1, <10.1.5>=11.0.0-M2, <11.0.0-M5>=8.5.85, <8.5.88>=9.0.0-M1, <9.0.71 | 10.1.511.0.0-M58.5.889.0.71 |
| Seal Maven | org.apache.tomcat.embed:tomcat-embed-core | >=9.0.58+sp0, <9.0.58+sp2>=9.0.68+sp0, <9.0.68+sp2>=9.0.69+sp0, <9.0.69+sp2 | 9.0.58+sp29.0.68+sp29.0.69+sp2 |
| Seal Maven | seal.sp1.org.apache.tomcat.embed:tomcat-embed-core | >=9.0.58, <9.0.58+sp999>=9.0.68, <9.0.68+sp999>=9.0.69, <9.0.69+sp999 | 9.0.58+sp9999.0.68+sp9999.0.69+sp999 |
Open a package to see all its vulnerabilities.
Operating systems · 45 fixes
Oracle Linux 2 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 8 | tomcat +7 | 1:9.0.62-27.el8_9 |
| 9 | tomcat +7 | 1:9.0.62-37.el9_3 |
Red Hat 4 releases · 5 packages
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 7 | jenkins +10 | affected | — |
| 7 | jenkins +1 | eol | — |
| 7 | jws5-tomcat-native | 0:1.2.31-15.redhat_15.el7jws | RHSA-2023:4909 |
| 7 | jws5-tomcat +11 | 0:9.0.62-15.redhat_00013.1.el7jws | RHSA-2023:4909 |
| 8 | jenkins | affected | — |
| 8 | pki-servlet-4-0-api +1 | wont fix | — |
10 more rows
SUSE Linux Enterprise 3 releases · 3 packages
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 12.5 | jakarta-commons-fileupload +1 | 1.1.1-122.8.1 | SUSE-SU-2023:0758-1 |
| 12.5 | tomcat +8 | 9.0.36-3.99.1 | SUSE-SU-2023:0696-1 |
| 15.4 | apache-commons-fileupload | 1.5-150200.3.9.1 | SUSE-SU-2023:2390-1 |
| 15.4 | tomcat +6 | 9.0.43-150200.35.1 | SUSE-SU-2023:1769-1 |
| 15.5 | apache-commons-fileupload | 1.5-150200.3.9.1 | SUSE-SU-2023:2390-1 |
| 15.5 | tomcat +6 | 9.0.75-150200.41.1 | SUSE-SU-2023:2505-1 |
alma 2 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 8 | tomcat +7 | 1:9.0.62-27.el8_9 |
| 9 | tomcat +7 | 1:9.0.62-37.el9_3 |
debian 5 releases · 3 packages
| Release | Package | Fixed in |
|---|---|---|
| 10 | libcommons-fileupload-java | affected |
| 10 | tomcat9 | 9.0.31-1~deb10u9 |
| 11 | libcommons-fileupload-java | 1.4-1+deb11u1 |
| 11 | tomcat9 | 9.0.43-2~deb11u7 |
| 12 | libcommons-fileupload-java | 1.4-2 |
| 12 | tomcat10 | 10.1.5-1 |
7 more rows
echo 1 release · 3 packages
| Release | Package | Fixed in |
|---|---|---|
| libcommons-fileupload-java | 1.4-2 | |
| tomcat10 | 10.1.5-1 | |
| tomcat9 | 9.0.70-2 |
openSUSE 1 release · 3 packages
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Tumbleweed | apache-commons-fileupload +1 | 1.5-1.1 | openSUSE-SU-2024:12950-1 |
| Tumbleweed | tomcat10 +10 | 10.1.14-1.1 | openSUSE-SU-2024:13441-1 |
| Tumbleweed | tomcat +10 | 9.0.43-14.1 | openSUSE-SU-2024:12750-1 |
References
- www.openwall.com http://www.openwall.com/lists/oss-security/2023/05/22/1
- access.redhat.com https://access.redhat.com/errata/RHSA-2023:6570
- access.redhat.com https://access.redhat.com/security/cve/CVE-2023-24998
- bugzilla.redhat.com https://bugzilla.redhat.com/2172298
- bugzilla.redhat.com https://bugzilla.redhat.com/2180856
- bugzilla.redhat.com https://bugzilla.redhat.com/2210321
- commons.apache.org https://commons.apache.org/proper/commons-fileupload/security-reports.html
- commons.apache.org https://commons.apache.org/proper/commons-fileupload/security-reports.html#Fixed_in_Apache_Commons_FileUpload_1.5
- errata.almalinux.org https://errata.almalinux.org/9/ALSA-2023-6570.html
- github.com https://github.com/apache/commons-fileupload
Show all 33 references
- github.com https://github.com/apache/commons-fileupload/commit/e20c04990f7420ca917e96a84cec58b13a1b3d17
- github.com https://github.com/apache/tomcat/commit/8a2285f13affa961cc65595aad999db5efae45ce
- github.com https://github.com/apache/tomcat/commit/9ca96c8c1eba86c0aaa2e6be581ba2a7d4d4ae6e
- github.com https://github.com/apache/tomcat/commit/cf77cc545de0488fb89e24294151504a7432df74
- github.com https://github.com/apache/tomcat/commit/d53d8e7f77042cc32a3b98f589496a1ef5088e38
- github.com https://github.com/search?q=repo%3Aapache%2Ftomcat+util.http+path%3A%2F%5Eres%5C%2Fbnd%5C%2F%2F&type=code
- linux.oracle.com https://linux.oracle.com/cve/CVE-2023-24998.html
- linux.oracle.com https://linux.oracle.com/errata/ELSA-2023-7065.html
- lists.apache.org https://lists.apache.org/thread/4xl4l09mhwg4vgsk7dxqogcjrobrrdoy
- lists.debian.org https://lists.debian.org/debian-lts-announce/2023/10/msg00020.html
- lists.debian.org https://lists.debian.org/debian-lts-announce/2025/07/msg00008.html
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2023-24998
- security.gentoo.org https://security.gentoo.org/glsa/202305-37
- security.netapp.com https://security.netapp.com/advisory/ntap-20230302-0013
- security.netapp.com https://security.netapp.com/advisory/ntap-20230302-0013/
- security.netapp.com https://security.netapp.com/advisory/ntap-20241108-0002
- security.netapp.com https://security.netapp.com/advisory/ntap-20241108-0002/
- tomcat.apache.org https://tomcat.apache.org/security-10.html
- tomcat.apache.org https://tomcat.apache.org/security-11.html
- tomcat.apache.org https://tomcat.apache.org/security-8.html
- tomcat.apache.org https://tomcat.apache.org/security-9.html
- www.cve.org https://www.cve.org/CVERecord?id=CVE-2023-24998
- www.debian.org https://www.debian.org/security/2023/dsa-5522
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.