Free and open · new CVEs checked every 20 minutesStatusRSSOpen dataContact

CVE-2022-45868: The web-based admin console in H2 Database Engine before 2.2.220 can be started via the CLI with the argument

41
This month
HIGH 8.4UPGRADE

CVE-2022-45868 is a high-severity flaw (CVSS 8.4) affecting h2. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.

The web-based admin console in H2 Database Engine before 2.2.220 can be started via the CLI with the argument -webAdminPassword, which allows the user to specify the password in cleartext for the web admin console. Consequently, a local user (or an attacker that has obtained local access through some means) would be able to discover the password by listing processes and their arguments. NOTE: the vendor states "This is not a vulnerability of H2 C

Why this priority

  • High severity
  • Public exploit reference

A fixed release or distro patch exists.

Risk facts

CVSS score8.4 (High)
Attack vectorLocal
Attack complexityLow
Privileges neededNone
User interactionNone
EPSS exploit chance0.3% (top 75%)
CISA exploited listNo
WeaknessCWE-312
Published2022-11-23
Last modified2026-06-17
Publisher (CNA): MITRE · Vendor: h2database

Share: LinkedIn · X · Reddit

Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score

Am I affected?

Timeline

h2database h2 UPGRADE
Affected: <= 2.1.214
Fixed in: newer than 2.1.214
Safe to downgrade to: no unaffected older release
1. Check installed version
apt-cache policy h2 || rpm -q h2 || h2 --version
2. UPGRADE to newer than 2.1.214 (Debian / Ubuntu)
sudo apt update && sudo apt install --only-upgrade h2
2. UPGRADE (RHEL / Amazon Linux / Fedora)
sudo dnf upgrade h2
Note
Distros often backport fixes without changing the version number. Confirm with the distro advisory or changelog.
Verify at the official source NVD · CVE Program · Report a problem with this page
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.

Quick answers

How do I fix CVE-2022-45868?

h2: upgrade to newer than 2.1.214. Exact commands for each OS are on this page.

Is CVE-2022-45868 being exploited?

CVE-2022-45868 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.

What does CVE-2022-45868 affect?

CVE-2022-45868 affects h2. Severity is high (CVSS 8.4). The web-based admin console in H2 Database Engine before 2.2.220 can be started via the CLI with the argument -webAdminPassword, which allows the user to specify the password in cleartext for the web admin console. Consequently, a local use

How urgent is CVE-2022-45868?

Priority 41/100. High severity; Public exploit reference

Related CVEs

References

← Back to latest CVEs

Get the weekly exploited-CVE digest by emailThe CVEs being attacked this week and how to fix them. No spam, unsubscribe any time.