Skip to content
OpenAdvisories
Medium · 5.3 CVE-2021-22047 EUVD-2022-2343GHSA-4926-qpxg-6r3w

Exposure of Resource to Wrong Sphere in Spring Data REST

Published Oct 28, 2021 · Updated Aug 3, 2024 · Assigned by vmware

Description

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 products

VendorProductAffectedFixed
— 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 versions —

Affected packages

EcosystemPackageAffectedFixedRecord
Maven org.springframework.data:spring-data-rest-core >= 3.4.0, < 3.4.14 3.4.14 GHSA-4926-qpxg-6r3w
Maven org.springframework.data:spring-data-rest-core >= 3.5.0, < 3.5.6 3.5.6 GHSA-4926-qpxg-6r3w

References