{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"state":"PUBLISHED","cveId":"CVE-2021-42392","assignerOrgId":"48a46f29-ae42-4e1d-90dd-c1676c1e5e6d","assignerShortName":"JFROG","dateUpdated":"2024-08-04T03:30:38.345Z","dateReserved":"2021-10-14T00:00:00.000Z","datePublished":"2022-01-07T00:00:00.000Z"},"containers":{"cna":{"providerMetadata":{"orgId":"48a46f29-ae42-4e1d-90dd-c1676c1e5e6d","shortName":"JFROG","dateUpdated":"2023-02-24T00:00:00.000Z"},"descriptions":[{"lang":"en","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."}],"affected":[{"vendor":"h2database","product":"h2","versions":[{"version":"1.1.000","status":"affected","lessThan":"*","versionType":"custom"}]}],"references":[{"url":"https://github.com/h2database/h2database/security/advisories/GHSA-h376-j262-vhq6"},{"name":"[debian-lts-announce] 20220215 [SECURITY] [DLA 2923-1] h2database security update","tags":["mailing-list"],"url":"https://lists.debian.org/debian-lts-announce/2022/02/msg00017.html"},{"name":"DSA-5076","tags":["vendor-advisory"],"url":"https://www.debian.org/security/2022/dsa-5076"},{"url":"https://www.oracle.com/security-alerts/cpuapr2022.html"},{"url":"https://jfrog.com/blog/the-jndi-strikes-back-unauthenticated-rce-in-h2-database-console/"},{"url":"https://security.netapp.com/advisory/ntap-20220119-0001/"},{"url":"https://www.secpod.com/blog/log4shell-critical-remote-code-execution-vulnerability-in-h2database-console/"}],"problemTypes":[{"descriptions":[{"type":"CWE","lang":"en","description":"CWE-502","cweId":"CWE-502"}]}]},"adp":[{"providerMetadata":{"orgId":"af854a3a-2127-422b-91ae-364da2661108","shortName":"CVE","dateUpdated":"2024-08-04T03:30:38.345Z"},"title":"CVE Program Container","references":[{"url":"https://github.com/h2database/h2database/security/advisories/GHSA-h376-j262-vhq6","tags":["x_transferred"]},{"name":"[debian-lts-announce] 20220215 [SECURITY] [DLA 2923-1] h2database security update","tags":["mailing-list","x_transferred"],"url":"https://lists.debian.org/debian-lts-announce/2022/02/msg00017.html"},{"name":"DSA-5076","tags":["vendor-advisory","x_transferred"],"url":"https://www.debian.org/security/2022/dsa-5076"},{"url":"https://www.oracle.com/security-alerts/cpuapr2022.html","tags":["x_transferred"]},{"url":"https://jfrog.com/blog/the-jndi-strikes-back-unauthenticated-rce-in-h2-database-console/","tags":["x_transferred"]},{"url":"https://security.netapp.com/advisory/ntap-20220119-0001/","tags":["x_transferred"]},{"url":"https://www.secpod.com/blog/log4shell-critical-remote-code-execution-vulnerability-in-h2database-console/","tags":["x_transferred"]}]}]}}