MODERATE 5.6

CVE-2016-6652

Improper Neutralization of Special Elements used in an SQL Command Pivotal Spring Data JPA

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.

Affected Maven artifacts (1)

ArtifactAffected versionsFixed in
org.springframework.data » spring-data-jpa
< 1.9.6>= 1.10.0, < 1.10.4
1.9.6, 1.10.4

Blast radius

1affected artifacts
75affected versions
1,178dependent artifacts (est.)
19,350dependent versions

54% of the dependent artifacts (643) still pull an affected version in their latest release.

DepthDependent versions
Direct
3,646
2 hops
9,851
3 hops
4,898
4 hops
818
5 hops
128
6 hops
9

Most used dependents

Computed from the dependency graph of build 20261125.0317 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.

References

Advisorynvd.nist.gov
Webgithub.com
Webjira.spring.io
Webpivotal.io
Websecurity.gentoo.org
Websecurityfocus.com