GitHub Advisoryadvisory · Maven
GHSA-8f6x-v685-g2xc Apache Struts vulnerable to memory exhaustion
MEDIUM
Official page ↗
- Aliases
- CVE-2023-34149
- Ecosystem
- Maven
- Packages
- org.apache.struts:struts2-core
- Severity
- Moderate
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- Weaknesses
- CWE-770
- Reviewed
- 2023-06-14
Affected packages
• Maven org.apache.struts:struts2-core: < 2.5.31 → fixed in 2.5.31
• Maven org.apache.struts:struts2-core: >= 6.0.0, < 6.1.2.1 → fixed in 6.1.2.1
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.
Related
Alias · CVE (1)
- CVE-2023-34149 Allocation of Resources Without Limits or Throttling vulnerability in Apache Software Foundation Apache Struts.This issue affects Apache… vulnerability
Weakness · CWE (1)
- CWE-770 Allocation of Resources Without Limits or Throttling weakness
References
- https://nvd.nist.gov/vuln/detail/CVE-2023-34149 advisory
- https://github.com/apache/struts/commit/2d6f1bc0a6f5ac575a56784ac6461816b67c4f21 web
- https://cwiki.apache.org/confluence/display/WW/S2-063 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/2 web