GHSA-22wj-vf5f-wrvj

Suggest an improvement
Source
https://github.com/advisories/GHSA-22wj-vf5f-wrvj
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/11/GHSA-22wj-vf5f-wrvj/GHSA-22wj-vf5f-wrvj.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-22wj-vf5f-wrvj
Aliases
Related
Published
2022-11-23T21:30:31Z
Modified
2024-07-03T18:19:48.588883Z
Severity
  • 7.8 (High) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
Password exposure in H2 Database
Details

The web-based admin console in H2 Database Engine through 2.1.214 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."

Database specific
{
    "nvd_published_at": "2022-11-23T21:15:00Z",
    "cwe_ids": [
        "CWE-200",
        "CWE-312"
    ],
    "severity": "HIGH",
    "github_reviewed": true,
    "github_reviewed_at": "2022-11-23T22:31:05Z"
}
References

Affected packages

Maven / com.h2database:h2

Package

Name
com.h2database:h2
View open source insights on deps.dev
Purl
pkg:maven/com.h2database/h2

Affected ranges

Type
ECOSYSTEM
Events
Introduced
1.4.198
Fixed
2.2.220

Affected versions

1.*

1.4.198
1.4.199
1.4.200

2.*

2.0.202
2.0.204
2.0.206
2.1.210
2.1.212
2.1.214