CWE
200 89
Advisory Published
CVE Published
Updated

CVE-2019-3797: Additional information exposure with Spring Data JPA derived queries

First published: Mon Apr 08 2019(Updated: )

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.

Credit: security_alert@emc.com

Affected SoftwareAffected VersionHow to fix
Pivotal Software Spring Data Java Persistence Api>=1.11.0<=1.11.19
Pivotal Software Spring Data Java Persistence Api>=2.0.0<=2.0.13
Pivotal Software Spring Data Java Persistence Api>=2.1.0<=2.1.5

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Parent vulnerabilities

(Appears in the following advisories)

Frequently Asked Questions

  • What is CVE-2019-3797?

    CVE-2019-3797 is a vulnerability affecting Spring Data JPA versions up to and including 2.1.5, 2.0.13, and 1.11.19.

  • What is the severity of CVE-2019-3797?

    The severity of CVE-2019-3797 is medium with a severity value of 5.3.

  • How does CVE-2019-3797 affect Spring Data JPA?

    CVE-2019-3797 affects Spring Data JPA by allowing derived queries using 'startingWith', 'endingWith', or 'containing' predicates to return more results than expected when a malicious query parameter value is used.

  • Which software versions are affected by CVE-2019-3797?

    Spring Data JPA versions up to and including 2.1.5, 2.0.13, and 1.11.19 are affected by CVE-2019-3797.

  • How can I fix CVE-2019-3797?

    To fix CVE-2019-3797, upgrade to Spring Data JPA version 2.1.6, 2.0.14, or 1.11.20, depending on the version you are using.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203