Live threats

All CVEs / Hibernate

CVE-2020-25638Hibernate Orm

High 7.4 No auth needed

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Hibernate Orm.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow 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)

VendorProductVersions
hibernatehibernate_orm< 5.3.20
hibernatehibernate_orm≥ 5.4.0 < 5.4.24
debiandebian_linux9.0
debiandebian_linux10.0
quarkusquarkus≤ 1.9.2
oraclecommunications_cloud_native_core_console1.9.0
oracleretail_customer_management_and_segmentation_foundation19.0

Official sources

References

Links published by the sources. Open them with care.