Vulnerability · Published Dec 2, 2020 · Assigned by redhat

CVE-2020-25638

High 7.4

In plain English

A high-severity SQL injection in hibernate-core. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 2.9% (higher than 87% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)7.4High
Exploit odds (30 days)2.9%top 12.9% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official 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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12libhibernate3-java3.6.10.Final-11DEBIAN-CVE-2020-25638
Debian:13libhibernate3-java3.6.10.Final-11DEBIAN-CVE-2020-25638
Debian:14libhibernate3-java3.6.10.Final-11DEBIAN-CVE-2020-25638
Mavenorg.hibernate:hibernate-core5.4.24.FinalGHSA-j8jw-g6fq-mp7h
Mavenorg.hibernate:hibernate-core5.3.20.FinalGHSA-j8jw-g6fq-mp7h

Affected products (as reported)

VendorProductVersions
n/a hibernate-core Hibernate ORM versions before 5.4.24.Final

Weakness: CWE-89 · Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N

References