Medium
Security advisory
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2021-22047
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 1 Nov 2026, 05:09 UTC · Revision 1
Source evidence
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.
osv:CVE-2021-22047
Complete source record
{
"id": "a69ee89683dc6567d0ff17f463a7154e383a9d80d9dde65acbf43ffce0b3939d",
"url": "https://osv.dev/vulnerability/CVE-2021-22047",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2021-22047",
"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.",
"evidence": "osv:CVE-2021-22047",
"products": [],
"severity": "medium",
"structured": {
"id": "CVE-2021-22047",
"aliases": [
"CVE-2021-22047",
"GHSA-4926-qpxg-6r3w"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/spring-projects/spring-data-rest",
"type": "GIT",
"events": [
{
"introduced": "3a05cca9b6179891c6670b8c331bb11a363c0418"
},
{
"last_affected": "86c15e63063c68878501c89a8e211c9aad07c70c"
},
{
"introduced": "8a690929f09b3334d4af21bd338f6832d71634d0"
},
{
"last_affected": "20fb7e6c8e038977c0ead7c13ab5cdfb15531617"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:vmware:spring_data_rest:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "3.4.0"
},
{
"last_affected": "3.4.13"
}
],
"source": "CPE_RANGE"
},
{
"cpe": "cpe:2.3:a:vmware:spring_data_rest:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "3.5.0"
},
{
"last_affected": "3.5.5"
}
],
"source": "CPE_RANGE"
}
]
}
}
],
"versions": [
"3.5.5",
"3.4.13",
"3.5.4",
"3.4.12",
"3.5.3",
"3.4.11",
"3.5.2",
"3.4.10",
"3.5.1",
"3.4.9",
"3.5.0",
"3.4.8",
"3.4.7",
"3.4.6",
"3.4.5",
"3.4.4",
"3.4.3",
"3.4.2",
"3.4.1",
"3.4.0"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-22047.json"
}
}
],
"modified": "2026-10-24T10:30:25.012840039Z",
"provider": "osv",
"references": [
"https://tanzu.vmware.com/security/cve-2021-22047"
],
"provider_metadata": {}
},
"related_cves": [
{
"value": "CVE-2021-22047",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 431279,
"published_at": "2021-10-28T16:15:07.623+00:00"
}