MODERATE 5.3

CVE-2019-3797

Exposure of Sensitive Information to an Unauthorized Actor and SQL Injection in Spring Data JPA

Description

This affects Spring Data JPA in versions up to and including 2.1.5, 2.0.13 and 1.11.19. Derived queries using any of the predicates ?startingWith?, ?endingWith? or ?containing? could return more results than anticipated when a maliciously crafted query parameter value is supplied. Also, LIKE expressions in manually defined queries could return unexpected results if the parameter values bound did not have escaped reserved characters properly.

Affected Maven artifacts (1)

ArtifactAffected versionsFixed in
org.springframework.data » spring-data-jpa
< 1.11.20>= 2.0.0, < 2.0.14>= 2.1.0, < 2.1.6
1.11.20, 2.0.14, 2.1.6

Blast radius

1affected artifacts
127affected versions
2,971dependent artifacts (est.)
54,484dependent versions

53% of the dependent artifacts (1,598) still pull an affected version in their latest release.

DepthDependent versions
Direct
5,797
2 hops
23,645
3 hops
19,059
4 hops
5,499
5 hops
447
6 hops
37

Most used dependents

Computed from the dependency graph of build 20261124.0621 (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.