{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2016-6652","published":"2016-10-05T16:59:04.757000Z","last_modified":"2026-06-17T00:51:32.190000Z","status":"Modified","cvss":{"version":"3.0","score":5.6,"severity":"MEDIUM","vector":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L","source":"nvd@nist.gov","primary":true},"auth":false,"cwes":["CWE-89"],"cpes":[{"criteria":"cpe:2.3:a:pivotal_software:spring_data_jpa:*:*:*:*:*:*:*:*","part":"a","vendor":"pivotal_software","product":"spring_data_jpa","version_end_including":"1.9.4"},{"criteria":"cpe:2.3:a:pivotal_software:spring_data_jpa:1.10.2:*:*:*:*:*:*:*","part":"a","vendor":"pivotal_software","product":"spring_data_jpa","version":"1.10.2"}],"cpes_truncated":false,"vendors":["pivotal_software"],"products":["pivotal_software/spring_data_jpa"],"epss":{"score":0.00822,"percentile":0.54453,"date":"2026-11-27","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-xr4v-28rm-pvgw","ecosystem":"Maven","name":"org.springframework.data:spring-data-jpa","purl":"pkg:maven/org.springframework.data/spring-data-jpa","ranges":[{"introduced":"0","fixed":"1.9.6"}],"versions":["1.0.0.RELEASE","1.0.1.RELEASE","1.0.2.RELEASE","1.0.3.RELEASE","1.1.0.RELEASE","1.1.1.RELEASE","1.1.2.RELEASE","1.2.0.RELEASE","1.2.1.RELEASE","1.3.0.RELEASE","1.3.1.RELEASE","1.3.2.RELEASE","1.3.3.RELEASE","1.3.4.RELEASE","1.3.5.RELEASE","1.4.0.RELEASE","1.4.1.RELEASE","1.4.2.RELEASE","1.4.3.RELEASE","1.4.4.RELEASE","1.4.5.RELEASE","1.5.0.RELEASE","1.5.1.RELEASE","1.5.2.RELEASE","1.5.3.RELEASE","1.6.0.RELEASE","1.6.1.RELEASE","1.6.2.RELEASE","1.6.4.RELEASE","1.6.5.RELEASE","1.6.6.RELEASE","1.7.0.RELEASE","1.7.1.RELEASE","1.7.2.RELEASE","1.7.3.RELEASE","1.7.4.RELEASE","1.8.0.RC1","1.8.0.RELEASE","1.8.1.RELEASE","1.8.2.RELEASE","1.9.0.RELEASE","1.9.1.RELEASE","1.9.2.RELEASE","1.9.4.RELEASE","1.9.5.RELEASE"],"versions_truncated":false},{"advisory":"GHSA-xr4v-28rm-pvgw","ecosystem":"Maven","name":"org.springframework.data:spring-data-jpa","purl":"pkg:maven/org.springframework.data/spring-data-jpa","ranges":[{"introduced":"1.10.0","fixed":"1.10.4"}],"versions":["1.10.0.RELEASE","1.10.1.RELEASE","1.10.2.RELEASE","1.10.3.RELEASE"],"versions_truncated":false}],"severity":"medium","priority_score":49,"links":{"html_es":"/es/cve/CVE-2016-6652/","html_en":"/en/cve/CVE-2016-6652/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2016-6652","cve_org":"https://www.cve.org/CVERecord?id=CVE-2016-6652"},"untrusted":{"vendor_name":"Pivotal Software","product_name":"Spring Data Jpa","desc_en":"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.","affected":[],"references":[{"url":"http://www.securityfocus.com/bid/93276","tags":[]},{"url":"https://github.com/spring-projects/spring-data-jpa/commit/b8e7fe","tags":["Patch"]},{"url":"https://jira.spring.io/browse/DATAJPA-965","tags":["Mitigation","Vendor Advisory"]},{"url":"https://pivotal.io/security/cve-2016-6652","tags":["Vendor Advisory"]},{"url":"https://security.gentoo.org/glsa/201701-01","tags":[]}]}}