Loading...
Skip to main content

CVE-2023-50164 — Vulnerability in org.apache.struts:struts2-core —...

CRITICAL

Apache Struts vulnerable to path traversal

Published December 7, 2023Updated February 13, 2025Source: osv

Summary

An attacker can manipulate file upload params to enable paths traversal and under some circumstances this can lead to uploading a malicious file which can be used to perform Remote Code Execution. Users are recommended to upgrade to versions Struts 2.5.33 or Struts 6.3.0.2 or greater to fix this issue.

Advisory Timeline

  • First published December 7, 2023 (1040 days ago).
  • Last revised February 13, 2025 — 434 days after initial publication.

Remediation

Upgrade to the fixed version using your package manager.

Maven
Update org.apache.struts:struts2-core to 6.3.0.2 or later
<!-- Update pom.xml dependency version to 6.3.0.2 for org.apache.struts:struts2-core -->
Maven
Update org.apache.struts:struts2-core to 2.5.33 or later
<!-- Update pom.xml dependency version to 2.5.33 for org.apache.struts:struts2-core -->

After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.

Affected Packages (2)

Affects 1 ecosystem: maven (1).

PackageEcosystemAffectedFixed In
org.apache.struts:struts2-core
maven
6.0.0, 6.0.3, 6.1.1, 6.1.2 (+5 more)6.3.0.2
org.apache.struts:struts2-core
maven
2.0.11, 2.0.11.1, 2.0.11.2, 2.0.12 (+81 more)2.5.33

Vulnerability Classification

Common Weakness Enumeration (CWE) identifiers for this vulnerability type.

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 9.8 score means for each attack dimension.

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Frequently Asked Questions

What is CVE-2023-50164?
Apache Struts vulnerable to path traversal This vulnerability has been assigned a severity rating of CRITICAL (CVSS score: 9.8/10).
How do I check if my project is affected by CVE-2023-50164?
CVE-2023-50164 affects org.apache.struts:struts2-core. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2023-50164 and 200,000+ other known vulnerabilities.

Severity & Exploitability

CVSS Score
9.8

Exploitation is straightforward and causes maximum impact. Patch immediately.

Also Known As

GHSA-2j39-qcjm-428w

Related CVEs

Check if you're affected

Scan your dependencies to see if this vulnerability affects your projects.

Scan Your Dependencies