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.
Remediation
References
http://www.openwall.com/lists/oss-security/2023/05/22/1
https://lists.apache.org/thread/4xl4l09mhwg4vgsk7dxqogcjrobrrdoy
https://lists.debian.org/debian-lts-announce/2023/10/msg00020.html
https://security.gentoo.org/glsa/202305-37
https://www.debian.org/security/2023/dsa-5522
https://lists.debian.org/debian-lts-announce/2025/07/msg00008.html
https://security.netapp.com/advisory/ntap-20230302-0013/
https://security.netapp.com/advisory/ntap-20241108-0002/
Related Vulnerabilities
CVE-2022-31147 Vulnerability in maven package org.webjars.bower:jquery-validation
CVE-2023-36542 Vulnerability in maven package org.apache.nifi:nifi-dbcp-service
CVE-2021-43841 Vulnerability in maven package org.xwiki.platform:xwiki-platform-oldcore
CVE-2022-1274 Vulnerability in maven package org.keycloak:keycloak-services
CVE-2022-29257 Vulnerability in maven package org.webjars.npm:electron