CVE-2021-42392 is a critical-severity flaw (CVSS 9.8) affecting h2, debian linux, communications cloud native core policy. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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.
Verify at the official sourceNVD · CVE Program · Report a problem with this page Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2021-42392?
h2: upgrade to newer than 2.0.204; debian linux: mitigate or apply the listed mitigation; communications cloud native core policy: downgrade or apply the listed mitigation. Exact commands for each OS are on this page.
Is CVE-2021-42392 being exploited?
CVE-2021-42392 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2021-42392 affect?
CVE-2021-42392 affects h2, debian linux, communications cloud native core policy. Severity is critical (CVSS 9.8). 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 c
How urgent is CVE-2021-42392?
Priority 74/100. Critical severity; EPSS top 1%: very likely to be exploited; Public exploit reference; Remotely exploitable, no login, no user action; On your watchlist
CVE-2023-26964HIGH 7.5DOWNGRADEDOWNGRADE An issue was discovered in hyper v0.13.7
CVE-2022-45868HIGH 8.4UPGRADE The web-based admin console in H2 Database Engine before 2.2.220 can be started via the CLI with the argument
CVE-2022-23221CRITICAL 9.8UPGRADEMITIGATE H2 Console before 2.1.210 allows remote attackers to execute arbitrary code via a jdbc:h2:mem JDBC URL contain
CVE-2021-23463HIGH 8.1UPGRADE The package com.h2database:h2 from 1.4.198 and before 2.0.202 are vulnerable to XML External Entity (XXE) Inje
CVE-2018-14335MEDIUM 6.5DOWNGRADE An issue was discovered in H2 1.4.197