Allocation of Resources Without Limits or Throttling
Apache Commons FileUpload through 1.4 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. NOTE: Checkmarx strongly recommends our customers to update Apache Commons FileUpload to version 1.5 and enable the new configuration option (FileUploadBase#setFileCountMax). Updating to version 1.5 but not enabling the new configuration option will still leave you vulnerable to CVE-2023-24998.
CWE-770 - 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.