CVE-2019-3797
| Severity | 5.3 Medium CVSS 3.0 3 scores |
|---|---|
| Fixed in | 1.11.20, 2.0.14, 2.1.6 |
| Weakness | SQL injection (CWE-89) |
| Published | 6 May 2019 |
| Updated | 17 Jun 2026 |
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.
CWE-200 · Information exposure
Exploitation status
No public exploit
No exploit has been reported in the sources we check. Published 7 years ago.
Exploitation status
- CISA KEV not listed
- VulnCheck KEV not listed
- CISA Vulnrichment no assessment published
- Indexed PoC none indexed
- EPSS 1.1% chance in 30 days
Waratek protection
Waratek has a rule that blocks attacks on this vulnerability.
- Protection full SQL injection
- Action available security rule
- Review automated Inferred
- Record active
| Decided by | A vulnerability class already blocked by an ARMR security rule |
|---|---|
| Finding | Protected by Waratek's ARMR sql-injection security rule, which blocks this class of attack at the JVM level without a rule written for this CVE specifically. The CVE's weakness is CWE-89: SQL Injection. |
How to mitigate CVE-2019-3797
Upgrade the affected software to a release that fixes it: 1.11.20, 2.0.14 or 2.1.6. Until you can, Waratek RASP blocks exploitation with its SQL injection rule. It runs inside the Java application, with no code changes.
CVSS
5.3 MEDIUM
v3.0 CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
3 metrics
CVSS
5.3 MEDIUM v3.0CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
3 metrics
We show the highest score from the newest CVSS version. Scores from different versions can't be compared, and the first score listed is sometimes a 0.0 placeholder.
| Version | Score | Band | Vector | Assigner | Type | |
|---|---|---|---|---|---|---|
| CVSS 3.0 | 5.3 | MEDIUM | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N |
NVD | Primary | published |
| CVSS 3.0 | 3.5 | LOW | CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:N/A:N |
security_alert@emc.com | Secondary | |
| CVSS 2.0 | 5.0 | none | AV:N/AC:L/Au:N/C:P/I:N/A:N |
NVD | Primary |
Affected software and releases
Maven packages
Affected and fixed versions, from OSV.dev| Package | Introduced | Fixed | Last affected |
|---|---|---|---|
org.springframework.data:spring-data-jpa |
0 | 1.11.20 |
unbounded |
org.springframework.data:spring-data-jpa |
2.0.0 | 2.0.14 |
unbounded |
org.springframework.data:spring-data-jpa |
2.1.0 | 2.1.6 |
unbounded |
Products and versions
2 products, 6 version entries| Source | Vendor | Product | Scheme | Affected versions |
|---|---|---|---|---|
| osv | org.springframework.data | spring-data-jpa | generic | < 1.11.20 · ≥ 2.0.0 and < 2.0.14 · ≥ 2.1.0 and < 2.1.6 |
| nvd | pivotal software | spring data java persistence api | generic | ≥ 1.11.0 and ≤ 1.11.19 · ≥ 2.0.0 and ≤ 2.0.13 · ≥ 2.1.0 and ≤ 2.1.5 |
References
| URL | Tags |
|---|---|
| https://pivotal.io/security/cve-2019-3797 | WEB |
Timeline
Timeline
| Published | 2019-05-06 | By the CVE Program. |
|---|---|---|
| NVD record modified | 2026-06-17 | NVD's own last-modified date for this record. |