Impact
Spring Data REST does not preserve the @Version property of an aggregate root when an HTTP PUT request is made against an immutable target type. The accepted payload nonetheless updates the version field that is intended to be immutable. An attacker who can send a crafted PUT request can alter the version number of an entity, potentially overwriting recent changes or bypassing optimistic locking controls. The flaw exposes the integrity of persisted data but does not lead to code execution or denial of service. The CVSS score of 4.3 places it in a moderate severity band, indicating a tangible but not critical risk.
Affected Systems
The vulnerability impacts all versions of Spring Data REST from 3.7.20 up to and including 5.1.0, including the mid‑range releases 4.0.0‑4.4.15, 4.5.0‑4.5.12, 5.0.0‑5.0.6, and the 5.1.0 release. Systems running any of these versions and exposing PUT endpoints for immutable aggregate roots are potentially affected.
Risk and Exploitability
The vulnerability is exploitable via standard HTTP traffic to the REST endpoints that expose immutable aggregates. An attacker must be able to send a valid PUT request to the resource URL, which typically requires network reachability to the service and, depending on the application, may need authorization credentials. EPSS data is unavailable and the issue is not listed in the CISA KEV catalog, suggesting no widespread exploitation yet. Nonetheless, the moderate CVSS score and the ability to modify a critical concurrency control field make the risk significant for data integrity, especially in environments where optimistic locking is relied upon.
OpenCVE Enrichment