Lucene search

K
cve[email protected]CVE-2021-42392
HistoryJan 10, 2022 - 2:10 p.m.

CVE-2021-42392

2022-01-1014:10:23
CWE-502
web.nvd.nist.gov
175
4
cve
2021
42392
org.h2
rce
jndi
ldap
rmi
remote code execution
h2 console
unauthenticated

9.8 High

CVSS3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

HIGH

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

9.6 High

AI Score

Confidence

High

10 High

CVSS2

Access Vector

Access Complexity

Authentication

NONE

Confidentiality Impact

COMPLETE

Integrity Impact

COMPLETE

Availability Impact

COMPLETE

AV:N/AC:L/Au:N/C:C/I:C/A:C

0.518 Medium

EPSS

Percentile

97.6%

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.

Affected configurations

NVD
Node
h2databaseh2Range1.1.0002.0.204
Node
debiandebian_linuxMatch9.0
OR
debiandebian_linuxMatch10.0
OR
debiandebian_linuxMatch11.0
Node
oraclecommunications_cloud_native_core_policyMatch1.15.0
CPENameOperatorVersion
h2database:h2h2database h2le2.0.204

CNA Affected

[
  {
    "vendor": "h2database",
    "product": "h2",
    "versions": [
      {
        "version": "1.1.000",
        "status": "affected",
        "lessThan": "*",
        "versionType": "custom"
      }
    ]
  }
]

Social References

More

9.8 High

CVSS3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

HIGH

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

9.6 High

AI Score

Confidence

High

10 High

CVSS2

Access Vector

Access Complexity

Authentication

NONE

Confidentiality Impact

COMPLETE

Integrity Impact

COMPLETE

Availability Impact

COMPLETE

AV:N/AC:L/Au:N/C:C/I:C/A:C

0.518 Medium

EPSS

Percentile

97.6%