CVE-2016-6652

Medium

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.

SeverityMedium
CVSS5.6
Exploit probability—
ProductPivotal Software Spring Data Jpa
PublishedOct 5, 2016
First seenOct 5, 2016

How to fix

Update
  • org.springframework.data:spring-data-jpa1.9.6, 1.10.4 or later

Affected products

ProductAffected versionsFixed in
pivotal_software spring_data_jpav ≤ 1.9.4, 1.10.2—
org.springframework.data:spring-data-jpaMavenv < 1.9.6, 1.10.0 ≤ v < 1.10.41.9.6, 1.10.4

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.