~ / search / GHSA-4926-qpxg-6r3w

GHSA-4926-qpxg-6r3w

Exposure of Resource to Wrong Sphere in Spring Data REST

Source: GitHub Advisory Database (reviewed) Moderate CVE-2021-22047

Packages

EcosystemPackageAffectedFixed in
Maven org.springframework.data:spring-data-rest-core >= 3.4.0, < 3.4.14 3.4.14
Maven org.springframework.data:spring-data-rest-core >= 3.5.0, < 3.5.6 3.5.6

Details

As written in the advisory (Markdown source, shown as plain text).

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

External links from the advisory. They lead to third-party sites.