CVE-2021-22047
mediumpriority · track · 21EPSS 0.008 · 55 %ileEUUSEPSS · scored 2026-10-23
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
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (5)
Products and version ranges known to be affected.
- n/a Spring Data REST≤ Spring Data REST versions 3.4.x prior to 3.4.14+ ,3.5.x prior to 3.5.6+ and old unsupported versionsenisa_euvdEU
- Maven org.springframework.data:spring-data-rest-core3.4.0 → 3.4.14osvUSpkg:maven/org.springframework.data/spring-data-rest-core
- Maven org.springframework.data:spring-data-rest-core3.5.0 → 3.5.6osvUSpkg:maven/org.springframework.data/spring-data-rest-core
advisories (1)
Vendor and ecosystem advisories describing this.
- GHSA-4926-qpxg-6r3wExposure of Resource to Wrong Sphere in Spring Data REST2022-05-24ghsa · osvUS
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.
also known as (3)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (4)
External citations — patches, advisories, analysis.
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan