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-2020-26870 Vulnerability in maven package org.webjars.npm:dompurify
CVE-2011-5064 Vulnerability in maven package org.apache.tomcat.embed:tomcat-embed-core
CVE-2016-5393 Vulnerability in maven package org.apache.hadoop:hadoop-common
CVE-2016-8750 Vulnerability in maven package org.apache.karaf.jaas:org.apache.karaf.jaas.modules
CVE-2022-31160 Vulnerability in maven package org.webjars.bower:jquery-ui