CVE-2016-6652
mediumpriority · track · 22EPSS 0.008 · 57 %ileEUUSEPSS · scored 2026-10-28
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.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (5)
Products and version ranges known to be affected.
- pivotal software spring data jpa≤ 1.9.4nvdUScpe:2.3:a:pivotal_software:spring_data_jpa:*:*:*:*:*:*:*:*
- pivotal software spring data jpa= 1.10.2nvdUScpe:2.3:a:pivotal_software:spring_data_jpa:*:*:*:*:*:*:*:*
- Maven org.springframework.data:spring-data-jpa< 1.9.6osvUSpkg:maven/org.springframework.data/spring-data-jpa
- Maven org.springframework.data:spring-data-jpa1.10.0 → 1.10.4osvUSpkg:maven/org.springframework.data/spring-data-jpa
advisories (1)
Vendor and ecosystem advisories describing this.
- GHSA-xr4v-28rm-pvgwImproper Neutralization of Special Elements used in an SQL Command Pivotal Spring Data JPA2022-05-17ghsa · osvUS
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.
also known as (3)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (13)
External citations — patches, advisories, analysis.
- https://github.com/spring-projects/spring-data-jpa/commit/b8e7fecnnvd
- https://jira.spring.io/browse/DATAJPA-965cnnvd
- https://pivotal.io/security/cve-2016-6652cnnvd
- http://www.securityfocus.com/bid/93276enisa_euvd
- https://github.com/spring-projects/spring-data-jpa/commit/b8e7feenisa_euvd
- https://jira.spring.io/browse/DATAJPA-965enisa_euvd
- https://pivotal.io/security/cve-2016-6652enisa_euvd
- https://security.gentoo.org/glsa/201701-01enisa_euvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan