CVE-2021-42392

Aliases:GHSA-h376-j262-vhq6
Advisory lineage Upstream: 0 Downstream: 14
Modified
Published: 07 Jan 2022, 00:00
Last modified:04 Aug 2024, 03:30

Vulnerability Summary

Overall Risk (default)
critical
90/100
CVSS Score
10 HIGH
v2.0 (nvd)
EPSS Score
90.59% CRITICAL
91% probability -0.18%
KEV
Not listed
Ransomware
No reports
Public exploits
1 found
Dark Web
Not detected

Timeline

07 Jan 2022, 00:00
Published
Vulnerability first disclosed
04 Aug 2024, 03:30
Last Modified
Vulnerability information updated

Description

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.

CVSS Metrics

  • v3.1CRITICALScore: 9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
  • v2.0HIGHScore: 10AV:N/AC:L/Au:N/C:C/I:C/A:C

EPSS Trends

Current EPSS score: 90.59% Percentile: 100%

Techniques & Countermeasures

  • CWE-502Deserialization of Untrusted Data

    The product deserializes untrusted data without sufficiently ensuring that the resulting data will be valid.

Affected Systems

  • debiandebian_linux

    9.0 | 10.0 | 11.0

  • h2databaseh2

    ≥ 1.1.000, ≤ 2.0.204 | ≥ 1.1.000, < *

  • com.h2databaseh2

    ≥ 1.1.100, < 2.0.206

  • oraclecommunications_cloud_native_core_policy

    1.15.0

References (13)