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
Published · last modified .
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.
EPSS exploit prediction
EPSS: 0.029 (87.1th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 87th percentile — 87.1% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.029 · newest: 0.029 · change: 0.000
Affected products
- Hibernate Orm
- Oracle Communications Cloud Native Core Console — versions 1.9.0
- Oracle Retail Customer Management And Segmentation Foundation — versions 19.0
- Quarkus
- Debian Linux — versions 9.0, 10.0
- Hibernate-Core — versions Hibernate ORM versions before 5.4.24.Final
Weakness classification (CWE)
Public proof-of-concept exploits
References
- bugzilla.redhat.com/show_bug.cgi (Third Party Advisory, Issue Tracking)
- lists.debian.org/debian-lts-announce/2021/01/msg00000.html (mailing-list, Mailing List, Third Party Advisory)
- www.debian.org/security/2021/dsa-4908 (vendor-advisory, Third Party Advisory)
- www.oracle.com//security-alerts/cpujul2021.html (Patch, Third Party Advisory)
- lists.apache.org/thread.html/r833c1276e41334fa675848a08daf0c61f39009f9f9a400d9f… (mailing-list)
- lists.apache.org/thread.html/rf2378209c676a28b71f9b604a3b3517c448540b85367160e5… (mailing-list)
- www.oracle.com/security-alerts/cpuapr2022.html (Patch, Third Party Advisory)
- www.oracle.com/security-alerts/cpujul2022.html (Patch, Third Party Advisory)
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.