HIGH 7.5

CVE-2022-22968

Improper handling of case sensitivity in Spring Framework

Description

In Spring Framework versions 5.3.0 - 5.3.18, 5.2.0 - 5.2.20, and older unsupported versions, the patterns for disallowedFields on a DataBinder are case sensitive which means a field is not effectively protected unless it is listed with both upper and lower case for the first character of the field, including upper and lower case for the first character of all nested fields within the property path. Versions 5.3.19 and 5.2.21 contain a patch for this issue.

Affected Maven artifacts (1)

ArtifactAffected versionsFixed in
org.springframework » spring-context
< 5.2.21.RELEASE>= 5.3.0, < 5.3.19
5.2.21.RELEASE, 5.3.19

Blast radius

1affected artifacts
347affected versions
73,896dependent artifacts (est.)
2,973,787dependent versions

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

DepthDependent versions
Direct
333,455
2 hops
986,268
3 hops
1,041,835
4 hops
388,814
5 hops
152,999
6 hops
70,416

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.