Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. org.apache.tomcat.embed/tomcat-embed-core
  4. ›
  5. CVE-2023-24998

CVE-2023-24998: Apache Commons FileUpload denial of service vulnerability

February 20, 2023 (updated February 13, 2025)

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.

References

  • commons.apache.org/proper/commons-fileupload/security-reports.html
  • github.com/advisories/GHSA-hfrx-6qgj-fp6c
  • github.com/apache/commons-fileupload
  • github.com/apache/commons-fileupload/commit/e20c04990f7420ca917e96a84cec58b13a1b3d17
  • github.com/apache/tomcat/commit/8a2285f13affa961cc65595aad999db5efae45ce
  • github.com/apache/tomcat/commit/9ca96c8c1eba86c0aaa2e6be581ba2a7d4d4ae6e
  • github.com/apache/tomcat/commit/cf77cc545de0488fb89e24294151504a7432df74
  • github.com/apache/tomcat/commit/d53d8e7f77042cc32a3b98f589496a1ef5088e38
  • github.com/search?q=repo%3Aapache%2Ftomcat+util.http+path%3A%2F%5Eres%5C%2Fbnd%5C%2F%2F&type=code
  • lists.apache.org/thread/4xl4l09mhwg4vgsk7dxqogcjrobrrdoy
  • lists.debian.org/debian-lts-announce/2023/10/msg00020.html
  • nvd.nist.gov/vuln/detail/CVE-2023-24998
  • security.gentoo.org/glsa/202305-37
  • security.netapp.com/advisory/ntap-20230302-0013
  • tomcat.apache.org/security-10.html
  • tomcat.apache.org/security-11.html
  • tomcat.apache.org/security-8.html
  • tomcat.apache.org/security-9.html
  • www.debian.org/security/2023/dsa-5522

Code Behaviors & Features

Detect and mitigate CVE-2023-24998 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 8.5.85 before 8.5.88, all versions starting from 9.0.0-M1 before 9.0.71, all versions starting from 10.1.0-M1 before 10.1.5, all versions starting from 11.0.0-M2 before 11.0.0-M5

Fixed versions

  • 10.1.5
  • 11.0.0-M5
  • 8.5.88
  • 9.0.71

Solution

Upgrade to versions 10.1.5, 11.0.0-M5, 8.5.88, 9.0.71 or above.

Impact 7.5 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Learn more about CVSS

Weakness

  • CWE-770: Allocation of Resources Without Limits or Throttling

Source file

maven/org.apache.tomcat.embed/tomcat-embed-core/CVE-2023-24998.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:14:46 +0000.