CVE-2019-3797
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.
How to fix
- org.springframework.data:spring-data-jpa1.11.20, 2.0.14, 2.1.6 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| pivotal_software spring_data_java_persistence_api | 1.11.0 ≤ v ≤ 1.11.19, 2.0.0 ≤ v ≤ 2.0.13, 2.1.0 ≤ v ≤ 2.1.5 | — |
| org.springframework.data:spring-data-jpaMaven | v < 1.11.20, 2.0.0 ≤ v < 2.0.14, 2.1.0 ≤ v < 2.1.6 | 1.11.20, 2.0.14, 2.1.6 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.