title: Metabase vulnerable to Remote Code Execution via H2
description: 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.
problem types: CWE-20: Improper Input Validation
affected:
{
vendor: metabase
product: metabase
versions:
version: < 0.41.9, status: affected
version: >= 0.42.0, < 0.42.6, status: affected
version: >= 0.43.0, < 0.43.7, status: affected
version: >= 0.44.0, < 0.44.5, status: affected
version: >= 1.0.0, < 1.41.9, status: affected
version: >= 1.42.0, < 1.42.6, status: affected
version: >= 1.43.0, < 1.43.7, status: affected
version: >= 1.44.0, < 1.44.5, status: affected
}
metrics:
cvssV3_1: [
version: 3.1
vectorString: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
attackVector: NETWORK
attackComplexity: LOW
privilegesRequired: LOW
userInteraction: NONE
scope: UNCHANGED
confidentialityImpact: HIGH
integrityImpact: HIGH
availabilityImpact: HIGH
baseScore: 8.8
baseSeverity: HIGH
]