CVE-2022-23221 Arbitrary code execution in H2 Console
CriticalCVSS 9.8
EPSS 64.8%
Public exploit
- Published
- Updated
- Exploit status
- Public exploit available
- CISA SSVC
- Proof of concept public · automatable: yes · technical impact: total
- Technology
- UbuntuDebian
Description
H2 Console before 2.1.210 allows remote attackers to execute arbitrary code via a jdbc:h2:mem JDBC URL containing the IGNORE_UNKNOWN_SETTINGS=TRUE;FORBID_CREATION=FALSE;INIT=RUNSCRIPT substring, a different vulnerability than CVE-2021-42392.
Upgrade path
11 packages: 9 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| com.h2database/h2(Maven) | < 2.1.210; = 1.0.57; = 1.0.58; = 1.0.59 +128 more | 2.1.210 | 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 |
| h2database h2 | >= 1.1.100, < 2.0.206 | 2.0.206 | 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 console | = 1.9.0 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| com.h2database/h2(Maven) | < 2.1.210 | 2.1.210 |
| com.h2database/h2(Maven) | = 1.0.20061217 | No fix listed |
| com.h2database/h2(Maven) | = 1.0.20070304 | No fix listed |
| com.h2database/h2(Maven) | = 1.0.20070429 | No fix listed |
| com.h2database/h2(Maven) | = 1.0.20070617 | No fix listed |
| com.h2database/h2(Maven) | = 1.0.57 | No fix listed |
| com.h2database/h2(Maven) | = 1.0.58 | No fix listed |
| com.h2database/h2(Maven) | = 1.0.59 | No fix listed |
| com.h2database/h2(Maven) | = 1.0.60 | No fix listed |
| com.h2database/h2(Maven) | = 1.0.61 | No fix listed |
| com.h2database/h2(Maven) | = 1.0.62 | No fix listed |
| com.h2database/h2(Maven) | = 1.0.63 | No fix listed |
| com.h2database/h2(Maven) | = 1.0.64 | No fix listed |
| com.h2database/h2(Maven) | = 1.0.65 | No fix listed |
| com.h2database/h2(Maven) | = 1.0.66 | No fix listed |
| com.h2database/h2(Maven) | = 1.0.67 | No fix listed |
| com.h2database/h2(Maven) | = 1.0.68 | No fix listed |
| com.h2database/h2(Maven) | = 1.0.69 | No fix listed |
| com.h2database/h2(Maven) | = 1.0.70 | No fix listed |
| com.h2database/h2(Maven) | = 1.0.71 | No fix listed |
| com.h2database/h2(Maven) | = 1.0.72 | No fix listed |
| com.h2database/h2(Maven) | = 1.0.73 | No fix listed |
| com.h2database/h2(Maven) | = 1.0.74 | No fix listed |
| com.h2database/h2(Maven) | = 1.0.75 | No fix listed |
| com.h2database/h2(Maven) | = 1.0.76 | No fix listed |
Show 128 more
| Product | Affected versions | Fixed in |
|---|---|---|
| com.h2database/h2(Maven) | = 1.0.77 | No fix listed |
| com.h2database/h2(Maven) | = 1.0.78 | No fix listed |
| com.h2database/h2(Maven) | = 1.0.79 | No fix listed |
| 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 |
| 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 |
| com.h2database/h2(Maven) | = 2.0.206 | No fix listed |
| ubuntu/h2database(Ubuntu:22.04) | < 2.1.210+really1.4.197-1 | 2.1.210+really1.4.197-1 |
| h2database h2 | >= 1.1.100, < 2.0.206 | 2.0.206 |
| 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 console | = 1.9.0 | No fix listed |
| debian/h2database(Debian:12) | < 2.1.210-1 | 2.1.210-1 |
| debian/h2database(Debian:14) | < 2.1.210-1 | 2.1.210-1 |
| debian/h2database(Debian:13) | < 2.1.210-1 | 2.1.210-1 |
| 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
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com issue-tracking patch release-notes third-party-advisory
- github.com issue-tracking mitigation patch third-party-advisory
- twitter.com exploit issue-tracking third-party-advisory
- packetstormsecurity.com exploit third-party-advisory vdb-entry
- 20220124 Unauthenticated RCE vuln in the H2 Database console: CVE-2022-23221. exploit mailing-list 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.oracle.com not-applicable
- security.netapp.com
- github.com
- github.com product
- Debian Security Tracker CVE-2022-23221 vendor-advisory
- Ubuntu CVE tracker issue-tracking vendor-advisory
- USN-5365-1 vendor-advisory
- USN-6834-1 vendor-advisory
- www.cve.org issue-tracking