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.
Remediation
References
https://pivotal.io/security/cve-2019-3797
Related Vulnerabilities
CVE-2023-42795 Vulnerability in maven package org.apache.tomcat:tomcat
CVE-2020-2198 Vulnerability in maven package hudson.plugins:project-inheritance
CVE-2018-1190 Vulnerability in maven package org.cloudfoundry.identity:cloudfoundry-identity-model
CVE-2020-6427 Vulnerability in npm package electron
CVE-2021-21689 Vulnerability in maven package org.jenkins-ci.main:jenkins-core