SQL Injection Affecting org.springframework.data:spring-data-jpa package, versions [,1.9.6.RELEASE) [1.10.0.RELEASE,1.10.4.RELEASE)


0.0
medium

Snyk CVSS

    Attack Complexity High

    Threat Intelligence

    EPSS 0.2% (58th percentile)
Expand this section
NVD
5.6 medium

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk ID SNYK-JAVA-ORGSPRINGFRAMEWORKDATA-31335
  • published 3 Oct 2016
  • disclosed 3 Oct 2016
  • credit Unknown

How to fix?

Upgrade org.springframework.data:spring-data-jpa to version 1.9.6.RELEASE, 1.10.4.RELEASE or higher.

Overview

org.springframework.data:spring-data-jpa is a package that is used to implement JPA based repositories.

Affected versions of this package are vulnerable to SQL Injection. Attackers to execute arbitrary JPQL commands via a sort instance with a function call, when used with a repository that defines a String query using the @Query annotation.