{"id":"CVE-2019-3797","published":"2019-05-06T15:21:37Z","modified":"2024-09-16T17:33:03Z","title":"Additional information exposure with Spring Data JPA derived queries","vendor":"Spring","product":"Spring Boot","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":3.5,"severity":"LOW","version":"3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:N/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01087,"percentile":0.66153,"provenance":"source"},"cwes":[{"id":"CWE-89","name":"Improper Neutralization of Special Elements used in an SQL Command"}],"references":[{"url":"https://pivotal.io/security/cve-2019-3797","tags":["x_refsource_CONFIRM"]}],"priority":{"score":15.7,"factors":[{"name":"EPSS percentile","points":13.23},{"name":"CVSS severity","points":2.45}]},"vendorSlug":"spring","affectedVersions":[{"vendor":"Spring","product":"Spring Boot","versions":[">= 2.0, < v2.0.9.RELEASE",">= 1.5, < v1.5.20.RELEASE",">= 2.1, < v2.1.4.RELEASE"]}],"affected":[{"ecosystem":"Maven","package":"org.springframework.data:spring-data-jpa","vulnerableRanges":["<1.11.20",">=2.0.0, <2.0.14",">=2.1.0, <2.1.6"],"patched":["1.11.20","2.0.14","2.1.6"],"from":["GHSA-jgmr-wrwx-mgfj"],"provenance":"source"}],"summary":{"text":"The flaw is in the Spring Data JPA component of Spring Boot, where derived queries using the predicates startingWith, endingWith, or containing, as well as manually defined LIKE expressions, can mishandle parameter values. An attacker who supplies a maliciously crafted query parameter value can cause queries to return more results than expected or unexpected results when reserved characters are not properly escaped, and this requires low privileges and some user interaction, with network access to the affected application.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:34:22Z"},"euvd":{"id":"EUVD-2019-0471","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2016-6652","published":"2016-10-05","fixed":"1.10.4","kev":false},{"cve":"CVE-2019-3797","published":"2019-05-06","fixed":"2.1.6","kev":false},{"cve":"CVE-2019-3802","published":"2019-06-03","fixed":"2.1.8","kev":false,"link":{"from":"CVE-2019-3797","to":"CVE-2019-3802","relation":"successor","confidence":"medium","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Maven:org.springframework.data:spring-data-jpa","fromFixed":"1.11.20","toFixed":"1.11.22","daysApart":28},{"kind":"version-step","provenance":"source","package":"Maven:org.springframework.data:spring-data-jpa","fromFixed":"2.1.6","toFixed":"2.1.8","daysApart":28},{"kind":"similar","provenance":"machine","score":0.25,"basis":"same package + description similarity"}]}}],"package":"Maven:org.springframework.data:spring-data-jpa"}}