Apache Commons FileUpload DoS via unlimited upload parts before 1.5
CVE-2023-24998 Published on February 20, 2023
Apache Commons FileUpload, Apache Tomcat: FileUpload DoS with excessive parts
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.
Weakness Type
Allocation of Resources Without Limits or Throttling
The software allocates a reusable resource or group of resources on behalf of an actor without imposing any restrictions on the size or number of resources that can be allocated, in violation of the intended security policy for that actor.
Products Associated with CVE-2023-24998
You can be notified by email with stack.watch whenever vulnerabilities like CVE-2023-24998 are published in these products:
Affected Versions
Apache Software Foundation Apache Commons FileUpload:- Before 1.5 is affected.
- Version 11.0.0-M1 is affected.
- Version 10.0.0-M1, <= 10.1.4 is affected.
- Version 9.0.0-M1, <= 9.0.70 is affected.
- Version 8.5.0, <= 8.5.84 is affected.
Vulnerable Packages
The following package name and versions may be associated with CVE-2023-24998
| Package Manager | Vulnerable Package | Versions | Fixed In |
|---|---|---|---|
| maven | org.owasp.esapi:esapi | < 2.5.2.0 | 2.5.2.0 |
Exploit Probability
EPSS (Exploit Prediction Scoring System) scores estimate the probability that a vulnerability will be exploited in the wild within the next 30 days. The percentile shows you how this score compares to all other vulnerabilities.