Live threats

All CVEs / Pivotal Software

CVE-2019-3797Pivotal Software Spring Data Java Persistence Api

Medium 5.3 No auth needed

Priority
47
CVSS 3.0
5.3
EPSS
1.1%
probability of exploitation in 30 days · percentile 66
Auth required
No
Published
May 6, 2019
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-89, CWE-200
Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Spring Data Java Persistence Api.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Maven org.springframework.data:spring-data-jpa < 1.11.20 1.11.20 —
Maven org.springframework.data:spring-data-jpa ≥ 2.0.0 < 2.0.14 2.0.14 —
Maven org.springframework.data:spring-data-jpa ≥ 2.1.0 < 2.1.6 2.1.6 —

Per OSV / GitHub Advisories (GHSA-jgmr-wrwx-mgfj). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
pivotal_softwarespring_data_java_persistence_api≥ 1.11.0 ≤ 1.11.19
pivotal_softwarespring_data_java_persistence_api≥ 2.0.0 ≤ 2.0.13
pivotal_softwarespring_data_java_persistence_api≥ 2.1.0 ≤ 2.1.5

Official sources

References

Links published by the sources. Open them with care.