CVE-2021-42392 RCE in H2 Console
CriticalCVSS 9.8
EPSS 83.2%
Scanner template
- Published
- Updated
- Exploit status
- No public exploit known
- Technology
- UbuntuDebian
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.
Upgrade path
11 packages: 8 fixed, 1 partially fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| h2database h2 | >= 1.1.000; >= 1.1.000, <= 2.0.204 | after 2.0.204 | Partially fixed |
| com.h2database/h2(Maven) | = 1.1.100; = 1.1.101; = 1.1.102; = 1.1.103 +100 more | 2.0.206 | Fixed |
| debian/h2database(Debian 12) | < 2.1.210-1 | 2.1.210-1 | Fixed |
| debian/h2database(Debian 13) | < 2.1.210-1 | 2.1.210-1 | Fixed |
| debian/h2database(Debian 14) | < 2.1.210-1 | 2.1.210-1 | Fixed |
| ubuntu/h2database(Ubuntu 20.04) | < 1.4.197-4+deb10u1build0.20.04.1; = 1.4.197-4 | 1.4.197-4+deb10u1build0.20.04.1 | Fixed |
| ubuntu/h2database(Ubuntu 22.04) | < 2.1.210+really1.4.197-1; = 1.4.197-4; = 2.1.210-1 | 2.1.210+really1.4.197-1 | Fixed |
| ubuntu/h2database(Ubuntu Pro 16.04) | < 1.4.191-1ubuntu0.1~esm1; = 1.4.185-1; = 1.4.185-2; = 1.4.190-1 +1 more | 1.4.191-1ubuntu0.1~esm1 | Fixed |
| ubuntu/h2database(Ubuntu Pro 18.04) | < 1.4.196-2ubuntu0.1~esm1; = 1.4.196-1; = 1.4.196-2 | 1.4.196-2ubuntu0.1~esm1 | Fixed |
| debian linux | = 9.0; = 10.0; = 11.0 | No fix listed | Versions listed |
| oracle communications cloud native core policy | = 1.15.0 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| com.h2database/h2(Maven) | >= 1.1.100, < 2.0.206 | 2.0.206 |
| com.h2database/h2(Maven) | = 1.1.100 | No fix listed |
| com.h2database/h2(Maven) | = 1.1.101 | No fix listed |
| com.h2database/h2(Maven) | = 1.1.102 | No fix listed |
| com.h2database/h2(Maven) | = 1.1.103 | No fix listed |
| com.h2database/h2(Maven) | = 1.1.104 | No fix listed |
| com.h2database/h2(Maven) | = 1.1.105 | No fix listed |
| com.h2database/h2(Maven) | = 1.1.106 | No fix listed |
| com.h2database/h2(Maven) | = 1.1.107 | No fix listed |
| com.h2database/h2(Maven) | = 1.1.108 | No fix listed |
| com.h2database/h2(Maven) | = 1.1.109 | No fix listed |
| com.h2database/h2(Maven) | = 1.1.110 | No fix listed |
| com.h2database/h2(Maven) | = 1.1.111 | No fix listed |
| com.h2database/h2(Maven) | = 1.1.112 | No fix listed |
| com.h2database/h2(Maven) | = 1.1.113 | No fix listed |
| com.h2database/h2(Maven) | = 1.1.114 | No fix listed |
| com.h2database/h2(Maven) | = 1.1.115 | No fix listed |
| com.h2database/h2(Maven) | = 1.1.116 | No fix listed |
| com.h2database/h2(Maven) | = 1.1.117 | No fix listed |
| com.h2database/h2(Maven) | = 1.1.118 | No fix listed |
| com.h2database/h2(Maven) | = 1.1.119 | No fix listed |
| com.h2database/h2(Maven) | = 1.2.120 | No fix listed |
| com.h2database/h2(Maven) | = 1.2.121 | No fix listed |
| com.h2database/h2(Maven) | = 1.2.122 | No fix listed |
| com.h2database/h2(Maven) | = 1.2.123 | No fix listed |
Show 101 more
| Product | Affected versions | Fixed in |
|---|---|---|
| com.h2database/h2(Maven) | = 1.2.124 | No fix listed |
| com.h2database/h2(Maven) | = 1.2.125 | No fix listed |
| com.h2database/h2(Maven) | = 1.2.126 | No fix listed |
| com.h2database/h2(Maven) | = 1.2.127 | No fix listed |
| com.h2database/h2(Maven) | = 1.2.128 | No fix listed |
| com.h2database/h2(Maven) | = 1.2.129 | No fix listed |
| com.h2database/h2(Maven) | = 1.2.130 | No fix listed |
| com.h2database/h2(Maven) | = 1.2.131 | No fix listed |
| com.h2database/h2(Maven) | = 1.2.132 | No fix listed |
| com.h2database/h2(Maven) | = 1.2.133 | No fix listed |
| com.h2database/h2(Maven) | = 1.2.134 | No fix listed |
| com.h2database/h2(Maven) | = 1.2.135 | No fix listed |
| com.h2database/h2(Maven) | = 1.2.136 | No fix listed |
| com.h2database/h2(Maven) | = 1.2.137 | No fix listed |
| com.h2database/h2(Maven) | = 1.2.138 | No fix listed |
| com.h2database/h2(Maven) | = 1.2.139 | No fix listed |
| com.h2database/h2(Maven) | = 1.2.140 | No fix listed |
| com.h2database/h2(Maven) | = 1.2.141 | No fix listed |
| com.h2database/h2(Maven) | = 1.2.142 | No fix listed |
| com.h2database/h2(Maven) | = 1.2.143 | No fix listed |
| com.h2database/h2(Maven) | = 1.2.144 | No fix listed |
| com.h2database/h2(Maven) | = 1.2.145 | No fix listed |
| com.h2database/h2(Maven) | = 1.2.147 | No fix listed |
| com.h2database/h2(Maven) | = 1.3.146 | No fix listed |
| com.h2database/h2(Maven) | = 1.3.148 | No fix listed |
| com.h2database/h2(Maven) | = 1.3.149 | No fix listed |
| com.h2database/h2(Maven) | = 1.3.150 | No fix listed |
| com.h2database/h2(Maven) | = 1.3.151 | No fix listed |
| com.h2database/h2(Maven) | = 1.3.152 | No fix listed |
| com.h2database/h2(Maven) | = 1.3.153 | No fix listed |
| com.h2database/h2(Maven) | = 1.3.154 | No fix listed |
| com.h2database/h2(Maven) | = 1.3.155 | No fix listed |
| com.h2database/h2(Maven) | = 1.3.156 | No fix listed |
| com.h2database/h2(Maven) | = 1.3.157 | No fix listed |
| com.h2database/h2(Maven) | = 1.3.158 | No fix listed |
| com.h2database/h2(Maven) | = 1.3.159 | No fix listed |
| com.h2database/h2(Maven) | = 1.3.160 | No fix listed |
| com.h2database/h2(Maven) | = 1.3.161 | No fix listed |
| com.h2database/h2(Maven) | = 1.3.162 | No fix listed |
| com.h2database/h2(Maven) | = 1.3.163 | No fix listed |
| com.h2database/h2(Maven) | = 1.3.164 | No fix listed |
| com.h2database/h2(Maven) | = 1.3.165 | No fix listed |
| com.h2database/h2(Maven) | = 1.3.166 | No fix listed |
| com.h2database/h2(Maven) | = 1.3.167 | No fix listed |
| com.h2database/h2(Maven) | = 1.3.168 | No fix listed |
| com.h2database/h2(Maven) | = 1.3.169 | No fix listed |
| com.h2database/h2(Maven) | = 1.3.170 | No fix listed |
| com.h2database/h2(Maven) | = 1.3.171 | No fix listed |
| com.h2database/h2(Maven) | = 1.3.172 | No fix listed |
| com.h2database/h2(Maven) | = 1.3.173 | No fix listed |
| com.h2database/h2(Maven) | = 1.3.174 | No fix listed |
| com.h2database/h2(Maven) | = 1.3.175 | No fix listed |
| com.h2database/h2(Maven) | = 1.3.176 | No fix listed |
| com.h2database/h2(Maven) | = 1.4.177 | No fix listed |
| com.h2database/h2(Maven) | = 1.4.178 | No fix listed |
| com.h2database/h2(Maven) | = 1.4.179 | No fix listed |
| com.h2database/h2(Maven) | = 1.4.180 | No fix listed |
| com.h2database/h2(Maven) | = 1.4.181 | No fix listed |
| com.h2database/h2(Maven) | = 1.4.182 | No fix listed |
| com.h2database/h2(Maven) | = 1.4.183 | No fix listed |
| com.h2database/h2(Maven) | = 1.4.184 | No fix listed |
| com.h2database/h2(Maven) | = 1.4.185 | No fix listed |
| com.h2database/h2(Maven) | = 1.4.186 | No fix listed |
| com.h2database/h2(Maven) | = 1.4.187 | No fix listed |
| com.h2database/h2(Maven) | = 1.4.188 | No fix listed |
| com.h2database/h2(Maven) | = 1.4.189 | No fix listed |
| com.h2database/h2(Maven) | = 1.4.190 | No fix listed |
| com.h2database/h2(Maven) | = 1.4.191 | No fix listed |
| com.h2database/h2(Maven) | = 1.4.192 | No fix listed |
| com.h2database/h2(Maven) | = 1.4.193 | No fix listed |
| com.h2database/h2(Maven) | = 1.4.194 | No fix listed |
| com.h2database/h2(Maven) | = 1.4.195 | No fix listed |
| com.h2database/h2(Maven) | = 1.4.196 | No fix listed |
| com.h2database/h2(Maven) | = 1.4.197 | No fix listed |
| com.h2database/h2(Maven) | = 1.4.198 | No fix listed |
| com.h2database/h2(Maven) | = 1.4.199 | No fix listed |
| com.h2database/h2(Maven) | = 1.4.200 | No fix listed |
| com.h2database/h2(Maven) | = 2.0.202 | No fix listed |
| com.h2database/h2(Maven) | = 2.0.204 | No fix listed |
| debian/h2database(Debian:12) | < 2.1.210-1 | 2.1.210-1 |
| debian/h2database(Debian:13) | < 2.1.210-1 | 2.1.210-1 |
| debian/h2database(Debian:14) | < 2.1.210-1 | 2.1.210-1 |
| ubuntu/h2database(Ubuntu:22.04) | < 2.1.210+really1.4.197-1 | 2.1.210+really1.4.197-1 |
| h2database h2 | >= 1.1.000, <= 2.0.204 | No fix listed |
| debian linux | = 9.0 | No fix listed |
| debian linux | = 10.0 | No fix listed |
| debian linux | = 11.0 | No fix listed |
| oracle communications cloud native core policy | = 1.15.0 | No fix listed |
| h2database h2 | >= 1.1.000 | No fix listed |
| ubuntu/h2database(Ubuntu:Pro:16.04) | < 1.4.191-1ubuntu0.1~esm1 | 1.4.191-1ubuntu0.1~esm1 |
| ubuntu/h2database(Ubuntu:Pro:16.04) | = 1.4.185-1 | No fix listed |
| ubuntu/h2database(Ubuntu:Pro:16.04) | = 1.4.185-2 | No fix listed |
| ubuntu/h2database(Ubuntu:Pro:16.04) | = 1.4.190-1 | No fix listed |
| ubuntu/h2database(Ubuntu:Pro:16.04) | = 1.4.191-1 | No fix listed |
| ubuntu/h2database(Ubuntu:Pro:18.04) | < 1.4.196-2ubuntu0.1~esm1 | 1.4.196-2ubuntu0.1~esm1 |
| ubuntu/h2database(Ubuntu:Pro:18.04) | = 1.4.196-1 | No fix listed |
| ubuntu/h2database(Ubuntu:Pro:18.04) | = 1.4.196-2 | No fix listed |
| ubuntu/h2database(Ubuntu:20.04) | < 1.4.197-4+deb10u1build0.20.04.1 | 1.4.197-4+deb10u1build0.20.04.1 |
| ubuntu/h2database(Ubuntu:20.04) | = 1.4.197-4 | No fix listed |
| ubuntu/h2database(Ubuntu:22.04) | = 1.4.197-4 | No fix listed |
| ubuntu/h2database(Ubuntu:22.04) | = 2.1.210-1 | No fix listed |
References
- github.com issue-tracking mitigation third-party-advisory vendor-advisory
- github.com
- nvd.nist.gov third-party-advisory vendor-advisory
- jfrog.com exploit issue-tracking technical-description vendor-advisory
- security.netapp.com third-party-advisory
- [debian-lts-announce] 20220215 [SECURITY] [DLA 2923-1] h2database security update mailing-list third-party-advisory
- DSA-5076 third-party-advisory vendor-advisory
- www.oracle.com patch third-party-advisory
- www.secpod.com
- github.com
- github.com product
- Debian Security Tracker CVE-2021-42392 vendor-advisory
- Ubuntu CVE tracker issue-tracking vendor-advisory
- USN-5365-1 vendor-advisory
- USN-6834-1 vendor-advisory
- www.cve.org issue-tracking
- bugs.debian.org issue-tracking