CVE-2016-6652

5.6 MEDIUM
Published: October 05, 2016 Modified: May 06, 2026
View on NVD

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.

AI Explanation

Get an AI-powered plain-language explanation of this vulnerability and remediation steps.

Login to generate AI explanation

CVSS v3.x Details

0.0 Low Medium High Critical 10.0
Vector String
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L

References to Advisories, Solutions, and Tools

Patch Vendor Advisory Exploit Third Party Advisory
http://www.securityfocus.com/bid/93276
Source: security_alert@emc.com
https://jira.spring.io/browse/DATAJPA-965
Source: security_alert@emc.com
Mitigation Vendor Advisory
https://pivotal.io/security/cve-2016-6652
Source: security_alert@emc.com
Vendor Advisory
https://security.gentoo.org/glsa/201701-01
Source: security_alert@emc.com
http://www.securityfocus.com/bid/93276
Source: af854a3a-2127-422b-91ae-364da2661108
https://github.com/spring-projects/spring-data-jpa/commit/b8e7fe
Source: af854a3a-2127-422b-91ae-364da2661108
Patch
https://jira.spring.io/browse/DATAJPA-965
Source: af854a3a-2127-422b-91ae-364da2661108
Mitigation Vendor Advisory
https://pivotal.io/security/cve-2016-6652
Source: af854a3a-2127-422b-91ae-364da2661108
Vendor Advisory
https://security.gentoo.org/glsa/201701-01
Source: af854a3a-2127-422b-91ae-364da2661108

10 reference(s) from NVD

Quick Stats

CVSS v3 Score
5.6 / 10.0
EPSS (Exploit Probability)
0.3%
55th percentile
Exploitation Status
Not in CISA KEV

Weaknesses (CWE)

Affected Vendors

pivotal_software