What’s Vulnerable › Vulnerabilities

CVE-2023-24998: Apache Commons FileUpload, Apache Tomcat: FileUpload DoS with excessive parts

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.

Affected products

How to fix

Upgrade to a fixed version: Apache Software Foundation Apache Commons FileUpload 1.5. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2023-24998 or the next vulnerability affects your stack