What’s Vulnerable › Vulnerabilities
CVE-2020-25638
- Severity: high (CVSS 7.4 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 2.9% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2020-12-02 · updated 2026-06-17
- Weakness: CWE-89
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 products
- Debian Linux: 9.0, 10.0
- Hibernate Orm: before 5.3.20; from 5.4.0 before 5.4.24 — fixed in 5.3.20, 5.4.24
- Oracle Communications Cloud Native Core Console: 1.9.0
- Oracle Corporation Retail Customer Management and Segmentation Foundation: 19.0
- quarkusio quarkus: through 1.9.2
How to fix
Upgrade to a fixed version: Hibernate Orm 5.3.20, 5.4.24. Check the vendor advisory for mitigations.
References
- https://bugzilla.redhat.com/show_bug.cgi?id=1881353
- https://lists.apache.org/thread.html/r833c1276e41334fa675848a08daf0c61f39009f9f9a400d9f7006d44%40%3Cdev.turbine.apache.org%3E
- https://lists.apache.org/thread.html/rf2378209c676a28b71f9b604a3b3517c448540b85367160e558ef9df%40%3Ccommits.turbine.apache.org%3E
- https://lists.debian.org/debian-lts-announce/2021/01/msg00000.html
- https://www.debian.org/security/2021/dsa-4908
- https://www.oracle.com//security-alerts/cpujul2021.html
- https://www.oracle.com/security-alerts/cpuapr2022.html
- https://www.oracle.com/security-alerts/cpujul2022.html
- https://bugzilla.redhat.com/show_bug.cgi?id=1881353
- https://lists.apache.org/thread.html/r833c1276e41334fa675848a08daf0c61f39009f9f9a400d9f7006d44%40%3Cdev.turbine.apache.org%3E
- https://lists.apache.org/thread.html/rf2378209c676a28b71f9b604a3b3517c448540b85367160e558ef9df%40%3Ccommits.turbine.apache.org%3E
- https://lists.debian.org/debian-lts-announce/2021/01/msg00000.html
Get alerted when CVE-2020-25638 or the next vulnerability affects your stack