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.
Advisories
Source ID Title
EUVD EUVD EUVD-2022-5849 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.
Github GHSA Github GHSA GHSA-xr4v-28rm-pvgw Improper Neutralization of Special Elements used in an SQL Command Pivotal Spring Data JPA
Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

No history.

cve-icon MITRE

Status: PUBLISHED

Assigner: dell

Published:

Updated: 2024-08-06T01:36:29.349Z

Reserved: 2016-08-10T00:00:00

Link: CVE-2016-6652

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Deferred

Published: 2016-10-05T16:59:04.757

Modified: 2025-04-12T10:46:40.837

Link: CVE-2016-6652

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

No data.