CRITICAL 9.8

CVE-2024-53677

Apache Struts file upload logic is flawed

Description

File upload logic is flawed vulnerability in Apache Struts. 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.

This issue affects Apache Struts: from 2.0.0 before 6.4.0.

Users are recommended to upgrade to version 6.4.0 at least and migrate to the new file upload mechanism https://struts.apache.org/core-developers/file-upload. If you are not using an old file upload logic based on FileuploadInterceptor your application is safe.

You can find more details in  https://cwiki.apache.org/confluence/display/WW/S2-067 .

Affected Maven artifacts (1)

ArtifactAffected versionsFixed in
org.apache.struts » struts2-core
< 6.4.0
6.4.0

Blast radius

1affected artifacts
188affected versions
782dependent artifacts (est.)
271,025dependent versions

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

DepthDependent versions
Direct
22,323
2 hops
165,261
3 hops
67,933
4 hops
13,598
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.