CVE-2023-41835
HIGH 7.5CVSS 3.1Apache Struts Improper Control of Dynamically-Managed Code Resources vulnerability
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.
- Published
- 5 Dec 2023
- Last modified
- 17 Jun 2026
- Assigned by
- security@apache.org
- NVD status
- Modified
- Weakness
- CWE-459
- Also known as
- GHSA-729q-fcgp-r5xh
- Sources
- NVDJSONOSV GHSA-729q-fcgp-r5xhJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | apache | strutscpe:2.3:a:apache:struts:*:*:*:*:*:*:*:* |
>= 2.0.0, < 2.5.32 | 2.5.32 |
| NVD | apache | strutscpe:2.3:a:apache:struts:*:*:*:*:*:*:*:* |
>= 6.1.2.1, < 6.3.0.1 | 6.3.0.1 |
| OSV | Maven | org.apache.struts:struts2-core | >= 6.2.0, < 6.3.0.1 | 6.3.0.1 |
| OSV | Maven | org.apache.struts:struts2-core | >= 6.0.0, < 6.1.2.2 | 6.1.2.2 |
| OSV | Maven | org.apache.struts:struts2-core | < 2.5.32 | 2.5.32 |
References
- https://lists.apache.org/thread/6wj530kh3ono8phr642y9sqkl67ys2ft · Mailing List, Release Notes, WEB
- https://www.openwall.com/lists/oss-security/2023/12/09/1 · Mailing List, Third Party Advisory, WEB
- https://security.netapp.com/advisory/ntap-20231013-0001/ · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2023-41835 · ADVISORY
- https://github.com/apache/struts/commit/3292152f8c0a77ee4827beede82b6580478a2c2a · WEB
- https://github.com/apache/struts/commit/4c044f12560e22e00520595412830f9582d6dac7 · WEB
- https://github.com/apache/struts/commit/bf54436869c264941dd192c752a4abfaa65d3711 · WEB
- https://github.com/apache/struts · PACKAGE
- http://www.openwall.com/lists/oss-security/2023/12/09/1 · WEB
History
- 25 Nov 2026 20:37 UTC · NVD: first stored (published 5 Dec 2023)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 5 Dec 2023)