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.
Metrics
CVSS 3.0 5.6/10
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:LWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
References
- http://www.securityfocus.com/bid/93276
- https://github.com/spring-projects/spring-data-jpa/commit/b8e7fePatch
- https://jira.spring.io/browse/DATAJPA-965Mitigation, Vendor Advisory
- https://pivotal.io/security/cve-2016-6652Vendor Advisory
- https://security.gentoo.org/glsa/201701-01
- http://www.securityfocus.com/bid/93276
- https://github.com/spring-projects/spring-data-jpa/commit/b8e7fePatch
- https://jira.spring.io/browse/DATAJPA-965Mitigation, Vendor Advisory
- https://pivotal.io/security/cve-2016-6652Vendor Advisory
- https://security.gentoo.org/glsa/201701-01
Timeline
- Published
- Oct 5, 2016
- Last modified
- Jun 17, 2026
- NVD status
- Modified