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


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.2% (59th percentile)

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 Learn

Learn about SQL Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JAVA-ORGSPRINGFRAMEWORKDATA-31335
  • published3 Oct 2016
  • disclosed3 Oct 2016
  • creditUnknown

Introduced: 3 Oct 2016

CVE-2016-6652  (opens in a new tab)
CWE-89  (opens in a new tab)

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.

CVSS Scores

version 3.1