HIGH 7.5

CVE-2017-9804

Apache Struts allows entering a custom URL in a form field if built-in URLValidator is used

Description

In Apache Struts 2.3.7 through 2.3.33 and 2.5 through 2.5.12, if an application allows entering a URL in a form field and built-in URLValidator is used, it is possible to prepare a special URL which will be used to overload server process when performing validation of the URL. NOTE: this vulnerability exists because of an incomplete fix for S2-047 / CVE-2017-7672.

Affected Maven artifacts (1)

ArtifactAffected versionsFixed in
org.apache.struts » struts2-core
>= 2.3.7, < 2.3.34>= 2.5.0, < 2.5.13
2.3.34, 2.5.13

Blast radius

1affected artifacts
62affected versions
330dependent artifacts (est.)
110,905dependent versions

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

DepthDependent versions
Direct
7,294
2 hops
67,835
3 hops
28,305
4 hops
6,016
5 hops
1,193
6 hops
262

Most used dependents

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