GHSA-8f6x-v685-g2xc

Apache Struts vulnerable to memory exhaustion

At a glance

Published
Updated
CVE
CVE-2023-34149
CVSS_V3
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

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

PackageVersions
Maven · org.apache.struts:struts2-coreintroduced 0, fixed 2.5.31
Maven · org.apache.struts:struts2-coreintroduced 6.0.0, fixed 6.1.2.1

References

Sources

SourceLicence
OSV.devCC-BY 4.0 — GitHub Advisory Database