NetSight
medium5.3

CVE-2021-22047

Exposure of Resource to Wrong Sphere in Spring Data REST

Impact

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

EcosystemPackageAffectedFixed in
mavenorg.springframework.data:spring-data-rest-core>= 3.4.0, <= 3.4.133.4.14

Affected products

VendorProductAffected versions
VmwareSpring Data Rest
from 3.4.0 through 3.4.13
from 3.5.0 through 3.5.5

Weakness classification

References