spring-data-rest-core is vulnerable to Improper Access Control
43
Medium Risk
spring-data-rest-core does not preserve the persisted @Version property when merging an HTTP PUT into an immutable aggregate. Mutable types keep identifier and version from storage, but records, Kotlin data classes, and all-args @PersistenceCreator types return the request body and restore only @JsonIgnore properties. An authenticated client can therefore persist a client-supplied version and defeat optimistic locking. The patch restores version from storage for immutable PUT merges.
You are affected if you are using a version that falls within the vulnerable range and a Spring Data REST repository exposes an immutable aggregate with a @Version property over HTTP PUT.
spring-data-rest-core is vulnerable to Improper Access Control in versions 0.0.1 - 5.0.6 and 5.1.0 - 5.1.0.
Upgrade the org.springframework.data:spring-data-rest-core library to the patch version.
Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.
Free. No credit card required.

I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant