GHSA-4g42-gqrg-4633
Apache Struts vulnerable to memory exhaustion
At a glance
- Published
- Updated
- CVE
- CVE-2023-34396
- CVSS_V3
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Description
Denial of service via out of memory (OOM) owing to no sanity limit on normal form fields in multipart forms. When a Multipart request has non-file normal form fields, Struts used to bring them into memory as Strings without checking their sizes. This could lead to an OOM if developer has set struts.multipart.maxSize to a value equal or greater than the available memory. Upgrade to Struts 2.5.31 or 6.1.2.1 or greater
Affected packages
| Package | Versions |
|---|---|
| Maven · org.apache.struts:struts2-core | introduced 0, fixed 2.5.31 |
| Maven · org.apache.struts:struts2-core | introduced 6.0.0, fixed 6.1.2.1 |
| Maven · org.apache.struts:struts-core | introduced 0, last affected 1.3.10 |
| Maven · struts:struts | introduced 0, last affected 1.2.9 |
References
- https://nvd.nist.gov/vuln/detail/CVE-2023-34396 ADVISORY
- https://github.com/apache/struts/commit/2d6f1bc0a6f5ac575a56784ac6461816b67c4f21 WEB
- https://cwiki.apache.org/confluence/display/WW/S2-064 WEB
- https://github.com/apache/struts PACKAGE
- https://github.com/apache/struts/releases/tag/STRUTS_2_5_31 WEB
- https://github.com/apache/struts/releases/tag/STRUTS_6_1_2_1 WEB
- https://security.netapp.com/advisory/ntap-20230706-0005 WEB
- http://www.openwall.com/lists/oss-security/2023/06/14/3 WEB
Sources
| Source | Licence |
|---|---|
| OSV.dev | CC-BY 4.0 — GitHub Advisory Database |