Skip to content
Emerging threatsCritical

CVE-2021-42392H2 Insecure Deserialization

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.

Published Jan 7, 2022 · Updated Nov 24, 2026 · Also known as CLSA-2026-1787636864, DEBIAN-CVE-2021-42392, DLA-2923-1, DSA-5076-1, GHSA-h376-j262-vhq6, TR-22-0021, UBUNTU-CVE-2021-42392, USN-5365-1, USN-6834-1

Key Facts

Patch immediately
  • CVE-2021-42392 is a critical-severity vulnerability (CVSS 9.8 v3.1) affecting H2 (H2database), Communications Cloud Native Core Policy (Oracle), Debian Linux and 18 more products.
  • It is not listed in any known-exploited vulnerabilities catalog. No public exploit code is known.
  • EPSS estimates a 83% probability of exploitation in the next 30 days.
  • Fixed versions are available, including com.h2database:h2 1.3.176-tuxcare.1, com.h2database:h2 1.4.200-tuxcare.1, com.h2database:h2 2.0.206.
  • Brandefense priority: patch immediately, because it is very likely to be exploited soon.

Scores

CVSS v3.1

9.8

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

EPSS (30-day exploit likelihood)

83%

Higher than 99.6% of all scored CVEs

Exploit maturity

None known

ATLAS score

39/100

Publication score, see How it works

Exploitation Verdict

KEV listed

Not listed

Federal due date

None

No federal due date

Ransomware use

Not reported

Attributed actors

None named

Exploit & Defence Guidance

Exploit maturity

None known

Public exploit code

0

Proof-of-concept links

In-the-wild evidence

0

Reports of active use

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.

Affected Products

44 affected entries in total
ProductAffected versionsFixed in
H2H2database>= 1.1.0002.0.204
Communications Cloud Native Core PolicyOracle1.15.0n/a
Debian LinuxDebian10.0, 11.0, 9.0n/a
h2databasedebianSee advisory1.4.197-4+deb11u1
com.h2database:h2maven>= 1.1.1002.0.206
16 more affected products in the full CVE brief

Patched Releases

com.h2database:h2

1.3.176-tuxcare.1, 1.4.200-tuxcare.1, 2.0.206

eap7-h2database

0:1.4.197-2.redhat_00004.1.el7eap, 0:1.4.197-2.redhat_00004.1.el8eap

eap7-hal-console

0:3.2.17-1.Final_redhat_00001.1.el7eap

eap7-jackson-annotations

0:2.10.4-2.redhat_00004.1.el7eap

eap7-jackson-core

0:2.10.4-2.redhat_00004.1.el7eap

eap7-jackson-databind

0:2.10.4-4.redhat_00004.1.el7eap

eap7-jackson-jaxrs-providers

0:2.10.4-2.redhat_00004.1.el7eap

eap7-jackson-modules-base

0:2.10.4-4.redhat_00004.1.el7eap

eap7-jackson-modules-java8

0:2.10.4-2.redhat_00004.1.el7eap

eap7-jettison

0:1.5.2-2.redhat_00002.1.el7eap

eap7-netty

0:4.1.63-4.Final_redhat_00002.1.el7eap

eap7-resteasy

0:3.11.6-1.Final_redhat_00001.1.el7eap

eap7-snakeyaml

0:1.33.0-1.SP1_redhat_00001.1.el7eap

eap7-wildfly

0:7.3.12-3.GA_redhat_00002.1.el7eap

h2database

1.4.191-1ubuntu0.1~esm1, 1.4.193-1+deb9u1, 1.4.196-2ubuntu0.1~esm1, 1.4.197-4+deb10u1, 1.4.197-4+deb10u1build0.20.04.1, 1.4.197-4+deb11u1, 2.1.210-1, 2.1.210+really1.4.197-1

H2

<=2.0.204

rh-sso7

0:1-5.el9sso

rh-sso7-javapackages-tools

0:6.0.0-7.el9sso

rh-sso7-keycloak

0:15.0.8-1.redhat_00001.1.el8sso, 0:18.0.3-1.redhat_00001.1.el7sso, 0:18.0.3-1.redhat_00001.1.el9sso

Timeline

  1. Publicly disclosed

    Jan 7, 2022

  2. Last updated

    Nov 24, 2026

Weakness Type

  • CWE-502 Deserialization of Untrusted Data

References

15 more references in the full CVE brief

FAQ

Common Questions.

Is CVE-2021-42392 On Your Attack Surface?

Brandefense matches it against the products discovered on your perimeter and opens a finding the day a CVE like this is listed.

Request A Demo

Figures as of Dec 4, 2026. Compiled by Brandefense technologies from public vulnerability catalogs; scoring as described in How it works.

To report an error, contact Brandefense.