5.6med
CVE-2016-6652
Improper Neutralization of Special Elements used in an SQL Command Pivotal Spring Data JPA
Also known as GHSA-xr4v-28rm-pvgw
Published 10 y ago · modified 4 mo ago · JSON
CVSS
5.6
v3.0 · NVD
CISA KEV
No
not known exploited
EPSS
0.8%
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.
Exploit prediction (EPSS)
0.82% probability of exploitation in the next 30 days, higher than 57% of all scored CVEs.
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
- securityfocus.com /bid/93276 · vdb-entry, x_refsource_BID, x_transferred
- jira.spring.io /browse/DATAJPA-965 · x_refsource_CONFIRM, x_transferred
- pivotal.io /security/cve-2016-6652 · x_refsource_CONFIRM, x_transferred
- security.gentoo.org /glsa/201701-01 · vendor-advisory, x_refsource_GENTOO, x_transferred
- github.com /spring-projects/spring-data-jpa/commit/b8e7fe · x_refsource_CONFIRM, x_transferred
- 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
vulnwire keeps one entry per vulnerability: the CVE id wins, then GHSA; records that alias each other are merged. Machine-readable: JSON.