HIGH 7.5

CVE-2023-41835

Apache Struts Improper Control of Dynamically-Managed Code Resources vulnerability

Description

When a Multipart request is performed but some of the fields exceed the maxStringLength limit, the upload files will remain in struts.multipart.saveDir even if the request has been denied. Users are recommended to upgrade to versions Struts 2.5.32 or 6.1.2.2 or Struts 6.3.0.1 or greater, which fix this issue.

Affected Maven artifacts (1)

ArtifactAffected versionsFixed in
org.apache.struts » struts2-core
< 2.5.32>= 6.0.0, < 6.1.2.2>= 6.2.0, < 6.3.0.1
2.5.32, 6.1.2.2, 6.3.0.1

Blast radius

1affected artifacts
169affected versions
746dependent artifacts (est.)
249,052dependent versions

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

DepthDependent versions
Direct
20,196
2 hops
152,247
3 hops
62,639
4 hops
12,110
5 hops
1,508
6 hops
352

Most used dependents

Computed from the dependency graph of build 20261129.0021 (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.