CVE-2020-25638
| Affected software | 4 products, listed below |
|---|---|
| Severity | 7.4 High CVSS 3.1 3 scores |
| Fixed in | 5.4.24.Final, 5.3.20.Final |
| Weakness | SQL injection (CWE-89) |
| Published | 2 Dec 2020 |
| Updated | 13 Nov 2026 |
Description
A flaw was found in hibernate-core in versions prior to and including 5.4.23.Final. A SQL injection in the implementation of the JPA Criteria API can permit unsanitized literals when a literal is used in the SQL comments of the query. This flaw could allow an attacker to access unauthorized information or possibly conduct further attacks. The highest threat from this vulnerability is to data confidentiality and integrity.
Exploitation status
No public exploit
No exploit has been reported in the sources we check. Published 5 years ago.
Exploitation status
- CISA KEV not listed
- VulnCheck KEV not listed
- CISA Vulnrichment exploitation: none
- Indexed PoC none indexed
- EPSS 2.9% 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 human Researcher
- Record active
| Decided by | A researcher's recorded decision for this specific CVE |
|---|---|
| Finding | A researcher found this CVE protected by the ARMR SQL rule. |
Waratek research note
written 2026-11-13Written by a Waratek engineer who reviewed this CVE. Their decision sets the status above, ahead of every automated rule except a withdrawal.
Comments
Rule Name: SQL rule
How to mitigate CVE-2020-25638
Upgrade the affected software to a release that fixes it: 5.4.24.Final or 5.3.20.Final. Until you can, Waratek RASP blocks exploitation with its SQL injection rule. It runs inside the Java application, with no code changes.
CVSS
7.4 HIGH
v3.1 CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
3 metrics
CVSS
7.4 HIGH v3.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/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.1 | 7.4 | HIGH | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N |
NVD | Primary | published |
| CVSS 3.1 | 7.4 | HIGH | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N |
CISA-ADP | Secondary | |
| CVSS 2.0 | 5.8 | none | AV:N/AC:M/Au:N/C:P/I:P/A:N |
NVD | Primary |
Affected software and releases
Oracle advisories
| Advisory | Type | Quarter | Products Oracle names in its risk matrix |
|---|---|---|---|
| Oracle Critical Patch Update April 2024 ↗ | CPU | 2024-Q2 | Oracle Utilities Applications / General (hibernate-core) (4.3.0.3.0-4.3.0.6.0, 4.4.0.0.0, 4.4.0.2.0, 4.4.0.3.0, 4.5.0.0.0, 4.5.0.1.1, 4.5.0.1.2) |
| Oracle Critical Patch Update April 2023 ↗ | CPU | 2023-Q2 | Oracle Fusion Middleware / Core (JBoss Enterprise Application Platform) (14.1.1.0.0) |
| Oracle Critical Patch Update April 2022 ↗ | CPU | 2022-Q2 | Oracle Communications / CNC Console (hibernate-core) (1.9.0) |
| Oracle Critical Patch Update July 2021 ↗ | CPU | 2021-Q3 | Oracle Retail Applications / Segment (Hibernate) (19.0) |
Oracle components and versions
| Family | Component | Versions, as Oracle lists them | Read as |
|---|---|---|---|
| Oracle Communications | CNC Console (hibernate-core) | 1.9.0 | 1.9.0 |
| Oracle Fusion Middleware | Core (JBoss Enterprise Application Platform) | 14.1.1.0.0 | 14.1.1.0.0 |
| Oracle Retail Applications | Segment (Hibernate) | 19.0 | 19.0 |
| Oracle Utilities Applications | General (hibernate-core) | 4.3.0.3.0-4.3.0.6.0, 4.4.0.0.0, 4.4.0.2.0, 4.4.0.3.0, 4.5.0.0.0, 4.5.0.1.1, 4.5.0.1.2 | 4.4.0.0.0 · 4.4.0.2.0 · 4.4.0.3.0 · 4.5.0.0.0 · 4.5.0.1.1 · 4.5.0.1.2 |
Maven packages
Affected and fixed versions, from OSV.dev| Package | Introduced | Fixed | Last affected |
|---|---|---|---|
org.hibernate:hibernate-core |
5.4.0.Final | 5.4.24.Final |
unbounded |
org.hibernate:hibernate-core |
0 | 5.3.20.Final |
unbounded |
Products and versions
6 products, 9 version entries| Source | Vendor | Product | Scheme | Affected versions |
|---|---|---|---|---|
| nvd | debian | debian linux | generic | 9.0 · 10.0 |
| nvd | hibernate | hibernate orm | generic | < 5.3.20 · ≥ 5.4.0 and < 5.4.24 |
| nvd | oracle | communications cloud native core console | generic | 1.9.0 |
| nvd | oracle | retail customer management and segmentation foundation | generic | 19.0 |
| osv | org.hibernate | hibernate-core | generic | < 5.3.20 · ≥ 5.4.0 and < 5.4.24 |
| nvd | quarkus | quarkus | generic | ≤ 1.9.2 |
Earlier manual review
A reviewer classified this CVE in an older dataset. We kept the labels and products below, but not the reviewer's reasoning.
## Manual Classification Context **Labels:** HTTP, SEGMENT (HIBERNATE), NO AUTH REMOTE EXPLOIT **Products:** ORACLE RETAIL CUSTOMER MANAGEMENT AND SEGMENTATION FOUNDATION, ORACLE RETAIL APPLICATIONS
References
Timeline
Timeline
| Published | 2020-12-02 | By the CVE Program. |
|---|---|---|
| NVD record modified | 2026-06-17 | NVD's own last-modified date for this record. |
| Classification created | 2026-11-13 | First commit adding this CVE's research note. |
| Last VRT activity | 2026-11-13 | Most recent commit touching this CVE's classification, patch or rule file. |