CVE-2020-25638

NameCVE-2020-25638
DescriptionA 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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesDLA-2512-1, DSA-4908-1

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
libhibernate3-java (PTS)buster, buster (security)3.6.10.Final-9+deb10u1fixed
bullseye3.6.10.Final-11fixed
sid, trixie, bookworm3.6.10.Final-12fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
libhibernate3-javasourcestretch3.6.10.Final-6+deb9u1DLA-2512-1
libhibernate3-javasourcebuster3.6.10.Final-9+deb10u1DSA-4908-1
libhibernate3-javasource(unstable)3.6.10.Final-11

Notes

https://bugzilla.redhat.com/show_bug.cgi?id=1881353
Fixed by https://github.com/hibernate/hibernate-orm/commit/59fede7acaaa1579b561407aefa582311f7ebe78

Search for package or bug name: Reporting problems