CVE-2023-41835Apache Struts
High 7.5 No auth needed
Follow: this CVE · Apache · Apache Struts We alert you by email or Slack (account required).
- Priority
- 60
- CVSS 3.1
- 7.5
- EPSS
- 2.5% probability of exploitation in 30 days · percentile 85
- Auth required
- No
- Published
- Dec 5, 2023
- Updated
- Jun 17, 2026
- Category
- Server · Cross-platform
- Weakness (CWE)
- CWE-459
- SSVC (CISA)
- Exploitation: none · Automatable: yes · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
What happens
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
- Apply the vendor's security update for Struts.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Maven | org.apache.struts:struts2-core |
≥ 6.2.0 < 6.3.0.1 |
6.3.0.1 |
— |
| Maven | org.apache.struts:struts2-core |
≥ 6.0.0 < 6.1.2.2 |
6.1.2.2 |
— |
| Maven | org.apache.struts:struts2-core |
< 2.5.32 |
2.5.32 |
— |
Per OSV / GitHub Advisories (GHSA-729q-fcgp-r5xh). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| apache | struts | ≥ 2.0.0 < 2.5.32 |
| apache | struts | ≥ 6.1.2.1 < 6.3.0.1 |
Official sources
References
Links published by the sources. Open them with care.
- lists.apache.org Mailing List Release Notes
- www.openwall.com Mailing List Third Party Advisory
- security.netapp.com