CVE-2021-22047 json
Exposure of Resource to Wrong Sphere in Spring Data REST
published 2021-10-28 5 y ago modified 2026-06-17 4 mo ago also GHSA-4926-qpxg-6r3w , EUVD-2022-2343
- cvss
- 5.3
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.8%
- EPSS 0.8% chance of exploitation in 30 days, percentile 55%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- maven org.springframework.data:spring-data-rest-core 3.4.14, 3.5.6
Exploit prediction
0.77% chance of exploitation in the next 30 days, higher than 55% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N |
| NVD | 2.0 | 4.3 | AV:N/AC:M/Au:N/C:P/I:N/A:N |
| GitHub | 3.1 | 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| maven | 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 |
Affected products
- n/a Spring Data REST
Classification
References
-
tanzu.vmware.com
/security/cve-2021-22047
web, vendor-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2021-22047
advisory
Sources
- CVE List CVE-2021-22047
- GitHub Advisory GHSA-4926-qpxg-6r3w
- NVD CVE-2021-22047
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.