CRITICAL 9.8

CVE-2023-50164

Apache Struts vulnerable to path traversal

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

Affected Maven artifacts (1)

ArtifactAffected versionsFixed in
org.apache.struts » struts2-core
>= 2.0.0, < 2.5.33>= 6.0.0, < 6.3.0.2
2.5.33, 6.3.0.2

Blast radius

1affected artifacts
184affected versions
780dependent artifacts (est.)
269,854dependent versions

38% of the dependent artifacts (302) still pull an affected version in their latest release.

DepthDependent versions
Direct
22,012
2 hops
164,656
3 hops
67,722
4 hops
13,554
5 hops
1,558
6 hops
352

Most used dependents

Computed from the dependency graph of build 20261125.0317 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.