Ecosyste.ms: Advisories
An open API service providing security vulnerability metadata for many open source software ecosystems.
Security Advisories: GSA_kwCzR0hTQS00ZzQyLWdxcmctNDYzM84AAz2O
Apache Struts vulnerable to memory exhaustion
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
Permalink: https://github.com/advisories/GHSA-4g42-gqrg-4633JSON: https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS00ZzQyLWdxcmctNDYzM84AAz2O
Source: GitHub Advisory Database
Origin: Unspecified
Severity: High
Classification: General
Published: 4 months ago
Updated: 3 months ago
CVSS Score: 7.5
CVSS vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Identifiers: GHSA-4g42-gqrg-4633, CVE-2023-34396
References:
- https://nvd.nist.gov/vuln/detail/CVE-2023-34396
- https://cwiki.apache.org/confluence/display/WW/S2-064
- https://github.com/apache/struts/commit/2d6f1bc0a6f5ac575a56784ac6461816b67c4f21
- https://github.com/apache/struts/releases/tag/STRUTS_2_5_31
- https://github.com/apache/struts/releases/tag/STRUTS_6_1_2_1
- http://www.openwall.com/lists/oss-security/2023/06/14/3
- https://security.netapp.com/advisory/ntap-20230706-0005/
- https://github.com/advisories/GHSA-4g42-gqrg-4633
Affected Packages
maven:org.apache.struts:struts2-core
Versions: >= 6.0.0, < 6.1.2.1, < 2.5.31Fixed in: 6.1.2.1, 2.5.31