GitHub Advisoryadvisory · Maven

GHSA-hfrx-6qgj-fp6c Apache Commons FileUpload denial of service vulnerability

HIGH Published 2023-02-20 Modified 2026-06-18 Official page ↗
Aliases
CVE-2023-24998
Ecosystem
Maven
Packages
commons-fileupload:commons-fileupload, org.apache.tomcat:tomcat-coyote, org.apache.tomcat.embed:tomcat-embed-core, org.apache.tomcat:tomcat-catalina
Severity
High
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Weaknesses
CWE-770
Reviewed
2023-02-22

Affected packages

• Maven commons-fileupload:commons-fileupload: < 1.5 → fixed in 1.5 • Maven org.apache.tomcat:tomcat-coyote: >= 10.1.0-M1, < 10.1.5 → fixed in 10.1.5 • Maven org.apache.tomcat:tomcat-coyote: >= 11.0.0-M2, < 11.0.0-M5 → fixed in 11.0.0-M5 • Maven org.apache.tomcat:tomcat-coyote: >= 8.5.85, < 8.5.88 → fixed in 8.5.88 • Maven org.apache.tomcat:tomcat-coyote: >= 9.0.0-M1, < 9.0.71 → fixed in 9.0.71 • Maven org.apache.tomcat.embed:tomcat-embed-core: >= 10.1.0-M1, < 10.1.5 → fixed in 10.1.5 • Maven org.apache.tomcat.embed:tomcat-embed-core: >= 11.0.0-M2, < 11.0.0-M5 → fixed in 11.0.0-M5 • Maven org.apache.tomcat.embed:tomcat-embed-core: >= 8.5.85, < 8.5.88 → fixed in 8.5.88 • Maven org.apache.tomcat.embed:tomcat-embed-core: >= 9.0.0-M1, < 9.0.71 → fixed in 9.0.71 • Maven org.apache.tomcat:tomcat-catalina: >= 10.1.0-M1, < 10.1.5 → fixed in 10.1.5 • Maven org.apache.tomcat:tomcat-catalina: >= 11.0.0-M2, < 11.0.0-M5 → fixed in 11.0.0-M5 • Maven org.apache.tomcat:tomcat-catalina: >= 8.5.85, < 8.5.88 → fixed in 8.5.88 • Maven org.apache.tomcat:tomcat-catalina: >= 9.0.0-M1, < 9.0.71 → fixed in 9.0.71

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.

Related

Alias · CVE (1)

  • CVE-2023-24998 Apache Commons FileUpload before 1.5 does not limit the number of request parts to be processed resulting in the possibility of an attacker… vulnerability

Weakness · CWE (1)

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

References