Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2021-42392

published

h2: Remote Code Execution in Console

Title from Red Hat VEX

Published
07 Jan 2022, 00:00:00 UTC
Updated
04 Aug 2024, 03:30:38 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
h2database — h21.1.000 and later Affected Not stated JFROG
Debian bullseye h2database Advisory build 1.4.197-4+deb11u1 DSA-5076-1
Ubuntu bionic h2database Advisory build 1.4.196-2ubuntu0.1~esm1 USN-6834-1
Debian buster h2database Advisory build 1.4.197-4+deb10u1 DSA-5076-1
Debian stretch h2database Advisory build 1.4.193-1+deb9u1 DLA-2923-1
Ubuntu bionic libh2-java Advisory build 1.4.196-2ubuntu0.1~esm1 USN-6834-1
Ubuntu focal h2database Advisory build 1.4.197-4+deb10u1build0.20.04.1 USN-5365-1
Ubuntu focal libh2-java Advisory build 1.4.197-4+deb10u1build0.20.04.1 USN-5365-1
Show 2 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Ubuntu xenial h2database Advisory build 1.4.191-1ubuntu0.1~esm1 USN-6834-1
Ubuntu xenial libh2-java Advisory build 1.4.191-1ubuntu0.1~esm1 USN-6834-1

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.

en · JFROG · cna

Vendor advisories explicitly linked to this CVE.

6

Assessment

CVSS risk assessment and additional context for this vulnerability.

No normalized assessments.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
h2database h2 1.1.000 and later (affected · custom) JFROG · cna

Weaknesses

1
  • CWE-502 (JFROG · cna)

References

7

Provider assertions

2

JFROG · cna

CVE · adp

CVE Program Container

Provenance

Schema
5.1
Searchable
yes
Content hash
402e01a9efa00a60cbc439f03223337c8c1f9ff80737ac487bcd0a7d868ec5bd
Ingested
23 Sep 2026, 07:56:21 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected