CVE-2023-34149
MEDIUM6.5EPSS 0.07%Apache Struts vulnerable to memory exhaustion
Published: 6/14/2023Modified: 2/13/2025
Description
Denial of service via out of memory (OOM) owing to not properly checking of list bounds. 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 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 (1)
- Maven/org.apache.struts:struts2-corefrom 0, < 2.5.31
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | MEDIUM6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
References (8)
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2023-34149
- PATCHhttps://github.com/apache/struts
- WEBhttps://cwiki.apache.org/confluence/display/WW/S2-063
- WEBhttps://github.com/apache/struts/commit/2d6f1bc0a6f5ac575a56784ac6461816b67c4f21
- WEBhttps://github.com/apache/struts/releases/tag/STRUTS_2_5_31
- WEBhttps://github.com/apache/struts/releases/tag/STRUTS_6_1_2_1
- WEBhttps://security.netapp.com/advisory/ntap-20230706-0005
- WEBhttp://www.openwall.com/lists/oss-security/2023/06/14/2