MODERATE 6.5

CVE-2023-20861

Spring Framework vulnerable to denial of service via specially crafted SpEL expression

Description

In Spring Framework versions 6.0.0 - 6.0.6, 5.3.0 - 5.3.25, 5.2.0.RELEASE - 5.2.22.RELEASE, and older unsupported versions, it is possible for a user to provide a specially crafted SpEL expression that may cause a denial-of-service (DoS) condition.

Affected Maven artifacts (1)

ArtifactAffected versionsFixed in
org.springframework » spring-expression
< 5.2.23.RELEASE>= 5.3.0, < 5.3.26>= 6.0.0, < 6.0.7
5.2.23.RELEASE, 5.3.26, 6.0.7

Blast radius

1affected artifacts
281affected versions
75,773dependent artifacts (est.)
3,142,998dependent versions

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

DepthDependent versions
Direct
97,676
2 hops
457,595
3 hops
1,301,046
4 hops
853,878
5 hops
299,807
6 hops
132,996

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.