amaybaum-prod / atom-hopper

ATOM Hopper - The Java ATOMpub Server
http://atomhopper.org
0 stars 2 forks source link

h2-2.1.210.jar: 1 vulnerabilities (highest severity is: 7.8) #27

Open mend-for-github-com[bot] opened 1 year ago

mend-for-github-com[bot] commented 1 year ago
Vulnerable Library - h2-2.1.210.jar

H2 Database Engine

Library home page: https://h2database.com

Path to dependency file: /adapters/migration/pom.xml

Path to vulnerable library: /home/wss-scanner/.m2/repository/com/h2database/h2/2.1.210/h2-2.1.210.jar,/home/wss-scanner/.m2/repository/com/h2database/h2/2.1.210/h2-2.1.210.jar,/home/wss-scanner/.m2/repository/com/h2database/h2/2.1.210/h2-2.1.210.jar,/home/wss-scanner/.m2/repository/com/h2database/h2/2.1.210/h2-2.1.210.jar,/home/wss-scanner/.m2/repository/com/h2database/h2/2.1.210/h2-2.1.210.jar,/home/wss-scanner/.m2/repository/com/h2database/h2/2.1.210/h2-2.1.210.jar,/home/wss-scanner/.m2/repository/com/h2database/h2/2.1.210/h2-2.1.210.jar,/home/wss-scanner/.m2/repository/com/h2database/h2/2.1.210/h2-2.1.210.jar,/home/wss-scanner/.m2/repository/com/h2database/h2/2.1.210/h2-2.1.210.jar

Found in HEAD commit: d0c49807860a8c07c922d8e19168bd6893aad298

Vulnerabilities

CVE Severity CVSS Dependency Type Fixed in (h2 version) Remediation Possible** Reachability
CVE-2022-45868 High 7.8 h2-2.1.210.jar Direct 2.2.220

**In some cases, Remediation PR cannot be created automatically for a vulnerability despite the availability of remediation

Details

CVE-2022-45868 ### Vulnerable Library - h2-2.1.210.jar

H2 Database Engine

Library home page: https://h2database.com

Path to dependency file: /adapters/migration/pom.xml

Path to vulnerable library: /home/wss-scanner/.m2/repository/com/h2database/h2/2.1.210/h2-2.1.210.jar,/home/wss-scanner/.m2/repository/com/h2database/h2/2.1.210/h2-2.1.210.jar,/home/wss-scanner/.m2/repository/com/h2database/h2/2.1.210/h2-2.1.210.jar,/home/wss-scanner/.m2/repository/com/h2database/h2/2.1.210/h2-2.1.210.jar,/home/wss-scanner/.m2/repository/com/h2database/h2/2.1.210/h2-2.1.210.jar,/home/wss-scanner/.m2/repository/com/h2database/h2/2.1.210/h2-2.1.210.jar,/home/wss-scanner/.m2/repository/com/h2database/h2/2.1.210/h2-2.1.210.jar,/home/wss-scanner/.m2/repository/com/h2database/h2/2.1.210/h2-2.1.210.jar,/home/wss-scanner/.m2/repository/com/h2database/h2/2.1.210/h2-2.1.210.jar

Dependency Hierarchy: - :x: **h2-2.1.210.jar** (Vulnerable Library)

Found in HEAD commit: d0c49807860a8c07c922d8e19168bd6893aad298

Found in base branch: master

### Vulnerability Details

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.

Publish Date: 2022-11-23

URL: CVE-2022-45868

### CVSS 3 Score Details (7.8)

Base Score Metrics: - Exploitability Metrics: - Attack Vector: Local - Attack Complexity: Low - Privileges Required: Low - User Interaction: None - Scope: Unchanged - Impact Metrics: - Confidentiality Impact: High - Integrity Impact: High - Availability Impact: High

For more information on CVSS3 Scores, click here.

### Suggested Fix

Type: Upgrade version

Origin: https://github.com/advisories/GHSA-22wj-vf5f-wrvj

Release Date: 2022-11-23

Fix Resolution: 2.2.220

:rescue_worker_helmet: Automatic Remediation will be attempted for this issue.

:rescue_worker_helmet:Automatic Remediation will be attempted for this issue.

mend-for-github-com[bot] commented 1 year ago

:heavy_check_mark: This issue was automatically closed by Mend because the vulnerable library in the specific branch(es) was either marked as ignored or it is no longer part of the Mend inventory.

mend-for-github-com[bot] commented 4 months ago

:information_source: This issue was automatically re-opened by Mend because the vulnerable library in the specific branch(es) has been detected in the Mend inventory.