{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2023-50164","id":"CVE-2023-50164","title":"Apache Struts: File upload component had a directory traversal vulnerability","description":"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.","descriptionLong":"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.","published":"2023-12-07T08:49:19.853Z","updated":"2026-10-28T02:30:36.648188752Z","reserved":"2023-12-04T08:37:57.468Z","status":"Modified","rejected":false,"assigner":"apache","metric":{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"NVD"},"metrics":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"NVD"},{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"GitHub"}],"rating":"critical","products":["Apache Software Foundation Apache Struts"],"affectedProducts":[{"vendor":"Apache Software Foundation","product":"Apache Struts","defaultStatus":"unaffected","versions":[{"lessThanOrEqual":"2.5.32","status":"affected","version":"2.0.0","versionType":"semver"},{"lessThanOrEqual":"6.3.0.1","status":"affected","version":"6.0.0","versionType":"semver"}],"platforms":[]}],"packages":[{"ecosystem":"Maven","name":"org.apache.struts:struts2-core","purl":"pkg:maven/org.apache.struts/struts2-core","ranges":[">=2.0.0 <2.5.33",">=6.0.0 <6.3.0.2"],"fixed":["2.5.33","6.3.0.2"],"advisory":"GHSA-2j39-qcjm-428w"}],"cwes":["CWE-552"],"aliases":["GHSA-2j39-qcjm-428w"],"references":[{"url":"https://lists.apache.org/thread/yh09b3fkf6vz5d6jdgrlvmg60lfwtqhj","tags":["vendor-advisory","mailing-list","x_transferred","Mailing List","Patch","advisory","web"]},{"url":"https://www.openwall.com/lists/oss-security/2023/12/07/1","tags":["x_transferred","Mailing List","web"]},{"url":"http://packetstormsecurity.com/files/176157/Struts-S2-066-File-Upload-Remote-Code-Execution.html","tags":["x_transferred","Third Party Advisory","VDB Entry","web"]},{"url":"https://security.netapp.com/advisory/ntap-20231214-0010/","tags":["x_transferred","Third Party Advisory","VDB Entry","advisory"]},{"url":"https://repo.maven.apache.org/maven2","tags":["web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/50xxx/CVE-2023-50164.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-50164","tags":["advisory"]},{"url":"https://github.com/apache/struts/commit/162e29fee9136f4bfd9b2376da2cbf590f9ea163","tags":["web"]},{"url":"https://github.com/apache/struts/commit/d8c69691ef1d15e76a5f4fcf33039316da2340b6","tags":["web"]},{"url":"https://cwiki.apache.org/confluence/display/WW/S2-066","tags":["web"]},{"url":"https://github.com/apache/struts","tags":["package"]},{"url":"https://security.netapp.com/advisory/ntap-20231214-0010","tags":["web"]},{"url":"http://www.openwall.com/lists/oss-security/2023/12/07/1","tags":["web"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"total"},"epss":0.80819,"epssPercentile":0.99637,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2023-50164","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-50164","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2023-50164","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-2j39-qcjm-428w","ok":true,"note":"GHSA-2j39-qcjm-428w"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2023-50164","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":["struts"],"critical":["CVSS 9.8 in a widely used technology","EPSS 81% with CVSS 9.8"],"attention":null}