CVE-2020-25638: A flaw was found in hibernate-core in versions prior to and including 5.4.23.Final.
Noroxi assessment
Priority: Monitor (action score 30/100)
- The sources we track (CISA KEV, Exploit-DB, Metasploit, Nuclei, GitHub) show no public exploit code or exploitation in the wild.
- Probability of exploitation in the next 30 days: 2.9% (FIRST EPSS); higher than 87% of all records.
- Anyone who can reach it over the internet can trigger it. No account or password is required. No user action is required. Special conditions such as timing or configuration are required.
- Fixed version: libhibernate3-java (Debian:10) 3.6.10.Final-9+deb10u1; libhibernate3-java (Debian:12) 3.6.10.Final-11; libhibernate3-java (Debian:9) 3.6.10.Final-6+deb9u1.
- Mentioned 3 times in Turkish national cyber security advisories (siberguvenlik.gov.tr).
Low priority for now. Upgrade to libhibernate3-java (Debian:10) 3.6.10.Final-9+deb10u1; libhibernate3-java (Debian:12) 3.6.10.Final-11; libhibernate3-java (Debian:9) 3.6.10.Final-6+deb9u1 or later.
Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it
Primary sources: NVD · CVE.org · FIRST EPSS
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
- Dec 2, 2020
- Updated
- Jun 16, 2026
- EPSS
- 2.9% · 87th percentile
- CWE
- CWE-89
Report tools
Action score
30
Monitor
Low priority for now.
- CVSS
- 29 / 40 · 7.4 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 1 / 30 · 2.9%
CISA SSVC decision
- Exploitation
- none
- Automatable
- no
- Technical impact
- total
Vulnrichment: CISA's decision-tree inputs.
Get told when this record changes
- Not in KEV: no record of exploitation in the wild
- No public exploit code on record
- A fix has been released
If any of these changes, we'll tell you in the daily email digest.
Running WordPress? Scan your site free with WP Lens
Noroxi analysis
What does it mean in your environment?
The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.
We use this product, ask for helpAffected systems
Is your version affected?
Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.
| Vendor | Product | CPE |
|---|---|---|
| hibernate | hibernate orm | cpe:2.3:a:hibernate:hibernate_orm |
| debian | debian linux | cpe:2.3:o:debian:debian_linux |
| quarkus | quarkus | cpe:2.3:a:quarkus:quarkus |
| oracle | communications cloud native core console | cpe:2.3:a:oracle:communications_cloud_native_core_console |
| oracle | retail customer management and segmentation foundation | cpe:2.3:a:oracle:retail_customer_management_and_segmentation_foundation |
Affected versions
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- debian debian linux10.0
- debian debian linux9.0
- hibernate hibernate orm5.4.0 and later · before 5.4.24
- hibernate hibernate ormbefore 5.3.20
- oracle communications cloud native core console1.9.0
- oracle retail customer management and segmentation foundation19.0
- quarkus quarkusup to 1.9.2 inclusive
Versions reported by the vendor
Affected version ranges reported by the assigning authority (redhat). Independent of NVD's CPE analysis and usually ahead of it.
n/a hibernate-core
- Hibernate ORM versions before 5.4.24.Finalaffected
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| Debian:10 | libhibernate3-java | before 3.6.10.Final-9+deb10u1 | 3.6.10.Final-9+deb10u1 |
| Debian:12 | libhibernate3-java | before 3.6.10.Final-11 | 3.6.10.Final-11 |
| Debian:9 | libhibernate3-java | before 3.6.10.Final-6+deb9u1 | 3.6.10.Final-6+deb9u1 |
| Maven | org.hibernate:hibernate-core | from 5.4.0.Final · before 5.4.24.Final | 5.4.24.Final |
| Maven | org.hibernate:hibernate-core | before 5.3.20.Final | 5.3.20.Final |
| Red Hat:jboss_enterprise_application_platform_eus:7.1::el7 | eap7-glassfish-el | before 0:3.0.1-4.b08_redhat_00005.1.ep7.el7 | 0:3.0.1-4.b08_redhat_00005.1.ep7.el7 |
| Red Hat:jboss_enterprise_application_platform_eus:7.1::el7 | eap7-glassfish-el-impl | before 0:3.0.1-4.b08_redhat_00005.1.ep7.el7 | 0:3.0.1-4.b08_redhat_00005.1.ep7.el7 |
| Red Hat:jboss_enterprise_application_platform_eus:7.1::el7 | eap7-hibernate | before 0:5.1.17-3.Final_redhat_00004.1.ep7.el7 | 0:5.1.17-3.Final_redhat_00004.1.ep7.el7 |
| Red Hat:jboss_enterprise_application_platform_eus:7.1::el7 | eap7-hibernate-core | before 0:5.1.17-3.Final_redhat_00004.1.ep7.el7 | 0:5.1.17-3.Final_redhat_00004.1.ep7.el7 |
| Red Hat:jboss_enterprise_application_platform_eus:7.1::el7 | eap7-hibernate-entitymanager | before 0:5.1.17-3.Final_redhat_00004.1.ep7.el7 | 0:5.1.17-3.Final_redhat_00004.1.ep7.el7 |
| Red Hat:jboss_enterprise_application_platform_eus:7.1::el7 | eap7-hibernate-envers | before 0:5.1.17-3.Final_redhat_00004.1.ep7.el7 | 0:5.1.17-3.Final_redhat_00004.1.ep7.el7 |
| Red Hat:jboss_enterprise_application_platform_eus:7.1::el7 | eap7-hibernate-infinispan | before 0:5.1.17-3.Final_redhat_00004.1.ep7.el7 | 0:5.1.17-3.Final_redhat_00004.1.ep7.el7 |
| Red Hat:jboss_enterprise_application_platform_eus:7.1::el7 | eap7-hibernate-java8 | before 0:5.1.17-3.Final_redhat_00004.1.ep7.el7 | 0:5.1.17-3.Final_redhat_00004.1.ep7.el7 |
| Red Hat:jboss_enterprise_application_platform_eus:7.1::el7 | eap7-jackson-databind | before 0:2.8.11.6-3.SP1_redhat_00003.1.ep7.el7 | 0:2.8.11.6-3.SP1_redhat_00003.1.ep7.el7 |
| Red Hat:jboss_enterprise_application_platform_eus:7.1::el7 | eap7-jboss-ejb-client | before 0:4.0.12-1.Final_redhat_00002.1.ep7.el7 | 0:4.0.12-1.Final_redhat_00002.1.ep7.el7 |
| Red Hat:jboss_enterprise_application_platform_eus:7.1::el7 | eap7-netty | before 0:4.1.63-2.Final_redhat_00003.1.ep7.el7 | 0:4.1.63-2.Final_redhat_00003.1.ep7.el7 |
| Red Hat:jboss_enterprise_application_platform_eus:7.1::el7 | eap7-netty-all | before 0:4.1.63-2.Final_redhat_00003.1.ep7.el7 | 0:4.1.63-2.Final_redhat_00003.1.ep7.el7 |
| Red Hat:jboss_enterprise_application_platform_eus:7.1::el7 | eap7-undertow | before 0:1.4.18-16.SP14_redhat_00001.1.ep7.el7 | 0:1.4.18-16.SP14_redhat_00001.1.ep7.el7 |
| Red Hat:jboss_enterprise_application_platform_eus:7.1::el7 | eap7-wildfly | before 0:7.1.11-4.GA_redhat_00002.1.ep7.el7 | 0:7.1.11-4.GA_redhat_00002.1.ep7.el7 |
| Red Hat:jboss_enterprise_application_platform_eus:7.1::el7 | eap7-wildfly-elytron | before 0:1.1.14-1.Final_redhat_00001.1.ep7.el7 | 0:1.1.14-1.Final_redhat_00001.1.ep7.el7 |
| Red Hat:jboss_enterprise_application_platform_eus:7.1::el7 | eap7-wildfly-http-client | before 0:1.0.21-1.Final_redhat_00001.1.ep7.el7 | 0:1.0.21-1.Final_redhat_00001.1.ep7.el7 |
| Red Hat:jboss_enterprise_application_platform_eus:7.1::el7 | eap7-wildfly-http-client-common | before 0:1.0.21-1.Final_redhat_00001.1.ep7.el7 | 0:1.0.21-1.Final_redhat_00001.1.ep7.el7 |
| Red Hat:jboss_enterprise_application_platform_eus:7.1::el7 | eap7-wildfly-http-ejb-client | before 0:1.0.21-1.Final_redhat_00001.1.ep7.el7 | 0:1.0.21-1.Final_redhat_00001.1.ep7.el7 |
| Red Hat:jboss_enterprise_application_platform_eus:7.1::el7 | eap7-wildfly-http-naming-client | before 0:1.0.21-1.Final_redhat_00001.1.ep7.el7 | 0:1.0.21-1.Final_redhat_00001.1.ep7.el7 |
+96
Same product
hibernate: all recordsOther highest-scoring records for the same primary product.
- CVE-2019-14900A flaw was found in Hibernate ORM in versions before 5.3.18, 5.4.18 and 5.5.0.Beta1.27Monitor
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| debian:libhibernate3-java | 3.6.10.Final-11 · Debian:12 | Package registry (OSV) |
| Maven:org.hibernate:hibernate-core | 5.3.20.Final | Package registry (OSV) |
| Maven:org.hibernate:hibernate-core | 5.4.24.Final | Package registry (OSV) |
| red hat:eap7-activemq-artemis | 0:2.9.0-6.redhat_00016.1.el6eap · Red Hat:jboss_enterprise_application_platform:7.3::el6 | Package registry (OSV) |
| red hat:eap7-activemq-artemis-cli | 0:2.9.0-6.redhat_00016.1.el6eap · Red Hat:jboss_enterprise_application_platform:7.3::el6 | Package registry (OSV) |
| red hat:eap7-activemq-artemis-commons | 0:2.9.0-6.redhat_00016.1.el6eap · Red Hat:jboss_enterprise_application_platform:7.3::el6 | Package registry (OSV) |
| red hat:eap7-activemq-artemis-core-client | 0:2.9.0-6.redhat_00016.1.el6eap · Red Hat:jboss_enterprise_application_platform:7.3::el6 | Package registry (OSV) |
| red hat:eap7-activemq-artemis-dto | 0:2.9.0-6.redhat_00016.1.el6eap · Red Hat:jboss_enterprise_application_platform:7.3::el6 | Package registry (OSV) |
| red hat:eap7-activemq-artemis-hornetq-protocol | 0:2.9.0-6.redhat_00016.1.el6eap · Red Hat:jboss_enterprise_application_platform:7.3::el6 | Package registry (OSV) |
| red hat:eap7-activemq-artemis-hqclient-protocol | 0:2.9.0-6.redhat_00016.1.el6eap · Red Hat:jboss_enterprise_application_platform:7.3::el6 | Package registry (OSV) |
| red hat:eap7-hibernate | 0:5.3.18-2.Final_redhat_00002.1.el6eap · Red Hat:jboss_enterprise_application_platform:7.3::el6 | Package registry (OSV) |
| red hat:eap7-hibernate-core | 0:5.3.18-2.Final_redhat_00002.1.el6eap · Red Hat:jboss_enterprise_application_platform:7.3::el6 | Package registry (OSV) |
| red hat:eap7-hibernate-entitymanager | 0:5.3.18-2.Final_redhat_00002.1.el6eap · Red Hat:jboss_enterprise_application_platform:7.3::el6 | Package registry (OSV) |
| red hat:eap7-hibernate-envers | 0:5.3.18-2.Final_redhat_00002.1.el6eap · Red Hat:jboss_enterprise_application_platform:7.3::el6 | Package registry (OSV) |
| red hat:eap7-hibernate-java8 | 0:5.3.18-2.Final_redhat_00002.1.el6eap · Red Hat:jboss_enterprise_application_platform:7.3::el6 | Package registry (OSV) |
| suse:hibernate5 | 5.3.7-3.6.1 · SUSE:Manager Server Module 4.1 | Package registry (OSV) |
| suse:mgr-libmod | 4.1.10-3.25.2 · SUSE:Manager Server Module 4.1 | Package registry (OSV) |
| suse:mgr-osad | 4.1.6-2.12.2 · SUSE:Manager Server Module 4.1 | Package registry (OSV) |
| suse:prometheus-formula | 0.3.5-3.15.1 · SUSE:Manager Server Module 4.1 | Package registry (OSV) |
| suse:py27-compat-salt | 3000.3-6.18.1 · SUSE:Manager Server Module 4.1 | Package registry (OSV) |
| suse:spacecmd | 4.1.16-4.33.2 · SUSE:Manager Server Module 4.1 | Package registry (OSV) |
| suse:spacewalk-admin | 4.1.11-3.18.2 · SUSE:Manager Server Module 4.1 | Package registry (OSV) |
| suse:spacewalk-backend | 4.1.30-4.47.2 · SUSE:Manager Server Module 4.1 | Package registry (OSV) |
| suse:spacewalk-certs-tools | 4.1.20-3.25.2 · SUSE:Manager Server Module 4.1 | Package registry (OSV) |
| suse:spacewalk-client-tools | 4.1.11-4.18.2 · SUSE:Manager Server Module 4.1 | Package registry (OSV) |
| suse:spacewalk-java | 4.1.43-3.63.1 · SUSE:Manager Server Module 4.1 | Package registry (OSV) |
| suse:spacewalk-reports | 4.1.5-3.9.1 · SUSE:Manager Server Module 4.1 | Package registry (OSV) |
Exploit status
No known public exploit
No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
No dated events beyond publication.
No history yet (it accumulates with the daily EPSS job).
Patch and commit links
Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.
No commit or PR link among the references.
Credits
All researchersFinders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.
No credits in the CNA record.
Variant candidates
Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.
No nightly-computed relations.
Chain candidates
An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.
—
Bug bounty scope
No known public program.
Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).
National notice (Türkiye Cybersecurity Directorate / USOM)
Official security notices citing this record; remediation advice is on the agency's page.
- TR-21-0378 · May 4, 2021(Debian Güvenlik Güncellemesi Yayınladı)
- TR-20-982 · Nov 23, 2020(Red Hat JBoss Enterprise Application Sunucu Güvenlik Güncellemesi)
- TR-20-977 · Nov 20, 2020(Hibernate Güvenlik Güncellemesi)
Technical details
Attack conditions
- Anyone who can reach it over the internet can trigger it.
- No account or password is required.
- No user action is required.
- Special conditions such as timing or configuration are required.
If successful
- Confidentiality
- high · data can be read
- Integrity
- high · data or configuration can be modified
- Availability
- none
- Attack vector
- Network
- Attack complexity
- High
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality impact
- High
- Integrity impact
- High
- Availability impact
- None
Weakness class (CWE)
CWE-89 · Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')CVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
nvd-primary
Root cause
The query text is built by concatenating user input. The database cannot tell where the data ends and the command begins.
The bug in code
The whole CWE-89 classA representative example of this vulnerability class. Not the vendor's source code; it shows the faulty pattern and its fix.
Vulnerable
const owner = req.query.owner;
const rows = await db.query(
"SELECT * FROM files WHERE owner = '" + owner + "'"
);Fixed
const owner = req.query.owner;
const rows = await db.query(
"SELECT * FROM files WHERE owner = $1",
[owner]
);Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
Attack patterns (CAPEC)
- Command Line Execution through SQL InjectionCAPEC-108likelihood: Low · Very High
- Object Relational Mapping InjectionCAPEC-109likelihood: Low · High
- SQL Injection through SOAP Parameter TamperingCAPEC-110likelihood: High · Very High
- Expanding Control over the Operating System from the DatabaseCAPEC-470Very High
- SQL InjectionCAPEC-66likelihood: High · High
- Blind SQL InjectionCAPEC-7likelihood: High · High
ATT&CK techniques
—
Change log
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
Show all references (7 more)Show less
- lists.apache.org/thread.html/r833c1276e41334fa675848a08daf0c61f39009f9f9a400d9f7006d44%40%3Cdev.turbine.apache.org%3E
- lists.apache.org/thread.html/rf2378209c676a28b71f9b604a3b3517c448540b85367160e558ef9df%40%3Ccommits.turbine.apache.org%3E
- lists.debian.org/debian-lts-announce/2021/01/msg00000.html
- www.debian.org/security/2021/dsa-4908
- www.oracle.com//security-alerts/cpujul2021.html
- www.oracle.com/security-alerts/cpuapr2022.html
- www.oracle.com/security-alerts/cpujul2022.html
Vendor advisories and official records. Exploit/PoC links are deliberately left out.