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)
| Artifact | Affected versions | Fixed 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.
| Depth | Dependent 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
- org.sonatype.plugins » nexus-staging-maven-plugin36,701 usages
- org.wso2.carbon » org.wso2.carbon.core1,598 usages
- org.owasp » dependency-check-maven1,289 usages
- org.mybatis.spring.boot » mybatis-spring-boot-starter1,222 usages
- org.wso2.carbon » org.wso2.carbon.ui803 usages
- org.wso2.carbon » org.wso2.carbon.registry.core760 usages
- com.atlassian.confluence » confluence724 usages
- org.dbunit » dbunit596 usages
- com.atlassian.jira » jira-core554 usages
- org.openmrs.test » openmrs-test514 usages
- org.wso2.carbon » org.wso2.carbon.user.core377 usages
- org.wildfly » wildfly-feature-pack372 usages
- org.geoserver » gs-main299 usages
- org.finos.legend.engine » legend-engine-pure-code-compiled-core286 usages
- org.springframework.batch » spring-batch-core271 usages
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.
References
- Advisoryhttps://nvd.nist.gov/vuln/detail/CVE-2022-23221
- Packagehttps://github.com/h2database/h2database
- Webhttps://github.com/h2database/h2database/releases/tag/version-2.1.210
- Webhttps://github.com/h2database/h2database/security/advisories
- Webhttps://lists.debian.org/debian-lts-announce/2022/02/msg00017.html
- Webhttps://security.netapp.com/advisory/ntap-20230818-0011
- Webhttps://twitter.com/d0nkey_man/status/1483824727936450564
- Webhttps://www.debian.org/security/2022/dsa-5076
- Webhttps://www.oracle.com/security-alerts/cpuapr2022.html
- Webhttps://www.oracle.com/security-alerts/cpujul2022.html
- Webhttp://packetstormsecurity.com/files/165676/H2-Database-Console-Remote-Code-Execution.html
- Webhttp://seclists.org/fulldisclosure/2022/Jan/39
