HIGH 8.1

CVE-2024-22243

Spring Web vulnerable to Open Redirect or Server Side Request Forgery

Description

Applications that use UriComponentsBuilder to parse an externally provided URL (e.g. through a query parameter) AND perform validation checks on the host of the parsed URL may be vulnerable to a open redirect attack or to a SSRF attack if the URL is used after passing validation checks.

Affected Maven artifacts (1)

ArtifactAffected versionsFixed in
org.springframework » spring-web
<= 5.2.25.RELEASE>= 5.3.0, < 5.3.32>= 6.0.0, < 6.0.17>= 6.1.0, < 6.1.4
5.3.32, 6.0.17, 6.1.4

Blast radius

1affected artifacts
388affected versions
50,446dependent artifacts (est.)
2,323,148dependent versions

70% of the dependent artifacts (35,601) still pull an affected version in their latest release.

DepthDependent versions
Direct
236,341
2 hops
678,049
3 hops
752,538
4 hops
415,286
5 hops
168,128
6 hops
72,806

Most used dependents

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