{"schemaVersion":3,"id":"CVE-2021-22047","aliases":["GHSA-4926-qpxg-6r3w"],"status":"published","duplicateOf":null,"title":null,"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.","dates":{"published":"2021-10-28T15:21:26.000Z","modified":"2024-08-03T18:30:23.959Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":5.3,"severity":"medium","version":"3.1","versionLabel":"v3.1","source":"NVD","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"OSV · Maven","score":5.3,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","exploitability":10,"impact":2.3,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":5.3,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":4.3,"severity":"medium","vector":"AV:N/AC:M/Au:N/C:P/I:N/A:N","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00771,"percentile":0.54865,"severity":"low","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.00771},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00771,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00771,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00771,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00771,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00771,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00771,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00771,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00771,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00771,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00771,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00771,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00771,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00771,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00771,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00771,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00771,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00771,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00771,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00771,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00771,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00771,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00771,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00771,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00771,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00771,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00771,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00771,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00771,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00771,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00771,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00771,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00771,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00771,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00771,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00771,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00771,"percentile":0.54865}],"last30":[{"date":"2026-09-19T00:00:00.000Z","score":0.00771,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00771,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00771,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00771,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00771,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00771,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00771,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00771,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00771,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00771,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00771,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00771,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00771,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00771,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00771,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00771,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00771,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00771,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00771,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00771,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00771,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00771,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00771,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00771,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00771,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00771,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00771,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00771,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00771,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00771,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00771,"percentile":0.54865}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-200","name":"Exposure of Sensitive Information to an Unauthorized Actor","description":"The product exposes sensitive information to an actor that is not explicitly authorized to have access to that information.","type":"weakness","status":"Draft","abstraction":"Class","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/200.html"},{"id":"CWE-668","name":"Exposure of Resource to Wrong Sphere","description":"The product exposes a resource to the wrong control sphere, providing unintended actors with inappropriate access to the resource.","type":"weakness","status":"Draft","abstraction":"Class","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/668.html"}],"affected":[{"vendor":"org.springframework.data","product":"spring-data-rest-core","name":"org.springframework.data:spring-data-rest-core","label":"spring-data-rest-core","ecosystem":"Maven","cpePart":null,"purl":"pkg:maven/org.springframework.data/spring-data-rest-core","purlType":"maven","versions":[{"text":"≥ 3.4.0, < 3.4.14","noFixRecorded":false,"fixedIn":null},{"text":"≥ 3.5.0, < 3.5.6","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 3.4.0, < 3.4.14 | ≥ 3.5.0, < 3.5.6","eol":null,"hubHref":null},{"vendor":"vmware","product":"spring_data_rest","name":"spring data rest","label":"spring_data_rest","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 3.4.0, ≤ 3.4.13","noFixRecorded":false,"fixedIn":null},{"text":"≥ 3.5.0, ≤ 3.5.5","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 3.4.0, ≤ 3.4.13 | ≥ 3.5.0, ≤ 3.5.5","eol":null,"hubHref":"/vendor/vmware/spring_data_rest"}],"affectedCount":2,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://tanzu.vmware.com/security/cve-2021-22047","label":"tanzu.vmware.com/security/cve-2021-22047","hostname":"tanzu.vmware.com","tags":["X Refsource MISC","WEB","Vendor Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-22047","label":"nvd.nist.gov/vuln/detail/CVE-2021-22047","hostname":"nvd.nist.gov","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2021-10-28T15:21:26.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-03T18:30:23.959Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":21,"level":"low","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-20T09:50:06.503Z","stale":false,"partial":false}}