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.
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
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | libhibernate3-java | 3.6.10.Final-11 | DEBIAN-CVE-2020-25638 |
| Debian:13 | libhibernate3-java | 3.6.10.Final-11 | DEBIAN-CVE-2020-25638 |
| Debian:14 | libhibernate3-java | 3.6.10.Final-11 | DEBIAN-CVE-2020-25638 |
| Maven | org.hibernate:hibernate-core | 5.4.24.Final | GHSA-j8jw-g6fq-mp7h |
| Maven | org.hibernate:hibernate-core | 5.3.20.Final | GHSA-j8jw-g6fq-mp7h |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| 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
- https://bugzilla.redhat.com/show_bug.cgi?id=1881353 x_refsource_MISC
- [debian-lts-announce] 20210103 [SECURITY] [DLA 2512-1] libhibernate3-java security update mailing-list, x_refsource_MLIST
- DSA-4908 vendor-advisory, x_refsource_DEBIAN
- https://www.oracle.com//security-alerts/cpujul2021.html x_refsource_MISC
- [turbine-dev] 20211015 Fulcrum Security Hibernate Module mailing-list, x_refsource_MLIST
- [turbine-commits] 20211018 [turbine-fulcrum-security] 02/02: disable module hibernate (JIRA issue TRB-103), update docs, remove suppression mailing-list, x_refsource_MLIST
- https://www.oracle.com/security-alerts/cpuapr2022.html x_refsource_MISC
- https://www.oracle.com/security-alerts/cpujul2022.html x_refsource_MISC