CRITICAL 9.8

CVE-2022-23221

Arbitrary code execution in H2 Console

Description

H2 Console before 2.1.210 allows remote attackers to execute arbitrary code via a jdbc:h2:mem JDBC URL containing the IGNORE_UNKNOWN_SETTINGS=TRUE;FORBID_CREATION=FALSE;INIT=RUNSCRIPT substring, a different vulnerability than CVE-2021-42392.

Affected Maven artifacts (1)

ArtifactAffected versionsFixed in
com.h2database » h2
< 2.1.210
2.1.210

Blast radius

1affected artifacts
152affected versions
13,534dependent artifacts (est.)
759,272dependent versions

60% of the dependent artifacts (8,162) still pull an affected version in their latest release.

DepthDependent versions
Direct
94,712
2 hops
334,301
3 hops
179,270
4 hops
97,724
5 hops
38,829
6 hops
14,436

Most used dependents

Computed from the dependency graph of build 20261124.0621 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.