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.
Remediation
References
http://www.securityfocus.com/bid/93276
https://github.com/spring-projects/spring-data-jpa/commit/b8e7fe
https://jira.spring.io/browse/DATAJPA-965
https://pivotal.io/security/cve-2016-6652
https://security.gentoo.org/glsa/201701-01
Related Vulnerabilities
CVE-2023-29526 Vulnerability in maven package org.xwiki.platform:xwiki-platform-oldcore
CVE-2019-25027 Vulnerability in maven package com.vaadin:flow-server
CVE-2023-32070 Vulnerability in maven package org.xwiki.rendering:xwiki-rendering-syntax-xhtml
CVE-2018-19586 Vulnerability in maven package org.silverpeas.core:silverpeas-core-web
CVE-2021-21321 Vulnerability in npm package fastify-reply-from