CVE-2023-50164
Java vulnerability analysis and mitigation

Overview

CVE-2023-50164 is a critical vulnerability discovered in Apache Struts 2, affecting versions 2.0.0 through 2.5.32 and 6.0.0 through 6.3.0.1. The vulnerability was publicly disclosed by the Apache Software Foundation on December 7, 2023, and received a CVSS v3.1 base score of 9.8 (CRITICAL). The vulnerability affects the file upload component of Apache Struts, which is an open-source framework widely used for developing web applications (Apache Mailing List, NVD).

Technical details

The vulnerability allows attackers to manipulate file upload parameters, enabling path traversal attacks. The flaw stems from the case-sensitive nature of HTTP parameters, where param1="value1" and Param1="Value1" are treated differently. The vulnerability bypasses Apache Struts's getCanonicalName function in AbstractMultiPartRequest.java, allowing path traversal payloads to persist in the final filename. Additionally, there is an issue with temporary file deletion where files exceeding certain size limits might not be properly deleted, potentially allowing attackers to maintain persistence in affected systems (Trend Micro).

Impact

Successful exploitation of this vulnerability could lead to Remote Code Execution (RCE), disclosure of sensitive information, addition or modification of data, or Denial of Service (DoS). The vulnerability's critical nature is emphasized by its high CVSS score, indicating the potential for significant impact on affected systems (NetApp Advisory).

Mitigation and workarounds

Users are strongly recommended to upgrade to Apache Struts versions 2.5.33 or 6.3.0.2 or greater to address this vulnerability. No temporary workarounds have been identified, making the upgrade the only effective mitigation strategy (NVD).

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-15104MEDIUM6.9
  • JavaScriptJavaScript
  • vnu-jar
NoNoJan 16, 2026
CVE-2026-1002MEDIUM6.9
  • JavaJava
  • pki-resteasy-client
NoYesJan 15, 2026
CVE-2025-66169MEDIUM5.3
  • JavaJava
  • org.apache.camel:camel-neo4j
NoYesJan 14, 2026
CVE-2026-0858MEDIUM5.1
  • JavaJava
  • net.sourceforge.plantuml:plantuml
NoYesJan 16, 2026
CVE-2026-0976LOW3.7
  • JavaJava
  • keycloak
NoYesJan 15, 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