This update contains an important security fix and is a recommended update for users who have a BigQuery or SparkSQL database connection in Metabase.

Security fix for BigQuery and SparkSQL

Metabase was recently informed of a potential SQL Injection vulnerability when connecting to Google BigQuery. While the vast majority of our database drivers utilize parameterized queries, our original implementation of BigQuery did not as it wasn’t supported at the time. In release v0.35.4, we have updated the BigQuery driver to support parameterized queries, which will prevent SQL injection attacks. As part of this release, we also determined that our SparkSQL driver was susceptible to the same issue and we have added additional escaping of user input to that driver as well.

Enhancements

Bug fixes

Upgrading

You can download a .jar of the release, or get the latest on Docker. Make sure to back up your Metabase database before you upgrade! Need help? Check out our upgrading instructions.

Docker image: metabase/metabase:v0.35.4
Download the JAR here: https://downloads.metabase.com/v0.35.4/metabase.jar

Notes

SHA-256 checksum for the 0.35.4 JAR:

a839b608d19701047aac6fcf2d61dc74d9734cf9488d69c9540ec148daccefd5