CVE-2021-22047
MEDIUM 5.3CVSS 3.1Exposure of Resource to Wrong Sphere in Spring Data REST
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.
- Published
- 28 Oct 2021
- Last modified
- 17 Jun 2026
- Assigned by
- security@vmware.com
- NVD status
- Modified
- Weakness
- CWE-200CWE-668
- Also known as
- GHSA-4926-qpxg-6r3w
- Sources
- NVDJSONOSV GHSA-4926-qpxg-6r3wJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 4.3 | AV:N/AC:M/Au:N/C:P/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | vmware | spring_data_restcpe:2.3:a:vmware:spring_data_rest:*:*:*:*:*:*:*:* |
>= 3.4.0, <= 3.4.13 | |
| NVD | vmware | spring_data_restcpe:2.3:a:vmware:spring_data_rest:*:*:*:*:*:*:*:* |
>= 3.5.0, <= 3.5.5 | |
| OSV | Maven | org.springframework.data:spring-data-rest-core | >= 3.4.0, < 3.4.14 | 3.4.14 |
| OSV | Maven | org.springframework.data:spring-data-rest-core | >= 3.5.0, < 3.5.6 | 3.5.6 |
References
- https://tanzu.vmware.com/security/cve-2021-22047 · Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2021-22047 · ADVISORY
History
- 25 Nov 2026 20:33 UTC · NVD: first stored (published 28 Oct 2021)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 24 May 2022)