CVEfocus › CVE database › CVE-2022-45868

CVE-2022-45868

CVSS 8.4 HighEPSS 0.3% (higher than 27% of CVEs)Published 2022-11-23Updated 2024-11-19Assigner: mitre

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 Console ... Passwords should never be passed on the command line and every qualified DBA or system administrator is expected to know that." Nonetheless, the issue was fixed in 2.2.220.

What to do

Fixed builds are available from Maven: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

1Fixed
3Fix pending
3Will not fix
8Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 24.04h2databaseNot affected
vulnerable_code_not_present
Ubuntu 24.04jameica-h2databaseNot affected
vulnerable_code_not_present
Ubuntu 24.04mediathekviewNot affected
vulnerable_code_not_present
Ubuntu 22.04h2databaseNot affected
vulnerable_code_not_present
Ubuntu 22.04mediathekviewNot affected
vulnerable_code_not_present
Ubuntu 20.04h2databaseNot affected
vulnerable_code_not_present
Ubuntu 20.04mediathekviewNot affected
vulnerable_code_not_present
Ubuntu 18.04mediathekviewNot affected
vulnerable_code_not_present
Ubuntu 16.04h2databaseFix pending
Ubuntu 16.04mediathekviewFix pending
Ubuntu 14.04mediathekviewFix pending
Debian 14h2databaseWill not fix
Debian rates this unimportant for its packages (a minor issue, or one that doesn't affect Debian's build), so no security update is planned.
DEBIAN-CVE-2022-45868
Debian 13h2databaseWill not fix
Debian rates this unimportant for its packages (a minor issue, or one that doesn't affect Debian's build), so no security update is planned.
DEBIAN-CVE-2022-45868
Debian 12h2databaseWill not fix
Debian rates this unimportant for its packages (a minor issue, or one that doesn't affect Debian's build), so no security update is planned.
DEBIAN-CVE-2022-45868
Maven librarycom.h2database:h2Fixed2.2.220GHSA-22wj-vf5f-wrvj

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.