DEBIAN-CVE-2021-42392

Source
https://security-tracker.debian.org/tracker/CVE-2021-42392
Import Source
https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2021-42392.json
JSON Data
https://api.osv.dev/v1/vulns/DEBIAN-CVE-2021-42392
Upstream
Published
2022-01-10T14:10:23Z
Modified
2025-09-30T05:16:27.081985Z
Severity
  • 9.8 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

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.

References

Affected packages

Debian:11 / h2database

Package

Name
h2database
Purl
pkg:deb/debian/h2database?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.4.197-4+deb11u1

Affected versions

1.*

1.4.197-4

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:12 / h2database

Package

Name
h2database
Purl
pkg:deb/debian/h2database?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.1.210-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:13 / h2database

Package

Name
h2database
Purl
pkg:deb/debian/h2database?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.1.210-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:14 / h2database

Package

Name
h2database
Purl
pkg:deb/debian/h2database?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.1.210-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}