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)
| Artifact | Affected versions | Fixed 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
26% of the dependent artifacts (21) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 45 |
| 2 hops | 56 |
| 3 hops | 214 |
| 4 hops | 179 |
| 5 hops | 33 |
| 6 hops | 20 |
Most used dependents
- org.springframework.boot » spring-boot-starter-data-rest350 usages
- org.springframework.data » spring-data-rest-webmvc102 usages
- be.vlaanderen.omgeving » omv-up-basis25 usages
- com.wizzdi » flexicore-boot-dynamic-invokers-service17 usages
- io.americanexpress.synapse » synapse-service-rest14 usages
- com.wizzdi » flexicore-base-service11 usages
- org.springframework.data » spring-data-rest-hal-explorer10 usages
- be.vlaanderen.omgeving » omv-up-objectauthorisatie9 usages
- org.sakaiproject.samigo » samigo-services9 usages
- be.vlaanderen.omgeving » omv-up-domein7 usages
- be.vlaanderen.omgeving » omv-up-parameter7 usages
- de.terrestris » bkg-testsuite-backend-base5 usages
- tools.dynamia » tools.dynamia.app5 usages
- com.wizzdi » FlexiCore5 usages
- org.testingisdocumenting.webtau » webtau-feature-testing4 usages
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
| Advisory | NVD CVE-2021-22047 | nvd.nist.gov |
| Web | security/cve-2021-22047 | tanzu.vmware.com |
