{"api_version":"1","generated_at":"2026-04-22T23:31:53+00:00","cve":"CVE-2021-42392","urls":{"html":"https://cve.report/CVE-2021-42392","api":"https://cve.report/api/cve/CVE-2021-42392.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2021-42392","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2021-42392"},"summary":{"title":"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.","state":"PUBLIC","assigner":"security@jfrog.com","published_at":"2022-01-10 14:10:00","updated_at":"2023-02-24 22:15:00"},"problem_types":["CWE-502"],"metrics":[],"references":[{"url":"https://www.debian.org/security/2022/dsa-5076","name":"DSA-5076","refsource":"DEBIAN","tags":[],"title":"Debian -- Security Information -- DSA-5076-1 h2database","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://www.oracle.com/security-alerts/cpuapr2022.html","name":"https://www.oracle.com/security-alerts/cpuapr2022.html","refsource":"MISC","tags":[],"title":"Oracle Critical Patch Update Advisory - April 2022","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://lists.debian.org/debian-lts-announce/2022/02/msg00017.html","name":"[debian-lts-announce] 20220215 [SECURITY] [DLA 2923-1] h2database security update","refsource":"MLIST","tags":[],"title":"[SECURITY] [DLA 2923-1] h2database security update","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://github.com/h2database/h2database/security/advisories/GHSA-h376-j262-vhq6","name":"https://github.com/h2database/h2database/security/advisories/GHSA-h376-j262-vhq6","refsource":"MISC","tags":[],"title":"RCE in H2 Console · Advisory · h2database/h2database · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://www.secpod.com/blog/log4shell-critical-remote-code-execution-vulnerability-in-h2database-console/","name":"https://www.secpod.com/blog/log4shell-critical-remote-code-execution-vulnerability-in-h2database-console/","refsource":"MISC","tags":[],"title":"Log4Shell-Critical Remote Code Execution Vulnerability in H2database Console - SecPod Blog","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://security.netapp.com/advisory/ntap-20220119-0001/","name":"https://security.netapp.com/advisory/ntap-20220119-0001/","refsource":"CONFIRM","tags":[],"title":"CVE-2021-42392 H2 Database Vulnerability in NetApp Products | NetApp Product Security","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://jfrog.com/blog/the-jndi-strikes-back-unauthenticated-rce-in-h2-database-console/","name":"https://jfrog.com/blog/the-jndi-strikes-back-unauthenticated-rce-in-h2-database-console/","refsource":"MISC","tags":[],"title":"JNDI-Related Vulnerability Discovered in H2 Database Console","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://www.cve.org/CVERecord?id=CVE-2021-42392","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-42392","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2021","cve_id":"42392","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"debian","cpe5":"debian_linux","cpe6":"10.0","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2021","cve_id":"42392","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"debian","cpe5":"debian_linux","cpe6":"11.0","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2021","cve_id":"42392","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"debian","cpe5":"debian_linux","cpe6":"9.0","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2021","cve_id":"42392","vulnerable":"1","versionEndIncluding":"2.0.204","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"h2database","cpe5":"h2","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2021","cve_id":"42392","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"oracle","cpe5":"communications_cloud_native_core_policy","cpe6":"1.15.0","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[{"cve":"CVE-2021-42392","qid":"179074","title":"Debian Security Update for h2database (DLA 2923-1)"},{"cve":"CVE-2021-42392","qid":"179077","title":"Debian Security Update for h2database (DSA 5076-1)"},{"cve":"CVE-2021-42392","qid":"184835","title":"Debian Security Update for h2database (CVE-2021-42392)"},{"cve":"CVE-2021-42392","qid":"198730","title":"Ubuntu Security Notification for H2 Vulnerabilities (USN-5365-1)"},{"cve":"CVE-2021-42392","qid":"240458","title":"Red Hat Update for JBoss Enterprise Application Platform 7.4.5 on RHEL 7 (RHSA-2022:4918)"},{"cve":"CVE-2021-42392","qid":"240459","title":"Red Hat Update for JBoss Enterprise Application Platform 7.4.5 on RHEL 8 (RHSA-2022:4919)"},{"cve":"CVE-2021-42392","qid":"376244","title":"H2 Database Console Remote Code Execution (RCE) Vulnerability (CVE-2021-42392)"}]},"source_records":{"cve_program":{"data_type":"CVE","data_format":"MITRE","data_version":"4.0","CVE_data_meta":{"ID":"CVE-2021-42392","ASSIGNER":"security@jfrog.com","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"vendor_name":"h2database","product":{"product_data":[{"product_name":"h2","version":{"version_data":[{"version_name":"","version_affected":">=","version_value":"1.1.000","platform":""},{"version_name":"","version_affected":"<=","version_value":"2.0.204","platform":""}]}}]}}]}},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-502"}]}]},"description":{"description_data":[{"lang":"eng","value":"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."}]},"references":{"reference_data":[{"refsource":"MISC","url":"https://github.com/h2database/h2database/security/advisories/GHSA-h376-j262-vhq6","name":"https://github.com/h2database/h2database/security/advisories/GHSA-h376-j262-vhq6"},{"refsource":"MLIST","name":"[debian-lts-announce] 20220215 [SECURITY] [DLA 2923-1] h2database security update","url":"https://lists.debian.org/debian-lts-announce/2022/02/msg00017.html"},{"refsource":"DEBIAN","name":"DSA-5076","url":"https://www.debian.org/security/2022/dsa-5076"},{"url":"https://www.oracle.com/security-alerts/cpuapr2022.html","refsource":"MISC","name":"https://www.oracle.com/security-alerts/cpuapr2022.html"},{"refsource":"MISC","name":"https://jfrog.com/blog/the-jndi-strikes-back-unauthenticated-rce-in-h2-database-console/","url":"https://jfrog.com/blog/the-jndi-strikes-back-unauthenticated-rce-in-h2-database-console/"},{"refsource":"CONFIRM","name":"https://security.netapp.com/advisory/ntap-20220119-0001/","url":"https://security.netapp.com/advisory/ntap-20220119-0001/"},{"refsource":"MISC","name":"https://www.secpod.com/blog/log4shell-critical-remote-code-execution-vulnerability-in-h2database-console/","url":"https://www.secpod.com/blog/log4shell-critical-remote-code-execution-vulnerability-in-h2database-console/"}]},"impact":{"cvssv3":{"SCORE":"9.8"}}},"nvd":{"publishedDate":"2022-01-10 14:10:00","lastModifiedDate":"2023-02-24 22:15:00","problem_types":["CWE-502"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH","baseScore":9.8,"baseSeverity":"CRITICAL"},"exploitabilityScore":3.9,"impactScore":5.9},"baseMetricV2":{"cvssV2":{"version":"2.0","vectorString":"AV:N/AC:L/Au:N/C:C/I:C/A:C","accessVector":"NETWORK","accessComplexity":"LOW","authentication":"NONE","confidentialityImpact":"COMPLETE","integrityImpact":"COMPLETE","availabilityImpact":"COMPLETE","baseScore":10},"severity":"HIGH","exploitabilityScore":10,"impactScore":10,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":false}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:h2database:h2:*:*:*:*:*:*:*:*","versionStartIncluding":"1.1.000","versionEndIncluding":"2.0.204","cpe_name":[]}]},{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*","cpe_name":[]}]},{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:oracle:communications_cloud_native_core_policy:1.15.0:*:*:*:*:*:*:*","cpe_name":[]}]}]}},"legacy_mitre":{"record":{"CveYear":"2021","CveId":"42392","Ordinal":"218367","Title":"CVE-2021-42392","CVE":"CVE-2021-42392","Year":"2021"},"notes":[{"CveYear":"2021","CveId":"42392","Ordinal":"1","NoteData":"** RESERVED ** This candidate has been reserved by an organization or individual that will use it when announcing a new security problem. When the candidate has been publicized, the details for this candidate will be provided.","Type":"Description","Title":null}]}}}