CONTENTUM.COMA specialist. A plan. A result.

Vulnerabilities · 2021

CVE-2021-42392
H2database H2 vulnerability

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.

High priority: this vulnerability is rated critical and can be attacked over the network without a login.

Affected products

H2, Debian Linux, Communications Cloud Native Core Policy. The exact versions are in the references.

What to do now

  • Check your exposureFind out whether H2database H2 runs anywhere in your environment, including systems of suppliers.
  • UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
  • Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.

References

Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.