All reports
Medium

Exposure of Resource to Wrong Sphere in Spring Data REST

Affected versions

Affected versions
>= 3.4.0, <= 3.4.13
Fixed version
3.4.14
Affected versions
>= 3.5.0, <= 3.5.5
Fixed version
3.5.6

Exploitation

CVE-2021-22047

Probability of exploitation in the next 30 days: 0.77%

FIRST EPSS · 2026-11-23

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.

Links