CVE-2023-24998
HighCVSS 7.5Exploitation Probability (EPSS)
Very high risk99th percentile - higher than 99% of all known CVEs
Summary
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.
Risk Assessment
An attacker could overload the server by sending many parts in a request, potentially leading to resource exhaustion and service unavailability. This could disrupt applications using Commons FileUpload.
Recommendation
Upgrade Apache Commons FileUpload to version 1.5 or later. Enable and configure the FileUploadBase#setFileCountMax option to limit the number of request parts.
Other vulnerabilities in Apache Commons FileUpload
See all- CVE-2014-0050High
Apache Commons FileUpload before version 1.3.1 has a vulnerability that allows remote attackers to cause a denial of service via a crafted Content-Type header. This can lead to an infinite loop and high CPU consumption.
- CVE-2016-1000031Critical
Apache Commons FileUpload before version 1.3.3 has a vulnerability that allows remote code execution through DiskFileItem file manipulation.
Original NVD description (English source)
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.
Vulnerability data from NVD (NIST) · CISA KEV · EPSS

