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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Apache Software Foundation | Apache Struts | 2.0.0 – ≤ 2.5.31, 6.1.2.1 – ≤ 6.3.0 | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Maven | org.apache.struts:struts2-core | >= 6.2.0, < 6.3.0.1 | 6.3.0.1 | GHSA-729q-fcgp-r5xh |
| Maven | org.apache.struts:struts2-core | >= 6.0.0, < 6.1.2.2 | 6.1.2.2 | GHSA-729q-fcgp-r5xh |
| Maven | org.apache.struts:struts2-core | < 2.5.32 | 2.5.32 | GHSA-729q-fcgp-r5xh |
Advisories 2
- WID-SEC-2023-2346 Apache Struts: Schwachstelle ermöglicht Denial of Service BSI CERT-Bund (WID) · Sep 2, 2024
- NCSC-2024-0231 Kwetsbaarheden verholpen in Atlassian producten NCSC-NL (Netherlands) · May 22, 2024
References
- https://lists.apache.org/thread/6wj530kh3ono8phr642y9sqkl67ys2ft mailing-list vendor-advisory
- https://www.openwall.com/lists/oss-security/2023/12/09/1