SCA: security update for com.h2database:h2 (GHSA-h376-j262-vhq6)

critical Tenable Self-Hosted Container Security Plugin ID 415423

Description

There are packages installed that are affected by a vulnerability referenced in the following CVE:

- 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. (CVE-2021-42392)

See Also

https://github.com/advisories/GHSA-h376-j262-vhq6

Plugin Details

Severity: Critical

ID: 415423

Version: Revision 1.5

Type: Local

Family: SCA Checks

Published: 1/23/2025

Updated: 7/2/2026

Supported Sensors: Tenable Cloud Security, Tenable Self-Hosted Container Security

Risk Information

VPR

Risk Factor: Medium

Score: 4.9

Percentile: 57.15

Vendor

Vendor Severity: Critical

CVSS v2

Risk Factor: Critical

Base Score: 10

Temporal Score: 7.8

Vector: CVSS2#AV:N/AC:L/Au:N/C:C/I:C/A:C

CVSS Score Source: CVE-2021-42392

CVSS v3

Risk Factor: Critical

Base Score: 9.8

Temporal Score: 8.8

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Temporal Vector: CVSS:3.0/E:P/RL:O/RC:C

Vulnerability Information

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 1/6/2022

Vulnerability Publication Date: 1/6/2022

Reference Information

CVE: CVE-2021-42392

cwe: CWE-502