Remote Code Execution (RCE) Affecting com.h2database:h2 package, versions [,2.1.210)


Severity

Recommended
0.0
critical
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of concept
EPSS
19.81% (97th 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 Remote Code Execution (RCE) vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JAVA-COMH2DATABASE-2348247
  • published20 Jan 2022
  • disclosed20 Jan 2022
  • creditUnknown

Introduced: 20 Jan 2022

CVE-2022-23221  (opens in a new tab)
CWE-94  (opens in a new tab)

How to fix?

Upgrade com.h2database:h2 to version 2.1.210 or higher.

Overview

com.h2database:h2 is a database engine

Affected versions of this package are vulnerable to Remote Code Execution (RCE) via a jdbc:h2:mem JDBC URL containing the IGNORE_UNKNOWN_SETTINGS=TRUE;FORBID_CREATION=FALSE;INIT=RUNSCRIPT substring.

CVSS Scores

version 3.1