Spring Data REST allows mutation of the version property of immutable aggregates via PUT
Spring Data REST
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Spring Spring Data REST |
| No fix yet |
Original description
Spring Data REST does not preserve the persisted version (@Version) property of an aggregate root when handling an HTTP PUT against an immutable target type. Spring Data REST 5.1.0 Spring Data REST 5.0.0 - 5.0.6 Spring Data REST 4.5.0 - 4.5.12 Spring Data REST 4.0.0 - 4.4.15 Spring Data REST 3.7.20 and earlier