{ "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/" } ] }, "impact": { "cvssv3": { "SCORE": "9.8" } } }