{"cve":"CVE-2021-42392","nvd":{"published":"2022-01-10T14:10:23.643","modified":"2026-06-17T04:09:45.390","status":"Modified","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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8},"cwes":["CWE-502"],"references":["https://github.com/h2database/h2database/security/advisories/GHSA-h376-j262-vhq6","https://jfrog.com/blog/the-jndi-strikes-back-unauthenticated-rce-in-h2-database-console/","https://lists.debian.org/debian-lts-announce/2022/02/msg00017.html","https://security.netapp.com/advisory/ntap-20220119-0001/","https://www.debian.org/security/2022/dsa-5076"],"products":["debian:debian_linux","h2database:h2","oracle:communications_cloud_native_core_policy"],"source":"nvd","synced_at":"2026-10-19T21:26:33.761856376+00:00"},"epss":{"cve":"CVE-2021-42392","score":0.83176,"percentile":0.99677,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-h376-j262-vhq6","url":"https://osv.dev/vulnerability/GHSA-h376-j262-vhq6","summary":"RCE in H2 Console","modified":"2026-07-08T06:29:10.179422215Z","packages":[{"ecosystem":"Maven","name":"com.h2database:h2","purl":"pkg:maven/com.h2database/h2","ranges":[">=1.1.100 <2.0.206"],"fixed":["2.0.206"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}