MODERATE 5.3

CVE-2021-22047

Exposure of Resource to Wrong Sphere in Spring Data REST

Description

In Spring Data REST versions 3.4.0 - 3.4.13, 3.5.0 - 3.5.5, and older unsupported versions, HTTP resources implemented by custom controllers using a configured base API path and a controller type-level request mapping are additionally exposed under URIs that can potentially be exposed for unauthorized access depending on the Spring Security configuration.

Affected Maven artifacts (1)

ArtifactAffected versionsFixed in
org.springframework.data » spring-data-rest-core
>= 3.4.0, < 3.4.14>= 3.5.0, < 3.5.6
3.4.14, 3.5.6

Blast radius

1affected artifacts
20affected versions
79dependent artifacts (est.)
547dependent versions

26% of the dependent artifacts (21) still pull an affected version in their latest release.

DepthDependent versions
Direct
45
2 hops
56
3 hops
214
4 hops
179
5 hops
33
6 hops
20

Most used dependents

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

Advisorynvd.nist.gov
Webtanzu.vmware.com