SB2022040617 - Remote code execution in H2 database



SB2022040617 - Remote code execution in H2 database

Published: April 6, 2022 Updated: July 10, 2022

Security Bulletin ID SB2022040617
Severity
Critical
Patch available
YES
Number of vulnerabilities 1
Exploitation vector Remote access
Highest impact Code execution

Breakdown by Severity

Critical 100%
  • Low
  • Medium
  • High
  • Critical

Description

This security bulletin contains information about 1 security vulnerability.


1) Deserialization of Untrusted Data (CVE-ID: CVE-2021-42392)

The vulnerability allows a remote attacker to execute arbitrary code on the target system.

The vulnerability exists due to insecure input validation when processing serialized data within the org.h2.util.JdbcUtils.getConnection method. A remote attacker can pass a JNDI driver name and a URL leading to a LDAP or RMI servers and execute arbitrary code on the system.


Remediation

Install update from vendor's website.