Improper Neutralization of Special Elements used in an SQL Command Pivotal Spring Data JPA
Moderate severity
GitHub Reviewed
Published
May 17, 2022
to the GitHub Advisory Database
•
Updated Jan 27, 2023
Package
Affected versions
< 1.9.6
>= 1.10.0, < 1.10.4
Patched versions
1.9.6
1.10.4
Description
Published by the National Vulnerability Database
Oct 5, 2016
Published to the GitHub Advisory Database
May 17, 2022
Reviewed
Jul 6, 2022
Last updated
Jan 27, 2023
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.
References