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

Weakness classification (CWE)

Public proof-of-concept exploits

References

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.