low3.7
CVE-2022-31679
Spring Data REST can expose hidden entity attributes
Impact
Applications that allow HTTP PATCH access to resources exposed by Spring Data REST in versions 3.6.0 - 3.6.6, 3.7.0 - 3.7.2, and older unsupported versions, if an attacker knows about the structure of the underlying domain model, they can craft HTTP requests that expose hidden entity attributes.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| maven | org.springframework.data:spring-data-rest-core | >= 3.6.0, < 3.6.7 | 3.6.7 |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Vmware | Spring Data Rest | from 3.6.0 before 3.6.7 from 3.7.0 before 3.7.3 |
References
- NVD record
- CVE.org record
- GitHub advisory
- https://tanzu.vmware.com/security/cve-2022-31679
- https://github.com/advisories/GHSA-fv7x-v67w-cvqv
- https://nvd.nist.gov/vuln/detail/CVE-2022-31679
- https://github.com/spring-projects/spring-data-rest/commit/2ad081f75b4baabfbc139f0dc2b75c54889b4053
- https://github.com/spring-projects/spring-data-rest/commit/bf37590b25a0c066f67547b39fb4d7294e2c7cb7