CVE-2022-39361: Metabase vulnerable to Remote Code Execution via H2
Metabase is data visualization software. Prior to versions 0.44.5, 1.44.5, 0.43.7, 1.43.7, 0.42.6, 1.42.6, 0.41.9, and 1.41.9, H2 (Sample Database) could allow Remote Code Execution (RCE), which can be abused by users able to write SQL queries on H2 databases. This issue is patched in versions 0.44.5, 1.44.5, 0.43.7, 1.43.7, 0.42.6, 1.42.6, 0.41.9, and 1.41.9. Metabase no longer allows DDL statements in H2 native queries.
Affected Software
Event History
Frequently Asked Questions
What is CVE-2022-39361?
CVE-2022-39361 is a vulnerability in Metabase data visualization software that allows remote code execution (RCE) on H2 databases.
How severe is CVE-2022-39361?
CVE-2022-39361 has a severity rating of 8.8 (high).
Which versions of Metabase are affected by CVE-2022-39361?
The following versions of Metabase are affected by CVE-2022-39361: 0.41.0 to 0.41.9, 0.42.0 to 0.42.6, 0.43.0 to 0.43.7, 0.44.0 to 0.44.5, 1.41.0 to 1.41.9, 1.42.0 to 1.42.6, 1.43.0 to 1.43.7, and 1.44.0 to 1.44.5.
How can CVE-2022-39361 be exploited?
CVE-2022-39361 can be exploited by users with the ability to write SQL queries on H2 databases.
How can I patch CVE-2022-39361?
To patch CVE-2022-39361, update Metabase to version 0.44.5, 1.44.5, 0.43.7, 1.43.7, 0.42.6, 1.42.6, 0.41.9, or 1.41.9.