Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CVE-2021-42392 (High) detected in h2-1.4.197.jar #1291

Open
mend-for-github-com bot opened this issue Jan 8, 2022 · 0 comments
Open

CVE-2021-42392 (High) detected in h2-1.4.197.jar #1291

mend-for-github-com bot opened this issue Jan 8, 2022 · 0 comments
Labels
security vulnerability Security vulnerability detected by WhiteSource

Comments

@mend-for-github-com
Copy link

mend-for-github-com bot commented Jan 8, 2022

CVE-2021-42392 - High Severity Vulnerability

Vulnerable Library - h2-1.4.197.jar

H2 Database Engine

Library home page: http://www.h2database.com

Path to dependency file: /testsuite/model/pom.xml

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

Dependency Hierarchy:

  • h2-1.4.197.jar (Vulnerable Library)

Found in HEAD commit: 9686933e579cc74ebc1592f893a47c601bcf4403

Found in base branch: master

Vulnerability Details

The org.h2.util.JdbcUtils.getConnection method of the H2 database takes as parameters the class name of the driver and URL of the database. An attacker may pass a JNDI driver name and a URL leading to a LDAP or RMI servers, causing remote code execution. This can be exploited through various attack vectors, most notably through the H2 Console which leads to unauthenticated remote code execution.

Publish Date: 2022-01-10

URL: CVE-2021-42392

CVSS 3 Score Details (9.8)

Base Score Metrics:

  • Exploitability Metrics:
    • Attack Vector: Network
    • Attack Complexity: Low
    • Privileges Required: None
    • 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: GHSA-h376-j262-vhq6

Release Date: 2022-01-10

Fix Resolution: 2.0.206


⛑️ Automatic Remediation is available for this issue

@mend-for-github-com mend-for-github-com bot added the security vulnerability Security vulnerability detected by WhiteSource label Jan 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
security vulnerability Security vulnerability detected by WhiteSource
Projects
None yet
Development

No branches or pull requests

0 participants