CVE-2023-50164 — Vulnerability in org.apache.struts:struts2-core —...
Apache Struts vulnerable to path traversal
Summary
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.
<!-- Update pom.xml dependency version to 6.3.0.2 for org.apache.struts:struts2-core -->
<!-- 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).
| Package | Ecosystem | Affected | Fixed 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.
- CWE-552
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 9.8 score means for each attack dimension.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
References
- https://nvd.nist.gov/vuln/detail/CVE-2023-50164ADVISORY
- https://github.com/apache/struts/commit/162e29fee9136f4bfd9b2376da2cbf590f9ea163WEB
- https://github.com/apache/struts/commit/d8c69691ef1d15e76a5f4fcf33039316da2340b6WEB
- https://cwiki.apache.org/confluence/display/WW/S2-066WEB
- https://github.com/apache/strutsPACKAGE
- https://lists.apache.org/thread/yh09b3fkf6vz5d6jdgrlvmg60lfwtqhjWEB
- https://security.netapp.com/advisory/ntap-20231214-0010WEB
- https://www.openwall.com/lists/oss-security/2023/12/07/1WEB
- https://packetstormsecurity.com/files/176157/Struts-S2-066-File-Upload-Remote-Code-Execution.htmlWEB
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
Exploitation is straightforward and causes maximum impact. Patch immediately.
Also Known As
Related CVEs
- CVE-2024-53677CRITICAL
Apache Struts file upload logic is flawed
- CVE-2016-4438CRITICAL
Arbitrary code execution in Apache Struts 2
- CVE-2012-0391CRITICAL
Apache Struts Remote Java Code Execution
- CVE-2026-107726CRITICAL
Hazelcast allows arbitrary member memory access by low-privileged client
- CVE-2016-3087CRITICAL
Apache Struts vulnerable to arbitrary remote code execution due to improper input validation
- CVE-2016-3082CRITICAL
Remote Code Execution in Apache Struts
- CVE-2016-4436CRITICAL
Apache Struts improper action name cleanup
- CVE-2025-68493HIGH
Apache Struts 2 is Missing XML Validation
Check if you're affected
Scan your dependencies to see if this vulnerability affects your projects.
Scan Your Dependencies