Description
When a Multipart request is performed but some of the fields exceed the maxStringLength limit, the upload files will remain in struts.multipart.saveDir even if the request has been denied. Users are recommended to upgrade to versions Struts 2.5.32 or 6.1.2.2 or Struts 6.3.0.1 or greater, which fixe this issue.
Remediation
References
https://lists.apache.org/thread/6wj530kh3ono8phr642y9sqkl67ys2ft
https://www.openwall.com/lists/oss-security/2023/12/09/1
Related Vulnerabilities
CVE-2021-23353 Vulnerability in maven package org.webjars.bowergithub.mrrio:jspdf
CVE-2022-2217 Vulnerability in maven package org.webjars.npm:parse-url
CVE-2019-10316 Vulnerability in maven package org.jenkins-ci.plugins:aqua-microscanner
CVE-2019-16566 Vulnerability in maven package org.jenkins-ci.plugins:teamconcert
CVE-2020-14340 Vulnerability in maven package org.jboss.xnio:xnio-nio