CVE-2019-3797

Low

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.

SeverityLow
CVSS3.5
Exploit probability—
ProductPivotal Software Spring Data Java Persistence Api
PublishedMay 6, 2019
First seenMay 6, 2019
Weakness typeCWE-89SQL injection

How to fix

Update
  • org.springframework.data:spring-data-jpa1.11.20, 2.0.14, 2.1.6 or later

Affected products

ProductAffected versionsFixed in
pivotal_software spring_data_java_persistence_api1.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-jpaMavenv < 1.11.20, 2.0.0 ≤ v < 2.0.14, 2.1.0 ≤ v < 2.1.61.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.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.

CVE-2019-3797 · Pivotal Software Spring Data Java Persistence Api · Dark Radar