GitHub Advisory Database
GHSA-9qf9-28h9-hqcj
Remote code execution in PATCH requests in Spring Data REST
Details
Malicious PATCH requests submitted to servers using Spring Data REST versions prior to 2.6.9 (Ingalls SR9), versions prior to 3.0.1 (Kay SR1) can use specially crafted JSON data to run arbitrary Java code.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Maven | org.springframework.data:spring-data-rest-core | All versions before 2.6.9.RELEASE (fixed in 2.6.9.RELEASE) |
| Maven | org.springframework.data:spring-data-rest-core | From 3.0.0 before 3.0.1.RELEASE (fixed in 3.0.1.RELEASE) |
References
- https://nvd.nist.gov/vuln/detail/CVE-2017-8046
- https://github.com/spring-projects/spring-data-rest/issues/1487
- https://github.com/spring-projects/spring-data-rest/issues/1520
- https://access.redhat.com/errata/RHSA-2018:2405
- https://bugzilla.redhat.com/show_bug.cgi?id=1553024
- https://github.com/spring-projects/spring-data-rest
- https://jira.spring.io/browse/DATAREST-1127?redirect=false
- https://pivotal.io/security/cve-2017-8046