GitHub Advisory Database
GHSA-4926-qpxg-6r3w
Exposure of Resource to Wrong Sphere in Spring Data REST
Details
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.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Maven | org.springframework.data:spring-data-rest-core | From 3.4.0 before 3.4.14 (fixed in 3.4.14) |
| Maven | org.springframework.data:spring-data-rest-core | From 3.5.0 before 3.5.6 (fixed in 3.5.6) |