Description
Spring Data REST serializes the full exception cause chain into HTTP error response bodies, potentially exposing persistence-layer internals to HTTP clients.
Affected versions:
Spring Data REST 3.7.0 through 3.7.19; 4.3.0 through 4.3.16; 4.4.0 through 4.4.14; 4.5.0 through 4.5.11; 5.0.0 through 5.0.5.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Spring | Spring Data REST | 3.7.0 – < 3.7.20, 4.3.0 – < 4.3.17, 4.4.0 – < 4.4.15, 4.5.0 – < 4.5.11.1, 5.0.0 – < 5.0.5.1 | 3.7.20 |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Maven | org.springframework.data:spring-data-rest-core | >= 5.0.0, < 5.0.6 | 5.0.6 | GHSA-p5mm-xwgq-whfr |
| Maven | org.springframework.data:spring-data-rest-core | >= 4.5.0, < 4.5.12 | 4.5.12 | GHSA-p5mm-xwgq-whfr |
| Maven | org.springframework.data:spring-data-rest-core | >= 4.4.0, <= 4.4.14 | — | GHSA-p5mm-xwgq-whfr |
| Maven | org.springframework.data:spring-data-rest-core | >= 4.3.0, <= 4.3.16 | — | GHSA-p5mm-xwgq-whfr |
| Maven | org.springframework.data:spring-data-rest-core | <= 3.7.19 | — | GHSA-p5mm-xwgq-whfr |