CVE-2016-6652 json
Improper Neutralization of Special Elements used in an SQL Command Pivotal Spring Data JPA
published 2016-10-05 10 y ago modified 2026-06-17 4 mo ago also GHSA-xr4v-28rm-pvgw , EUVD-2022-5849
- cvss
- 5.6
- version 3.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.8%
- EPSS 0.8% chance of exploitation in 30 days, percentile 57%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- maven org.springframework.data:spring-data-jpa 1.9.6, 1.10.4
Exploit prediction
0.82% chance of exploitation in the next 30 days, higher than 57% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.0 | 5.6 | CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L |
| NVD | 2.0 | 6.8 | AV:N/AC:M/Au:N/C:P/I:P/A:P |
| GitHub | 3.0 | 5.6 | CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| maven | org.springframework.data:spring-data-jpa | <1.9.6 >=1.10.0, <1.10.4 |
1.9.6 1.10.4 |
Classification
- Weakness
-
- CWE-89 Improper Neutralization of Special Elements used in an SQL Command
References
-
github.com
/spring-projects/spring-data-jpa/commit/b8e7fe
web, patch
-
security.gentoo.org
/glsa/201701-01
vendor-advisory, web
-
jira.spring.io
/browse/DATAJPA-965
web, mitigation, vendor-advisory
-
pivotal.io
/security/cve-2016-6652
web, vendor-advisory
-
securityfocus.com
/bid/93276
vdb-entry, web
-
nvd.nist.gov
/vuln/detail/CVE-2016-6652
advisory
Sources
- CVE List CVE-2016-6652
- GitHub Advisory GHSA-xr4v-28rm-pvgw
- NVD CVE-2016-6652
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.