Apache Struts: excessive disk usage
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- None · None · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CISA ADP. Fix status from CNA and GitHub.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- Yes
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Apache | Apache Struts | 2.0.0 – 2.5.31; 6.1.2.1 – 6.3.0 | — | No fix listed | CNA |
| — | org.apache.struts:struts2-core (Maven) | 6.2.0 to before 6.3.0.1 | 6.3.0.1 | Patch available | GHSA-729q-fcgp-r5xh |
| — | org.apache.struts:struts2-core (Maven) | 6.0.0 to before 6.1.2.2 | 6.1.2.2 | Patch available | GHSA-729q-fcgp-r5xh |
| — | org.apache.struts:struts2-core (Maven) | before 2.5.32 | 2.5.32 | Patch available | GHSA-729q-fcgp-r5xh |
- Apache Struts VendorApache Affected 2.0.0 – 2.5.31; 6.1.2.1 – 6.3.0 Fixed in — No fix listed CNA
- org.apache.struts:struts2-core (Maven) Vendor— Affected 6.2.0 to before 6.3.0.1 Fixed in 6.3.0.1 Patch available GHSA-729q-fcgp-r5xh
- org.apache.struts:struts2-core (Maven) Vendor— Affected 6.0.0 to before 6.1.2.2 Fixed in 6.1.2.2 Patch available GHSA-729q-fcgp-r5xh
- org.apache.struts:struts2-core (Maven) Vendor— Affected before 2.5.32 Fixed in 2.5.32 Patch available GHSA-729q-fcgp-r5xh
Remediation
- Fix · GHSA-729q-fcgp-r5xh org.apache.struts:struts2-core (Maven) Fixed in 6.3.0.1 Advisory →
- Fix · GHSA-729q-fcgp-r5xh org.apache.struts:struts2-core (Maven) Fixed in 6.1.2.2 Advisory →
- Fix · GHSA-729q-fcgp-r5xh org.apache.struts:struts2-core (Maven) Fixed in 2.5.32 Advisory →
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
Not affected: 27 products
- A-MQ Clients 2
- Migration Toolkit for Applications 6
- Migration Toolkit for Runtimes
- OpenShift Serverless
- Red Hat AMQ Broker 7
- Red Hat Build of Keycloak
- Red Hat Data Grid 8
- Red Hat Decision Manager 7
- Red Hat Fuse 7
- Red Hat Integration Camel K 1
- Red Hat Integration Camel Quarkus 2
- Red Hat JBoss Data Grid 7
- Red Hat JBoss Enterprise Application Platform 6
- Red Hat JBoss Enterprise Application Platform 7
- Red Hat JBoss Enterprise Application Platform 8
- Red Hat JBoss Enterprise Application Platform Expansion Pack
- Red Hat JBoss Fuse 6
- Red Hat JBoss Fuse Service Works 6
- Red Hat JBoss Web Server 5
- Red Hat Process Automation 7
- Red Hat Single Sign-On 7
- Red Hat build of Apache Camel for Spring Boot 3
- Red Hat build of Debezium 2
- Red Hat build of OptaPlanner 8
- Red Hat build of Quarkus
- Red Hat support for Spring Boot
- streams for Apache Kafka
Timeline
- 2026-10-02 Threatist record created from CVE-2023-41835
- 2026-10-03 Alias added: GHSA-729q-fcgp-r5xh
References
Advisory 3
Other 6
- https://github.com/apache/struts/commit/3292152f8c0a77ee4827beede82b6580478a2c2a
- https://github.com/apache/struts/commit/4c044f12560e22e00520595412830f9582d6dac7
- https://github.com/apache/struts/commit/bf54436869c264941dd192c752a4abfaa65d3711
- https://github.com/apache/struts
- https://security.netapp.com/advisory/ntap-20231013-0001
- http://www.openwall.com/lists/oss-security/2023/12/09/1
More Apache Struts vulnerabilities
- TI-2020-13278 Expression language injection in Apache Struts KEVCVSS 3.1CRITICAL 9.8
- TI-2017-07171 Improper input validation in Apache Struts KEVCVSS 3.1CRITICAL 9.8
- TI-2017-03639 Improper handling of exceptional conditions in Apache Struts KEVCVSS 3.1CRITICAL 9.8
- TI-2013-02013 Apache Struts 2.0.0 through 2.3.15 allows remote attackers to execute arbitrary OGNL… KEVCVSS 3.1CRITICAL 9.8
- TI-2012-00357 The ExceptionDelegator component in Apache Struts before 2.2.3.1 interprets parameter… KEVCVSS 3.1CRITICAL 9.8
- TI-2018-08433 Improper input validation in Apache Struts KEVCVSS 3.1HIGH 8.1
Sources
- CVE-2023-41835 · CVE Program
- CVE-2023-41835 · NVD
- FIRST EPSS
- GHSA-729q-fcgp-r5xh · GitHub Advisory Database · CC BY 4.0
- CVE-2023-41835 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences