Improper Neutralization of Special Elements used in an SQL Command Pivotal Spring Data JPA
Summary
CVE-2016-6652: Improper Neutralization of Special Elements used in an SQL Command Pivotal Spring Data JPA. Affects org.springframework.data:spring-data-jpa across 2 version ranges.
< 1.9.6
>= 1.10.0, < 1.10.4
Fixed in 1.9.6 or 1.10.4, depending on the release line you run. How to fix ↓
Check if this vulnerability affects your application
Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.
No signup required · Results in about 60 seconds
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.
How To Fix
Fixed versions by release line
The minimum fixed version depends on the release line you run.
-
< 1.9.61.9.6 -
>= 1.10.0, < 1.10.41.10.4
Tip — Not sure which release line you're on? Vulert can find the fix for the version you are using. Scan free →
Related vulnerabilities
Recent vulnerabilities recorded for org.springframework.data:spring-data-jpa.