CVE-2016-6652

Summary

CVECVE-2016-6652
StatePUBLISHED
Assignerdell
Source PriorityCVE Program / NVD first with legacy fallback
Published2016-10-05 16:59:04 UTC
Updated2026-05-06 22:30:45 UTC
DescriptionSQL 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


VersionSourceTypeScoreSeverityVector
3.0[email protected]Primary5.6MEDIUMCVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L
2.0[email protected]Primary6.8AV:N/AC:M/Au:N/C:P/I:P/A:P

CVSS v3.0 Breakdown

Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
Low
Availability
Low

CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L

CVSS v2.0 Breakdown

Access Vector
Network
Access Complexity
Medium
Authentication
None
Confidentiality
Partial
Integrity
Partial
Availability
Partial

AV:N/AC:M/Au:N/C:P/I:P/A:P

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
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

SourceVendorProductVersionPlatforms
CNA Na N/a affected n/a Not specified

References

ReferenceSourceLinkTags
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

Legacy QID Mappings

  • 710332 Gentoo Linux MariaDB and MySQL Multiple Vulnerabilities (GLSA 201701-01)
© CVE.report 2026 |

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report