{"cve":"CVE-2020-25638","nvd":{"published":"2020-12-02T15:15:12.377","modified":"2026-06-17T03:07:01.623","status":"Modified","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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N","score":7.4},"cwes":["CWE-89"],"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"],"products":["debian:debian_linux","hibernate:hibernate_orm","oracle:communications_cloud_native_core_console","oracle:retail_customer_management_and_segmentation_foundation","quarkus:quarkus"],"source":"nvd","synced_at":"2026-10-19T21:11:20.317016139+00:00"},"epss":{"cve":"CVE-2020-25638","score":0.02929,"percentile":0.87077,"date":"2026-11-01"},"kev":null,"osv":[{"id":"GHSA-j8jw-g6fq-mp7h","url":"https://osv.dev/vulnerability/GHSA-j8jw-g6fq-mp7h","summary":"SQL injection in hibernate-core","modified":"2024-06-27T16:58:54.914316Z","packages":[{"ecosystem":"Maven","name":"org.hibernate:hibernate-core","purl":"pkg:maven/org.hibernate/hibernate-core","ranges":[">=5.4.0.Final <5.4.24.Final"],"fixed":["5.4.24.Final"]},{"ecosystem":"Maven","name":"org.hibernate:hibernate-core","purl":"pkg:maven/org.hibernate/hibernate-core","ranges":["<5.3.20.Final"],"fixed":["5.3.20.Final"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}