MODERATE 5.3

CVE-2024-38809

Spring Framework DoS via conditional HTTP request

Description

Description

Applications that parse ETags from If-Match or If-None-Match request headers are vulnerable to DoS attack.

Affected Spring Products and Versions

org.springframework:spring-web in versions

6.1.0 through 6.1.11 6.0.0 through 6.0.22 5.3.0 through 5.3.37

Older, unsupported versions are also affected

Mitigation

Users of affected versions should upgrade to the corresponding fixed version. 6.1.x -> 6.1.12 6.0.x -> 6.0.23 5.3.x -> 5.3.38 No other mitigation steps are necessary.

Users of older, unsupported versions could enforce a size limit on If-Match and If-None-Match headers, e.g. through a Filter.

Affected Maven artifacts (1)

ArtifactAffected versionsFixed in
org.springframework » spring-web
< 5.3.38>= 6.0.0, < 6.0.23>= 6.1.0, < 6.1.12
5.3.38, 6.0.23, 6.1.12

Blast radius

1affected artifacts
421affected versions
51,959dependent artifacts (est.)
2,428,999dependent versions

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

DepthDependent versions
Direct
248,710
2 hops
718,789
3 hops
779,464
4 hops
438,941
5 hops
169,909
6 hops
73,186

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.