Approved changes feed: RSS · Atom

cpe:2.3:a:h2database:h2:*:*:*:*:*:*:*:*

part: a version: * update: *

VendorH2Database (f2cf7658-7cf4-5c24-bb3b-7f399dd4e38a)
ProductH2 (1c3d2876-2e83-5ec9-b0ba-c52e73304a56)
Edition*
Language*
Software edition*
Target software*
Target hardware*
Other*
NotesImported from purl2cpe mapping

PURL mappings

PURLSourceLast updated
pkg:deb/debian/h2database purl2cpe 2026-06-01 10:15:25.980425
pkg:deb/ubuntu/h2database purl2cpe 2026-06-01 10:15:25.980427
pkg:github/h2database/h2database purl2cpe 2026-06-01 10:15:25.980429
pkg:maven/com.h2database/h2 purl2cpe 2026-06-01 10:15:25.980430
pkg:rpm/opensuse/h2database purl2cpe 2026-06-01 10:15:25.980431

Vulnerability references

IdentifiercpeApplicabilitySubmitteddb.gcve.eu detailsRationale
CVE:CVE-2022-45868 vulnerable 2026-06-08 05:50:37.426744 Details available
HIGH (8.4)
The web-based admin console in H2 Database Engine before 2.2.220 can be started via the CLI with the argument -webAdminPassword, which allows the user to specify the password in cleartext for the web admin console. Consequently, a local user (or an attacker that has obtained local access through some means) would be able to discover the password by listing processes and their arguments. NOTE: the vendor states "This is not a vulnerability of H2 Console ... Passwords should never be passed on the command line and every qualified DBA or system administrator is expected to know that." Nonetheless, the issue was fixed in 2.2.220.
Published: 2022-11-23T00:00:00.000Z
Updated: 2024-11-19T20:58:46.087Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2022-23221 vulnerable 2026-06-08 05:40:56.618080 Details available
H2 Console before 2.1.210 allows remote attackers to execute arbitrary code via a jdbc:h2:mem JDBC URL containing the IGNORE_UNKNOWN_SETTINGS=TRUE;FORBID_CREATION=FALSE;INIT=RUNSCRIPT substring, a different vulnerability than CVE-2021-42392.
Published: 2022-01-19T00:00:00.000Z
Updated: 2025-05-05T16:27:07.353Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2021-42392 vulnerable 2026-06-08 05:35:22.267906 Details available
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.
Published: 2022-01-07T00:00:00.000Z
Updated: 2024-08-04T03:30:38.345Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2021-23463 vulnerable 2026-06-08 05:30:02.970037 XML External Entity (XXE) Injection
HIGH (8.1)
The package com.h2database:h2 from 1.4.198 and before 2.0.202 are vulnerable to XML External Entity (XXE) Injection via the org.h2.jdbc.JdbcSQLXML class object, when it receives parsed string data from org.h2.jdbc.JdbcResultSet.getSQLXML() method. If it executes the getSource() method when the parameter is DOMSource.class it will trigger the vulnerability.
Published: 2021-12-10T20:00:14.594Z
Updated: 2024-09-17T03:47:43.105Z
Reference links
Imported from gcve-enriched-dumps CVE data

Contribute

You can submit an edit proposal for this CPE entry or suggest a related product/vendor addition using the action button above.