CVE-2016-6652Pivotal Software Spring Data Jpa
Medium 5.6 No auth needed
Follow: this CVE · Pivotal Software · Pivotal Software Spring Data Jpa We alert you by email or Slack (account required).
- Priority
- 49
- CVSS 3.0
- 5.6
- EPSS
- 0.8% probability of exploitation in 30 days · percentile 54
- Auth required
- No
- Published
- Oct 5, 2016
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-89
- Vector
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L
What happens
SQL injection vulnerability in Pivotal Spring Data JPA before 1.9.6 (Gosling SR6) and 1.10.x before 1.10.4 (Hopper SR4), when used with a repository that defines a String query using the @Query annotation, allows attackers to execute arbitrary JPQL commands via a sort instance with a function call.
What to do
- Apply the vendor's security update for Spring Data Jpa.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Maven | org.springframework.data:spring-data-jpa |
< 1.9.6 |
1.9.6 |
— |
| Maven | org.springframework.data:spring-data-jpa |
≥ 1.10.0 < 1.10.4 |
1.10.4 |
— |
Per OSV / GitHub Advisories (GHSA-xr4v-28rm-pvgw). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| pivotal_software | spring_data_jpa | ≤ 1.9.4 |
| pivotal_software | spring_data_jpa | 1.10.2 |
Official sources
References
Links published by the sources. Open them with care.
- www.securityfocus.com
- github.com Patch
- jira.spring.io Mitigation Vendor Advisory
- pivotal.io Vendor Advisory
- security.gentoo.org