{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2016-6652","id":"CVE-2016-6652","title":"Improper Neutralization of Special Elements used in an SQL Command  Pivotal Spring Data JPA","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.","descriptionLong":"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.","published":"2016-10-05T16:00:00.000Z","updated":"2026-10-20T10:47:56.412634866Z","reserved":"2016-08-10T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"dell","metric":{"version":"3.0","score":5.6,"vector":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L","rating":"medium","source":"NVD"},"metrics":[{"version":"3.0","score":5.6,"vector":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L","rating":"medium","source":"NVD"},{"version":"3.0","score":5.6,"vector":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L","rating":"medium","source":"OSV"},{"version":"3.0","score":5.6,"vector":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L","rating":"medium","source":"GitHub"},{"version":"2.0","score":6.8,"vector":"AV:N/AC:M/Au:N/C:P/I:P/A:P","rating":"medium","source":"NVD"}],"rating":"medium","products":[],"affectedProducts":[{"vendor":"n/a","product":"n/a","defaultStatus":null,"versions":[{"status":"affected","version":"n/a"}],"platforms":[]}],"packages":[{"ecosystem":"Maven","name":"org.springframework.data:spring-data-jpa","purl":"pkg:maven/org.springframework.data/spring-data-jpa","ranges":["<1.9.6",">=1.10.0 <1.10.4"],"fixed":["1.9.6","1.10.4"],"advisory":"GHSA-xr4v-28rm-pvgw"}],"cwes":["CWE-89"],"aliases":["GHSA-xr4v-28rm-pvgw"],"references":[{"url":"http://www.securityfocus.com/bid/93276","tags":["vdb-entry","x_refsource_BID","x_transferred","web"]},{"url":"https://jira.spring.io/browse/DATAJPA-965","tags":["x_refsource_CONFIRM","x_transferred","Mitigation","Vendor Advisory","advisory","web"]},{"url":"https://pivotal.io/security/cve-2016-6652","tags":["x_refsource_CONFIRM","x_transferred","Vendor Advisory","advisory","web"]},{"url":"https://security.gentoo.org/glsa/201701-01","tags":["vendor-advisory","x_refsource_GENTOO","x_transferred","advisory","web"]},{"url":"https://github.com/spring-projects/spring-data-jpa/commit/b8e7fe","tags":["x_refsource_CONFIRM","x_transferred","Patch","fix","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2016-6652","tags":["advisory"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.00822,"epssPercentile":0.58021,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2016-6652","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2016-6652","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2016-6652","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-xr4v-28rm-pvgw","ok":true,"note":"GHSA-xr4v-28rm-pvgw"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2016-6652","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}