CVE-2022-23221
CVE-2022-23221
CVSS 9.8 · Critical · EPSS 64.8% · Public exploit · Fix available
Compare with your installed version
Affected products and known fixed versions are public information. Compare them with your installed version.
- h2database Debian 12Update to 2.1.210-1
- h2database Debian 13Update to 2.1.210-1
- h2database Debian 14Update to 2.1.210-1
- h2database Ubuntu Pro 16.04 LTSUpdate to 1.4.191-1ubuntu0.1~esm1
- and 3 more
Check the installed version:
dpkg-query -W -f='${source:Package} ${binary:Package} ${Version}\n' | awk '$1=="h2database"'Assess your server’s risks
The free check gives you a rating and a risk summary by technology stack, without signing up. It does not answer whether this particular vulnerability affects you.
Monitoring matches public information against your servers’ software. Detailed findings for your servers include the order of updates.
curl -fsSL https://patchfirst.dev/check.sh | shChannels carry general technology news; monitoring reports new findings on your servers in your dashboard, through browser notifications, in Telegram or via a webhook.
This page contains facts from public vulnerability sources. Check the original advisory before updating.
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.
- Published
- Updated
Fixes in distributions
- RHSA-2024:10208 · Red Hat jboss enterprise application platform eus 7.1 el7 ·
- RHSA-2024:10207 · Red Hat jboss enterprise application platform eus 7.3 el7 ·
- RHSA-2022:4918 · Red Hat jboss enterprise application platform 7.4 el7 ·
- RHSA-2022:4919 · Red Hat jboss enterprise application platform 7.4 el8 ·
- USN-6834-1 · Ubuntu Pro 16.04 LTS, Ubuntu Pro 18.04 LTS ·
- USN-5365-1 · Ubuntu 20.04 LTS ·
- DLA-2923-1 · Debian 9 ·
- DSA-5076-1 · Debian 10, Debian 11 ·
Stack: system
Affected products and versions
n/a
- Versions
- n/a: Affected
No fix published
h2database Debian 12
- Affected ranges
- ECOSYSTEM: < 2.1.210-1
Update to 2.1.210-1
h2database Debian 13
- Affected ranges
- ECOSYSTEM: < 2.1.210-1
Update to 2.1.210-1
h2database Debian 14
- Affected ranges
- ECOSYSTEM: < 2.1.210-1
Update to 2.1.210-1
h2database Ubuntu Pro 16.04 LTS
- Versions
- 1.4.185-1
- 1.4.185-2
- 1.4.190-1
- 1.4.191-1
- Affected ranges
- ECOSYSTEM: < 1.4.191-1ubuntu0.1~esm1
Update to 1.4.191-1ubuntu0.1~esm1
h2database Ubuntu Pro 18.04 LTS
- Versions
- 1.4.196-1
- 1.4.196-2
- Affected ranges
- ECOSYSTEM: < 1.4.196-2ubuntu0.1~esm1
Update to 1.4.196-2ubuntu0.1~esm1
h2database Ubuntu 20.04 LTS
- Versions
- 1.4.197-4
- Affected ranges
- ECOSYSTEM: < 1.4.197-4+deb10u1build0.20.04.1
Update to 1.4.197-4+deb10u1build0.20.04.1
h2database Ubuntu 22.04 LTS
- Versions
- 1.4.197-4
- 2.1.210-1
- Affected ranges
- ECOSYSTEM: < 2.1.210+really1.4.197-1
Update to 2.1.210+really1.4.197-1
Original sources
- https://github.com/h2database/h2database/security/advisories
- http://seclists.org/fulldisclosure/2022/Jan/39
- https://lists.debian.org/debian-lts-announce/2022/02/msg00017.html
- https://www.debian.org/security/2022/dsa-5076
- https://www.oracle.com/security-alerts/cpuapr2022.html
- https://github.com/h2database/h2database/releases/tag/version-2.1.210
- https://twitter.com/d0nkey_man/status/1483824727936450564
- http://packetstormsecurity.com/files/165676/H2-Database-Console-Remote-Code-Execution.html
- https://www.oracle.com/security-alerts/cpujul2022.html
- https://security.netapp.com/advisory/ntap-20230818-0011/
- https://nvd.nist.gov/vuln/detail/CVE-2022-23221