CVE-2023-34396
Java vulnerability analysis and mitigation

Overview

CVE-2023-34396 is a vulnerability in Apache Struts that was discovered in June 2023. This vulnerability affects Apache Struts versions through 2.5.30 and through 6.1.2. It is classified as an Allocation of Resources Without Limits or Throttling vulnerability that could lead to a Denial of Service condition (Apache Advisory, OSS Security).

Technical details

The vulnerability occurs when a Multipart request contains non-file normal form fields. Struts would load these fields into memory as Strings without implementing size checks, potentially leading to Out of Memory (OOM) conditions if the struts.multipart.maxSize parameter is set to a value equal to or greater than the available memory. The vulnerability has been assigned a CVSS v3.1 base score of 7.5 (HIGH) with the vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H (NVD).

Impact

Successful exploitation of this vulnerability could result in a Denial of Service (DoS) condition through Out of Memory errors, potentially affecting the availability of the affected Apache Struts application (NetApp Advisory).

Mitigation and workarounds

The primary mitigation is to upgrade to Apache Struts version 2.5.31 or 6.1.2.1 or greater. As a workaround, administrators can set the struts.multipart.maxSize parameter to a value significantly smaller than the available memory (Apache Advisory).

Additional resources


SourceThis report was generated using AI

Related Java vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-68931HIGH8.7
  • JavaJava
  • net.gleske:jervis
NoYesJan 13, 2026
CVE-2025-68703HIGH8.7
  • JavaJava
  • net.gleske:jervis
NoYesJan 13, 2026
CVE-2025-68704HIGH8.2
  • JavaJava
  • net.gleske:jervis
NoYesJan 13, 2026
CVE-2025-66169MEDIUM6.9
  • JavaJava
  • org.apache.camel:camel-neo4j
NoYesJan 14, 2026
CVE-2025-68925MEDIUM6.9
  • JavaJava
  • net.gleske:jervis
NoYesJan 13, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management