# CVE-2023-24998: Apache Commons FileUpload, Apache Tomcat: FileUpload DoS with excessive parts

- Severity: High 7.5 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 48.8%, higher than 98% of CVEs (2026-12-01)
- Published: 2023-02-20T15:57:07.372Z
- Modified: 2026-10-07T17:16:43.860Z
- Also known as: GHSA-hfrx-6qgj-fp6c
- Weaknesses: CWE-770
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: apache

## 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.

(As written by CVE List.)

## Affected

- Apache Software Foundation Apache Commons FileUpload: before 1.5
- Apache Software Foundation Apache Tomcat: 11.0.0-M1; from 10.0.0-M1 up to 10.1.4; from 9.0.0-M1 up to 9.0.70; from 8.5.0 up to 8.5.84
- commons-fileupload:commons-fileupload (Maven): before 1.5
- org.apache.tomcat:tomcat-coyote (Maven): from 10.1.0-M1 before 10.1.5; from 11.0.0-M2 before 11.0.0-M5; from 8.5.85 before 8.5.88; from 9.0.0-M1 before 9.0.71
- org.apache.tomcat.embed:tomcat-embed-core (Maven): from 10.1.0-M1 before 10.1.5; from 11.0.0-M2 before 11.0.0-M5; from 8.5.85 before 8.5.88; from 9.0.0-M1 before 9.0.71
- org.apache.tomcat:tomcat-catalina (Maven): from 10.1.0-M1 before 10.1.5; from 11.0.0-M2 before 11.0.0-M5; from 8.5.85 before 8.5.88; from 9.0.0-M1 before 9.0.71
- apache commons_fileupload: from 1.0 before 1.5; 1.0
- debian debian_linux: 9.0; 11.0

## Every score

- CISA-ADP: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- GitHub: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://lists.apache.org/thread/4xl4l09mhwg4vgsk7dxqogcjrobrrdoy> (mailing-list, vendor-advisory, web)
- <http://www.openwall.com/lists/oss-security/2023/05/22/1> (mailing-list, 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/2023/10/msg00020.html> (third-party-advisory, web)
- <https://security.netapp.com/advisory/ntap-20230302-0013/>
- <https://lists.debian.org/debian-lts-announce/2025/07/msg00008.html> (web)
- <https://security.netapp.com/advisory/ntap-20241108-0002/>
- <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://security.netapp.com/advisory/ntap-20241108-0002> (web)
- <https://security.netapp.com/advisory/ntap-20230302-0013> (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)

## Sources

- CVE List: [CVE-2023-24998](https://www.cve.org/CVERecord?id=CVE-2023-24998), CVE Terms of Use, modified 2026-10-07
- GitHub Advisory Database: [GHSA-hfrx-6qgj-fp6c](https://github.com/advisories/GHSA-hfrx-6qgj-fp6c), CC-BY-4.0, modified 2026-08-07
- NVD: [CVE-2023-24998](https://nvd.nist.gov/vuln/detail/CVE-2023-24998), Public domain, modified 2026-10-07

---

Page: https://cve.day/CVE-2023-24998 · Whole record: https://cve.day/CVE-2023-24998.json · Rebuilt by cve.day 2026-11-25T22:58:22.082Z
