CVSS 3.1
7.4 highCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:NHigh (7.4). EPSS 2.9% estimated probability of exploitation activity in the next 30 days. Fixed in org.hibernate:hibernate-core 5.3.20.Final, 5.4.24.Final.
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:Norg.hibernate:hibernate-core (Maven): fixed in 5.4.24.Final, 5.3.20.FinalExplain CVE-2020-25638 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2020-25638?via=ask-ai-copy and https://cve.bz/cve/CVE-2020-25638?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2020-25638 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.
From the NVD's CPE matches.
| Product | Affected |
|---|---|
| hibernate:hibernate_orm | before 5.3.20 |
| hibernate:hibernate_orm | from 5.4.0 before 5.4.24 |
| debian:debian_linux | 9.0 |
| debian:debian_linux | 10.0 |
| quarkus:quarkus | through 1.9.2 |
| oracle:communications_cloud_native_core_console | 1.9.0 |
| oracle:retail_customer_management_and_segmentation_foundation | 19.0 |
| Advisory | Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|---|
| GHSA-j8jw-g6fq-mp7h | Maven | org.hibernate:hibernate-core | >=5.4.0.Final <5.4.24.Final | 5.4.24.Final |
| GHSA-j8jw-g6fq-mp7h | Maven | org.hibernate:hibernate-core | <5.3.20.Final | 5.3.20.Final |
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Debian | 9 | libhibernate3-java | 3.6.10.Final-6+deb9u1 | DLA-2512-1 |
| Debian | 10 | libhibernate3-java | 3.6.10.Final-9+deb10u1 | DSA-4908-1 |
| Debian | 12, 13, 14 | libhibernate3-java | 3.6.10.Final-11 | DEBIAN-CVE-2020-25638 |
| Ubuntu | 20.04:LTS | libhibernate3-java | 3.6.10.Final-9+deb10u1build0.20.04.1 | UBUNTU-CVE-2020-25638 USN-6845-1 |
| Ubuntu | Pro:16.04:LTS | libhibernate3-java | 3.6.10.Final-4ubuntu0.1~esm1 | UBUNTU-CVE-2020-25638 USN-6845-1 |
| Ubuntu | Pro:18.04:LTS | libhibernate3-java | 3.6.10.Final-9ubuntu0.18.04.1~esm1 | UBUNTU-CVE-2020-25638 USN-6845-1 |
| Red Hat | jboss_enterprise_application_platform:7.3::el6 | eap7-activemq-artemis, eap7-activemq-artemis-ra, eap7-activemq-artemis-cli and 13 more | 0:2.9.0-6.redhat_00016.1.el6eap | RHSA-2020:5340 |
| Red Hat | jboss_enterprise_application_platform:7.3::el6 | eap7-fge-btf | 0:1.2.0-1.redhat_00007.1.el6eap | RHSA-2020:5340 |
| Red Hat | jboss_enterprise_application_platform:7.3::el6 | eap7-fge-msg-simple | 0:1.1.0-1.redhat_00007.1.el6eap | RHSA-2020:5340 |
| Red Hat | jboss_enterprise_application_platform:7.3::el6 | eap7-hal-console | 0:3.2.11-1.Final_redhat_00001.1.el6eap | RHSA-2020:5340 |
| Red Hat | jboss_enterprise_application_platform:7.3::el6 | eap7-hibernate, eap7-hibernate-core, eap7-hibernate-java8 and 2 more | 0:5.3.18-2.Final_redhat_00002.1.el6eap | RHSA-2020:5175 |
| Red Hat | jboss_enterprise_application_platform:7.3::el6 | eap7-hibernate-validator, eap7-hibernate-validator-cdi | 0:6.0.21-1.Final_redhat_00001.1.el6eap | RHSA-2020:5340 |
| Red Hat | jboss_enterprise_application_platform:7.3::el6 | eap7-jackson-core, eap7-jackson-jaxrs-base, eap7-jackson-annotations and 5 more | 0:2.10.4-1.redhat_00002.1.el6eap | RHSA-2020:5340 |
| Red Hat | jboss_enterprise_application_platform:7.3::el6 | eap7-jackson-coreutils | 0:1.6.0-1.redhat_00006.1.el6eap | RHSA-2020:5340 |
| Red Hat | jboss_enterprise_application_platform:7.3::el6 | eap7-jackson-modules-base, eap7-jackson-module-jaxb-annotations | 0:2.10.4-3.redhat_00002.1.el6eap | RHSA-2020:5340 |
| Red Hat | jboss_enterprise_application_platform:7.3::el6 | eap7-jasypt | 0:1.9.3-1.redhat_00002.1.el6eap | RHSA-2020:5340 |
| Red Hat | jboss_enterprise_application_platform:7.3::el6 | eap7-jboss-marshalling, eap7-jboss-marshalling-river | 0:2.0.10-1.Final_redhat_00001.1.el6eap | RHSA-2020:5340 |
| Red Hat | jboss_enterprise_application_platform:7.3::el6 | eap7-jboss-remoting | 0:5.0.19-1.Final_redhat_00001.1.el6eap | RHSA-2020:5340 |
| 64 more for Red Hat in the JSON and on Red Hat's page. | ||||
| SUSE | Manager Server Module 4.1 | hibernate5 | 5.3.7-3.6.1 | SUSE-SU-2022:0225-1 |
| SUSE | Manager Server Module 4.1 | mgr-libmod | 4.1.10-3.25.2 | SUSE-SU-2022:0225-1 |
| SUSE | Manager Server Module 4.1 | mgr-osad | 4.1.6-2.12.2 | SUSE-SU-2022:0225-1 |
| SUSE | Manager Server Module 4.1 | prometheus-formula | 0.3.5-3.15.1 | SUSE-SU-2022:0225-1 |
| SUSE | Manager Server Module 4.1 | py27-compat-salt | 3000.3-6.18.1 | SUSE-SU-2022:0225-1 |
| SUSE | Manager Server Module 4.1 | spacecmd | 4.1.16-4.33.2 | SUSE-SU-2022:0225-1 |
| SUSE | Manager Server Module 4.1 | spacewalk-admin | 4.1.11-3.18.2 | SUSE-SU-2022:0225-1 |
| SUSE | Manager Server Module 4.1 | spacewalk-backend | 4.1.30-4.47.2 | SUSE-SU-2022:0225-1 |
| SUSE | Manager Server Module 4.1 | spacewalk-certs-tools | 4.1.20-3.25.2 | SUSE-SU-2022:0225-1 |
| SUSE | Manager Server Module 4.1 | spacewalk-client-tools | 4.1.11-4.18.2 | SUSE-SU-2022:0225-1 |
| SUSE | Manager Server Module 4.1 | spacewalk-java | 4.1.43-3.63.1 | SUSE-SU-2022:0225-1 |
| SUSE | Manager Server Module 4.1 | spacewalk-reports | 4.1.5-3.9.1 | SUSE-SU-2022:0225-1 |
| 37 more for SUSE in the JSON and on SUSE's page. | ||||
From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE.
Red Hat rates this Important.
For Red Hat Process Automation Manager and Red Hat Decision Manager, the kie-server-ee7 zip is primarily for Weblogic/Websphere which is decided to stay on hibernate 5.1.x, it's not possible to make an upgrade to 5.3.x due to technical reasons. For this reason this fix is included only for kie-server-ee7. For this reason there are two components for RHPAM and RHDM.
Set hibernate.use_sql_comments to false, which is the default value, or use named parameters instead of literals. Please refer to details in https://docs.jboss.org/hibernate/orm/5.4/userguide/html_single/Hibernate_User_Guide.html#configurations-logging and https://docs.jboss.org/hibernate/orm/5.4/userguide/html_single/Hibernate_User_Guide.html#sql-query-parameters.
| Product | Package | State | Advisory |
|---|---|---|---|
| EAP 7.3.3 | hibernate-core | Fixed 2020-11-23 | RHSA-2020:5174 |
| Red Hat build of Quarkus 1.7.5 SP1 | hibernate-core | Fixed 2020-12-01 | RHSA-2020:5302 |
| Red Hat Fuse 7.9 | hibernate-core | Fixed 2021-08-11 | RHSA-2021:3140 |
| Red Hat Integration | hibernate-core | Fixed 2021-05-19 | RHSA-2021:2039 |
| Red Hat JBoss Enterprise Application Platform 7 | hibernate-core | Fixed 2020-12-03 | RHSA-2020:5344 |
| Red Hat JBoss Enterprise Application Platform 7.1 EUS for RHEL 7 | eap7-glassfish-el-0:3.0.1-4.b08_redhat_00005.1.ep7.el7 | Fixed 2025-06-25 | RHSA-2025:9582 |
| Red Hat JBoss Enterprise Application Platform 7.1 EUS for RHEL 7 | eap7-hibernate-0:5.1.17-3.Final_redhat_00004.1.ep7.el7 | Fixed 2025-06-25 | RHSA-2025:9582 |
| Red Hat JBoss Enterprise Application Platform 7.1 EUS for RHEL 7 | eap7-jackson-databind-0:2.8.11.6-3.SP1_redhat_00003.1.ep7.el7 | Fixed 2025-06-25 | RHSA-2025:9582 |
| Red Hat JBoss Enterprise Application Platform 7.1 EUS for RHEL 7 | eap7-jboss-ejb-client-0:4.0.12-1.Final_redhat_00002.1.ep7.el7 | Fixed 2025-06-25 | RHSA-2025:9582 |
| Red Hat JBoss Enterprise Application Platform 7.1 EUS for RHEL 7 | eap7-netty-0:4.1.63-2.Final_redhat_00003.1.ep7.el7 | Fixed 2025-06-25 | RHSA-2025:9582 |
| A-MQ Clients 2 | hibernate-core | Not affected | |
| Red Hat BPM Suite 6 | hibernate-core | Out of support scope | |
| Red Hat Decision Manager 7 | hibernate-core-kie-server-ee7 | Will not fix | |
| Red Hat Integration Camel K 1 | hibernate-core | Not affected | |
| Red Hat JBoss BRMS 5 | hibernate-core | Out of support scope | |
| Red Hat JBoss BRMS 6 | hibernate-core | Out of support scope | |
| Red Hat JBoss Data Virtualization 6 | hibernate-core | Out of support scope | |
| Red Hat JBoss Enterprise Application Platform 5 | hibernate-core | Out of support scope | |
| Red Hat JBoss Enterprise Application Platform 6 | hibernate-core | Out of support scope | |
| Red Hat JBoss Fuse 6 | hibernate-core | Out of support scope | |
| 96 more in the JSON and on Red Hat's page. | |||
Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2020-25638.
The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.