CVEvulnerability
CVE-2022-24854
8.8 HIGH
Official page ↗
- Status
- Modified
- Published
- 2022-04-14
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.1 ([email protected])
- 8.0 HIGH — CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:H
- CVSS 3.1 ([email protected])
- 8.8 HIGH — CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- CVSS 2.0 ([email protected])
- 6.5 MEDIUM — AV:N/AC:L/Au:S/C:P/I:P/A:P
- Weaknesses
- CWE-610
Description
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 you're 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.
Affected configurations
• metabase metabase (>= 0.41.0 < 0.41.7)
• metabase metabase (>= 0.42.0 < 0.42.4)
• metabase metabase (>= 1.41.0 < 1.41.7)
• metabase metabase (>= 1.42.0 < 1.42.4)
Related
Weakness · CWE (1)
- CWE-610 Externally Controlled Reference to a Resource in Another Sphere weakness
References
- https://github.com/metabase/metabase/security/advisories/GHSA-vm79-xvmp-7329 Release Notes, Third Party Advisory
- https://www.sqlite.org/lang_attach.html Third Party Advisory
- https://github.com/metabase/metabase/security/advisories/GHSA-vm79-xvmp-7329 Release Notes, Third Party Advisory
- https://www.sqlite.org/lang_attach.html Third Party Advisory