{"id":"CVE-2016-6652","published":"2016-10-05T16:00:00Z","modified":"2024-08-06T01:36:29Z","title":"SQL injection vulnerability in Pivotal Spring Data JPA before 1.9.6 (Gosling SR6) and 1.10.x before 1.10.4 (Hopper…","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.00822,"percentile":0.58206,"provenance":"source"},"cwes":[],"references":[{"url":"http://www.securityfocus.com/bid/93276","tags":["vdb-entry","x_refsource_BID"]},{"url":"https://jira.spring.io/browse/DATAJPA-965","tags":["x_refsource_CONFIRM"]},{"url":"https://pivotal.io/security/cve-2016-6652","tags":["x_refsource_CONFIRM"]},{"url":"https://security.gentoo.org/glsa/201701-01","tags":["vendor-advisory","x_refsource_GENTOO"]},{"url":"https://github.com/spring-projects/spring-data-jpa/commit/b8e7fe","tags":["x_refsource_CONFIRM"]}],"priority":{"score":11.6,"factors":[{"name":"EPSS percentile","points":11.64}]},"affected":[{"ecosystem":"Maven","package":"org.springframework.data:spring-data-jpa","vulnerableRanges":["<1.9.6",">=1.10.0, <1.10.4"],"patched":["1.9.6","1.10.4"],"from":["GHSA-xr4v-28rm-pvgw"],"provenance":"source"}],"summary":{"text":"The flaw is a SQL injection vulnerability in Pivotal Spring Data JPA, affecting versions before 1.9.6 (Gosling SR6) and 1.10.x before 1.10.4 (Hopper SR4), in repositories that define a String query using the @Query annotation. An attacker who can supply a sort instance containing a function call can execute arbitrary JPQL commands against the application's database.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:05:36Z"},"euvd":{"id":"EUVD-2022-5849","exploited":false,"provenance":"source"}}