CVE-2020-25638Hibernate Orm
High 7.4 No auth needed
Follow: this CVE · Hibernate · Hibernate Orm We alert you by email or Slack (account required).
- Priority
- 60
- CVSS 3.1
- 7.4
- EPSS
- 2.7% probability of exploitation in 30 days · percentile 87
- Auth required
- No
- Published
- Dec 2, 2020
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-89
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: total
- Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
What happens
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.
What to do
- Apply the vendor's security update for Hibernate Orm.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Maven | org.hibernate:hibernate-core |
≥ 5.4.0.Final < 5.4.24.Final |
5.4.24.Final |
— |
| Maven | org.hibernate:hibernate-core |
< 5.3.20.Final |
5.3.20.Final |
— |
Per OSV / GitHub Advisories (GHSA-j8jw-g6fq-mp7h). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| hibernate | hibernate_orm | < 5.3.20 |
| hibernate | hibernate_orm | ≥ 5.4.0 < 5.4.24 |
| debian | debian_linux | 9.0 |
| debian | debian_linux | 10.0 |
| quarkus | quarkus | ≤ 1.9.2 |
| oracle | communications_cloud_native_core_console | 1.9.0 |
| oracle | retail_customer_management_and_segmentation_foundation | 19.0 |
Official sources
References
Links published by the sources. Open them with care.
- bugzilla.redhat.com Issue Tracking Third Party Advisory
- lists.apache.org
- lists.apache.org
- lists.debian.org Mailing List Third Party Advisory
- www.debian.org Third Party Advisory
- www.oracle.com Patch Third Party Advisory
- www.oracle.com Patch Third Party Advisory
- www.oracle.com Patch Third Party Advisory