{"id":"CVE-2023-50164","summary":"Apache Struts: File upload component had a directory traversal vulnerability","details":"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.\nUsers are recommended to upgrade to versions Struts 2.5.33 or Struts 6.3.0.2 or greater to fix this issue.","aliases":["GHSA-2j39-qcjm-428w"],"modified":"2026-08-12T03:51:47.793536074Z","published":"2023-12-07T08:49:19.853Z","database_specific":{"unresolved_ranges":[{"extracted_events":[{"introduced":"2.0.0"},{"last_affected":"2.5.32"},{"introduced":"6.0.0"},{"last_affected":"6.3.0.1"}],"source":"AFFECTED_FIELD"}],"cna_assigner":"apache","cwe_ids":["CWE-552"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/50xxx/CVE-2023-50164.json"},"references":[{"type":"WEB","url":"http://packetstormsecurity.com/files/176157/Struts-S2-066-File-Upload-Remote-Code-Execution.html"},{"type":"WEB","url":"https://repo.maven.apache.org/maven2"},{"type":"WEB","url":"https://www.openwall.com/lists/oss-security/2023/12/07/1"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/50xxx/CVE-2023-50164.json"},{"type":"ADVISORY","url":"https://lists.apache.org/thread/yh09b3fkf6vz5d6jdgrlvmg60lfwtqhj"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-50164"},{"type":"ADVISORY","url":"https://security.netapp.com/advisory/ntap-20231214-0010/"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/apache/struts","events":[{"introduced":"2c0a197cea8fdc7d8cda5eeaa15a1c76507ac0a5"},{"fixed":"ca8d57c538136983a0180ac508ebcfabaf73f839"},{"introduced":"68fb49c10e083dce829476778eec726fc90c8c38"},{"fixed":"ad95ab30f284e919d6560cbc396926f43bf8d32b"}],"database_specific":{"extracted_events":[{"introduced":"2.0.0"},{"fixed":"2.5.33"},{"introduced":"6.0.0"},{"fixed":"6.3.0.2"}],"source":"CPE_RANGE","cpe":"cpe:2.3:a:apache:struts:*:*:*:*:*:*:*:*"}}],"versions":["STRUTS_6_3_0_1","STRUTS_6_2_0","STRUTS_6_3_0","STRUTS_6_1_1","STRUTS_6_1_0","STRUTS_6_0_3","STRUTS_6_0_2","STRUTS_6_0_1","STRUTS_6_0_0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-50164.json"}}],"schema_version":"1.9.0"}