ADVISORIES

Vulnerability

CVE-2021-42392

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.

15 advisories report this vulnerability, across 4 ecosystems.

Critical severity All Red Hat 8Debian 3Ubuntu 3Maven 1

Advisories

  • DEBIAN-CVE-2021-42392

    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…

    CVE-2021-42392 Debian Updated 23 October 2026
  • DLA-2923-1

    h2database - security update

    CVE-2021-42392CVE-2022-23221 Debian Updated 20 November 2026
  • DSA-5076-1

    h2database - security update

    CVE-2021-42392CVE-2022-23221 Debian Updated 20 November 2026
  • GHSA-h376-j262-vhq6

    RCE in H2 Console

    Critical CVE-2021-42392 Maven Updated 8 July 2026
  • RHSA-2022:4918

    Red Hat Security Advisory: Red Hat JBoss Enterprise Application Platform 7.4.5 security update on RHEL 7

    CVE-2020-36518CVE-2021-37136CVE-2021-37137CVE-2021-42392 Red Hat Updated 23 November 2026
  • RHSA-2022:4919

    Red Hat Security Advisory: Red Hat JBoss Enterprise Application Platform 7.4.5 security update on RHEL 8

    CVE-2020-36518CVE-2021-37136CVE-2021-37137CVE-2021-42392 Red Hat Updated 23 November 2026
  • RHSA-2022:6782

    Red Hat Security Advisory: Red Hat Single Sign-On 7.5.3 security update on RHEL 7

    CVE-2020-36518CVE-2021-42392CVE-2021-43797CVE-2022-0084 Red Hat Updated 13 November 2026
  • RHSA-2022:6783

    Red Hat Security Advisory: Red Hat Single Sign-On 7.5.3 security update on RHEL 8

    CVE-2020-36518CVE-2021-42392CVE-2021-43797CVE-2022-0084 Red Hat Updated 13 November 2026
  • RHSA-2022:7409

    Red Hat Security Advisory: Red Hat Single Sign-On 7.6.1 security update on RHEL 7

    CVE-2020-36518CVE-2021-42392CVE-2021-42575CVE-2021-43797 Red Hat Updated 13 November 2026
  • RHSA-2022:7410

    Red Hat Security Advisory: Red Hat Single Sign-On 7.6.1 security update on RHEL 8

    CVE-2020-36518CVE-2021-42392CVE-2021-42575CVE-2021-43797 Red Hat Updated 13 November 2026
  • RHSA-2022:7411

    Red Hat Security Advisory: Red Hat Single Sign-On 7.6.1 security update on RHEL 9

    CVE-2020-36518CVE-2021-42392CVE-2021-42575CVE-2021-43797 Red Hat Updated 13 November 2026
  • RHSA-2025:1747

    Red Hat Security Advisory: Red Hat JBoss Enterprise Application Platform 7.3.12 security update

    Known exploited CVE-2020-13936CVE-2021-42392CVE-2021-44228CVE-2021-44906 Red Hat Updated 23 November 2026
  • UBUNTU-CVE-2021-42392

    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…

    CVE-2021-42392 Ubuntu Updated 4 February 2026
  • USN-5365-1

    h2database vulnerabilities

    CVE-2021-42392CVE-2022-23221 Ubuntu Updated 10 February 2026
  • USN-6834-1

    h2database vulnerabilities

    CVE-2021-42392CVE-2022-23221 Ubuntu Updated 25 June 2026

References