Description
Spring Data REST's JSON Patch (application/json-patch+json) implementation does not apply the write-access filter to intermediate path segments when resolving a multi-segment JSON Pointer.
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-cv39-x4c6-hhp2 |
| Maven | org.springframework.data:spring-data-rest-core | >= 4.5.0, < 4.5.12 | 4.5.12 | GHSA-cv39-x4c6-hhp2 |
| Maven | org.springframework.data:spring-data-rest-core | >= 4.4.0, <= 4.4.14 | — | GHSA-cv39-x4c6-hhp2 |
| Maven | org.springframework.data:spring-data-rest-core | >= 4.3.0, <= 4.3.16 | — | GHSA-cv39-x4c6-hhp2 |
| Maven | org.springframework.data:spring-data-rest-core | <= 3.7.19 | — | GHSA-cv39-x4c6-hhp2 |