Exposure of Resource to Wrong Sphere in Spring Data REST
Moderate severity
GitHub Reviewed
Published
May 24, 2022
to the GitHub Advisory Database
•
Updated Jan 27, 2023
Package
Affected versions
>= 3.4.0, <= 3.4.13
>= 3.5.0, <= 3.5.5
Patched versions
3.4.14
3.5.6
Description
Published by the National Vulnerability Database
Oct 28, 2021
Published to the GitHub Advisory Database
May 24, 2022
Reviewed
Jun 22, 2022
Last updated
Jan 27, 2023
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.
References