CVE Vulnerabilities

CVE-2022-24854

Externally Controlled Reference to a Resource in Another Sphere

Published: Apr 14, 2022 | Modified: Apr 22, 2022
CVSS 3.x
8.8
HIGH
Source:
NVD
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS 2.x
6.5 MEDIUM
AV:N/AC:L/Au:S/C:P/I:P/A:P
RedHat/V2
RedHat/V3
Ubuntu

Metabase is an open source business intelligence and analytics application. SQLite has an FDW-like feature called ATTACH DATABASE, which allows connecting multiple SQLite databases via the initial connection. If the attacker has SQL permissions to at least one SQLite database, then it can attach this database to a second database, and then it can query across all the tables. To be able to do that the attacker also needs to know the file path to the second database. Users are advised to upgrade as soon as possible. If youre unable to upgrade, you can modify your SQLIte connection strings to contain the url argument ?limit_attached=0, which will disallow making connections to other SQLite databases. Only users making use of SQLite are affected.

Weakness

The product uses an externally controlled name or reference that resolves to a resource that is outside of the intended control sphere.

Affected Software

Name Vendor Start Version End Version
Metabase Metabase 0.41.0 (including) 0.41.7 (excluding)
Metabase Metabase 0.42.0 (including) 0.42.4 (excluding)
Metabase Metabase 1.41.0 (including) 1.41.7 (excluding)
Metabase Metabase 1.42.0 (including) 1.42.4 (excluding)

References