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)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| org.springframework » spring-context | < 5.2.21.RELEASE>= 5.3.0, < 5.3.19 | 5.2.21.RELEASE, 5.3.19 |
Blast radius
67% of the dependent artifacts (50,119) still pull an affected version in their latest release.
| Depth | Dependent 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
- org.springframework.boot » spring-boot-starter-test20,993 usages
- org.springframework.boot » spring-boot-starter-web19,081 usages
- org.springframework.boot » spring-boot-autoconfigure15,709 usages
- org.springframework.boot » spring-boot-starter12,901 usages
- org.springframework » spring-test12,234 usages
- org.springframework » spring-web12,086 usages
- org.springframework » spring-webmvc7,538 usages
- org.springframework.boot » spring-boot-starter-actuator6,564 usages
- org.springframework » spring-jdbc5,611 usages
- org.springframework.boot » spring-boot5,107 usages
- org.springframework » spring-tx5,095 usages
- org.springframework.boot » spring-boot-starter-validation4,721 usages
- org.springframework.boot » spring-boot-starter-aop4,662 usages
- org.springframework » spring-context-support4,340 usages
- org.springframework.boot » spring-boot-starter-data-jpa4,154 usages
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.
References
- Advisoryhttps://nvd.nist.gov/vuln/detail/CVE-2022-22968
- Webhttps://github.com/spring-projects/spring-framework/commit/833e750175349ab4fd502109a8b41af77e25cdea
- Webhttps://github.com/spring-projects/spring-framework/commit/a7cf19cec5ebd270f97a194d749e2d5701ad2ab7
- Packagehttps://github.com/spring-projects/spring-framework
- Webhttps://security.netapp.com/advisory/ntap-20220602-0004
- Webhttps://tanzu.vmware.com/security/cve-2022-22968
- Webhttps://www.oracle.com/security-alerts/cpujul2022.html
