{"cve":"CVE-2021-22047","nvd":{"published":"2021-10-28T16:15:07.623","modified":"2026-06-17T03:36:36.347","status":"Modified","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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","score":5.3},"cwes":["CWE-668","CWE-200"],"references":["https://tanzu.vmware.com/security/cve-2021-22047","https://tanzu.vmware.com/security/cve-2021-22047"],"products":["vmware:spring_data_rest"],"source":"nvd","synced_at":"2026-10-19T21:24:39.218183596+00:00"},"epss":{"cve":"CVE-2021-22047","score":0.00771,"percentile":0.55664,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-4926-qpxg-6r3w","url":"https://osv.dev/vulnerability/GHSA-4926-qpxg-6r3w","summary":"Exposure of Resource to Wrong Sphere in Spring Data REST","modified":"2023-11-08T04:04:53.405141Z","packages":[{"ecosystem":"Maven","name":"org.springframework.data:spring-data-rest-core","purl":"pkg:maven/org.springframework.data/spring-data-rest-core","ranges":[">=3.4.0 <3.4.14"],"fixed":["3.4.14"]},{"ecosystem":"Maven","name":"org.springframework.data:spring-data-rest-core","purl":"pkg:maven/org.springframework.data/spring-data-rest-core","ranges":[">=3.5.0 <3.5.6"],"fixed":["3.5.6"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}