CVE-2021-42392
Description
The org.h2.util.JdbcUtils.getConnection method of the H2 database takes as parameters the class name of the driver and URL of the database. An attacker may pass a JNDI driver name and a URL leading to a LDAP or RMI servers, causing remote code execution. This can be exploited through various attack vectors, most notably through the H2 Console which leads to unauthenticated remote code execution.
Risk Information
Base Score
9.8
MODERATE
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS Score
Exploitation Probability
90.773
Associated Vulnerability
| Vulnerability | OS Platform |
|---|---|
| Vulnerabilities CVE-2021-42392 are fixed in H2-Database-h2 2.0.206 | Windows |
| H2 Database Engine (USN-5365-1) libh2-java_1.4.197-4+deb10u1build0.20.04.1_all.deb | Linux |
| H2 Database Engine (USN-5365-1) libh2-java_1.4.197-4+deb10u1build0.21.10.1_all.deb | Linux |
| h2database security update(DSA-5076-1) libh2-java-doc_1.4.197-4+deb11u1_all.deb | Linux |
| h2database security update(DSA-5076-1) libh2-java-doc_1.4.197-4+deb10u1_all.deb | Linux |
| h2database security update(DSA-5076-1) libh2-java_1.4.197-4+deb11u1_all.deb | Linux |
| h2database security update(DSA-5076-1) libh2-java_1.4.197-4+deb10u1_all.deb | Linux |
| Vulnerabilities CVE-2021-42392 are fixed in H2-Database-h2 for Linux 2.0.206 | Linux |
Patch Details
No records foundReferences
https://nvd.nist.gov/vuln/detail/CVE-2023-1234
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-1234