SQL Injection in Hibernate Orm
CVE-2020-25638
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.
Vulnerability class: SQL Injection
EPSS: 0.029 (86.4th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 7.4 (High). Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N.
Affected products
- Hibernate Hibernate_orm
- Oracle Communications_cloud_native_core_console — versions 1.9.0
- Oracle Retail_customer_management_and_segmentation_foundation — versions 19.0
- Quarkus
- Debian Debian_linux — versions 9.0, 10.0
- N/a Hibernate-core — versions Hibernate ORM versions before 5.4.24.Final
Weakness classification (CWE)
Public proof-of-concept exploits
References
- secalert@redhat.com (Third Party Advisory, x_refsource_MISC, Issue Tracking)
- secalert@redhat.com (mailing-list, x_refsource_MLIST, Mailing List, Third Party Advisory)
- secalert@redhat.com (vendor-advisory, Third Party Advisory, x_refsource_DEBIAN)
- secalert@redhat.com (Patch, Third Party Advisory, x_refsource_MISC)
- secalert@redhat.com (mailing-list, x_refsource_MLIST)
- secalert@redhat.com (mailing-list, x_refsource_MLIST)
- secalert@redhat.com (Patch, Third Party Advisory, x_refsource_MISC)
- secalert@redhat.com (Patch, Third Party Advisory, x_refsource_MISC)
Frequently asked questions
- What is CVE-2020-25638?
- CVE-2020-25638 is a high-severity vulnerability in Hibernate Orm, classified under SQL Injection. CVSS score: 7.4/10. Published 2020-12-02.
- How severe is CVE-2020-25638?
- High severity. CVSS v3 base score is 7.4 out of 10.
- Is CVE-2020-25638 known to be exploited?
- 7 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.