CVE-2016-6652
Summary
| CVE | CVE-2016-6652 |
|---|---|
| State | PUBLISHED |
| Assigner | dell |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2016-10-05 16:59:04 UTC |
| Updated | 2026-05-06 22:30:45 UTC |
| Description | 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. |
Risk And Classification
Primary CVSS: v3.0 5.6 MEDIUM from [email protected]
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L
EPSS: 0.003170000 probability, percentile 0.547300000 (date 2026-05-07)
Problem Types: CWE-89 | n/a
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 3.0 | [email protected] | Primary | 5.6 | MEDIUM | CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L |
| 2.0 | [email protected] | Primary | 6.8 | AV:N/AC:M/Au:N/C:P/I:P/A:P |
CVSS v3.0 Breakdown
Attack Vector
NetworkAttack Complexity
HighPrivileges Required
NoneUser Interaction
NoneScope
UnchangedConfidentiality
LowIntegrity
LowAvailability
LowCVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L
CVSS v2.0 Breakdown
Access Vector
NetworkAccess Complexity
MediumAuthentication
NoneConfidentiality
PartialIntegrity
PartialAvailability
PartialAV:N/AC:M/Au:N/C:P/I:P/A:P
NVD Known Affected Configurations (CPE 2.3)
| Type | Vendor | Product | Version | Update | Edition | Language |
|---|---|---|---|---|---|---|
| Application | Pivotal Software | Spring Data Jpa | 1.10.2 | All | All | All |
| Application | Pivotal Software | Spring Data Jpa | All | All | All | All |
Vendor Declared Affected Products
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| CVE-2016-6652 Spring Data JPA Blind SQL Injection Vulnerability | Security | Pivotal | af854a3a-2127-422b-91ae-364da2661108 | pivotal.io | Vendor Advisory |
| DATAJPA-965 - Fix potential blind SQL injection in Sort when used in … · spring-projects/spring-data-jpa@b8e7fec · GitHub | af854a3a-2127-422b-91ae-364da2661108 | github.com | Patch |
| MariaDB and MySQL: Multiple vulnerabilities (GLSA 201701-01) — Gentoo security | af854a3a-2127-422b-91ae-364da2661108 | security.gentoo.org | |
| [DATAJPA-965] Mapping Sort instances to ORDER BY expressions should be restricted to fields for manually defined queries - Spring JIRA | af854a3a-2127-422b-91ae-364da2661108 | jira.spring.io | Mitigation, Vendor Advisory |
| Pivotal Spring Data JPA CVE-2016-6652 SQL Injection Vulnerability | af854a3a-2127-422b-91ae-364da2661108 | www.securityfocus.com | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
Legacy QID Mappings
- 710332 Gentoo Linux MariaDB and MySQL Multiple Vulnerabilities (GLSA 201701-01)