ADVISORIES

GitHub Advisory Database

GHSA-2j39-qcjm-428w

Apache Struts vulnerable to path traversal

Critical CVE-2023-50164

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. Users are recommended to upgrade to versions Struts 2.5.33 or Struts 6.3.0.2 or greater to fix this issue.

Affected packages

EcosystemPackageAffected versions
Mavenorg.apache.struts:struts2-core
From 2.0.0 before 2.5.33 (fixed in 2.5.33)
Mavenorg.apache.struts:struts2-core
From 6.0.0 before 6.3.0.2 (fixed in 6.3.0.2)

References