Deserialization of Untrusted Data Affecting h2database package, versions <1.4.197-4+deb11u1


Severity

Recommended
0.0
critical
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
44.51% (98th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Deserialization of Untrusted Data vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-DEBIAN11-H2DATABASE-2342122
  • published17 Jan 2022
  • disclosed10 Jan 2022

Introduced: 10 Jan 2022

CVE-2021-42392  (opens in a new tab)
CWE-502  (opens in a new tab)

How to fix?

Upgrade Debian:11 h2database to version 1.4.197-4+deb11u1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream h2database package and not the h2database package as distributed by Debian. See How to fix? for Debian:11 relevant fixed versions and status.

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.

CVSS Scores

version 3.1