Security mailing lists by PureSourceCode

CVE-2020-25638

HIGH 7.4CVSS 3.1

SQL injection in hibernate-core

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.

Published
2 Dec 2020
Last modified
17 Jun 2026
Assigned by
secalert@redhat.com
NVD status
Modified
Weakness
CWE-89
Also known as
GHSA-j8jw-g6fq-mp7h
Sources
NVDJSONOSV GHSA-j8jw-g6fq-mp7hJSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.1 HIGH 7.4 CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
NVD 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) CVSS 3.1 HIGH 7.4 CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
OSV GitHub CVSS 3.1 HIGH 7.4 CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
NVD nvd@nist.gov (Primary) CVSS 2.0 MEDIUM 5.8 AV:N/AC:M/Au:N/C:P/I:P/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD hibernate hibernate_orm
cpe:2.3:a:hibernate:hibernate_orm:*:*:*:*:*:*:*:*
< 5.3.20 5.3.20
NVD hibernate hibernate_orm
cpe:2.3:a:hibernate:hibernate_orm:*:*:*:*:*:*:*:*
>= 5.4.0, < 5.4.24 5.4.24
NVD debian debian_linux
cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*
= 9.0
NVD debian debian_linux
cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*
= 10.0
NVD quarkus quarkus
cpe:2.3:a:quarkus:quarkus:*:*:*:*:*:*:*:*
<= 1.9.2
NVD oracle communications_cloud_native_core_console
cpe:2.3:a:oracle:communications_cloud_native_core_console:1.9.0:*:*:*:*:*:*:*
= 1.9.0
NVD oracle retail_customer_management_and_segmentation_foundation
cpe:2.3:a:oracle:retail_customer_management_and_segmentation_foundation:19.0:*:*:*:*:*:*:*
= 19.0
OSV Maven org.hibernate:hibernate-core >= 5.4.0.Final, < 5.4.24.Final 5.4.24.Final
OSV Maven org.hibernate:hibernate-core < 5.3.20.Final 5.3.20.Final

References

History

  • 25 Nov 2026 20:32 UTC · NVD: first stored (published 2 Dec 2020)
  • 25 Nov 2026 20:13 UTC · OSV: first stored (published 9 Feb 2022)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.