Unknown · H2 Database Engine · CVE-2022-45868
**Name of the Vulnerable Software and Affected Versions**
H2 Database Engine versions prior to 2.2.220
**Description**
The web-based admin console in H2 Database Engine 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. The issue was fixed in version 2.2.220.
**Recommendations**
For H2 Database Engine versions prior to 2.2.220, update to version 2.2.220 or later to resolve the issue. As a temporary workaround, consider avoiding the use of the `-webAdminPassword` argument when starting the web-based admin console via the CLI to minimize the risk of password exposure.