GitHub Advisoryadvisory · Maven

GHSA-4g42-gqrg-4633 Apache Struts vulnerable to memory exhaustion

HIGH Published 2023-06-14 Modified 2025-10-13 Official page ↗
Aliases
CVE-2023-34396
Ecosystem
Maven
Packages
org.apache.struts:struts2-core, org.apache.struts:struts-core, struts:struts
Severity
High
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/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 • Maven org.apache.struts:struts-core: <= 1.3.10 (no fix yet) • Maven struts:struts: <= 1.2.9 (no fix yet)

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

Related

Alias · CVE (1)

  • CVE-2023-34396 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