CVE-2021-42392
CRITICAL9.8EPSS 90.6%RCE in H2 Console
發布日:2022/1/6修改日:2026/4/28
描述
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.
受影響套件(4)
- Debian/h2databasefrom 0, < 1.4.197-4+deb11u1
- Debian/h2databasefrom 0, < 1.4.193-1+deb9u1
- Debian/h2databasefrom 0, < 1.4.197-4+deb10u1
- Maven/com.h2database:h2>= 1.1.100, < 2.0.206
CVSS 分數
| 來源 | 版本 | 嚴重程度 | 向量 |
|---|---|---|---|
| osv | CVSS 3.1 | CRITICAL9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
參考連結(11)
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2021-42392
- ADVISORYhttps://security-tracker.debian.org/tracker/CVE-2021-42392
- PATCHhttps://github.com/h2database/h2database
- WEBhttps://github.com/h2database/h2database/releases/tag/version-2.0.206
- WEBhttps://github.com/h2database/h2database/security/advisories/GHSA-h376-j262-vhq6
- WEBhttps://jfrog.com/blog/the-jndi-strikes-back-unauthenticated-rce-in-h2-database-console
- WEBhttps://lists.debian.org/debian-lts-announce/2022/02/msg00017.html
- WEBhttps://security.netapp.com/advisory/ntap-20220119-0001
- WEBhttps://www.debian.org/security/2022/dsa-5076
- WEBhttps://www.oracle.com/security-alerts/cpuapr2022.html
- WEBhttps://www.secpod.com/blog/log4shell-critical-remote-code-execution-vulnerability-in-h2database-console