CVE-2022-24854

Source
https://cve.org/CVERecord?id=CVE-2022-24854
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-24854.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2022-24854
Aliases
  • GHSA-vm79-xvmp-7329
Published
2022-04-14T21:40:11Z
Modified
2026-04-10T04:45:36.106018Z
Severity
  • 8.0 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:H CVSS Calculator
Summary
Database bypassing any permissions in Metabase via SQlite attach
Details

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.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/24xxx/CVE-2022-24854.json",
    "cwe_ids": [
        "CWE-610"
    ],
    "cna_assigner": "GitHub_M"
}
References

Affected packages

Git / github.com/metabase/metabase

Affected ranges

Type
GIT
Repo
https://github.com/metabase/metabase
Events
Database specific
{
    "versions": [
        {
            "introduced": "1.41.0"
        },
        {
            "fixed": "1.41.7"
        },
        {
            "introduced": "0.41.0"
        },
        {
            "fixed": "0.41.7"
        }
    ]
}
Type
GIT
Repo
https://github.com/metabase/metabase
Events
Database specific
{
    "versions": [
        {
            "introduced": "1.42.0"
        },
        {
            "fixed": "1.42.4"
        },
        {
            "introduced": "0.42.0"
        },
        {
            "fixed": "0.42.4"
        }
    ]
}

Affected versions

v0.*
v0.41.0
v0.41.1
v0.41.2
v0.41.3
v0.41.3.1
v0.41.5
v0.41.6
v0.42.0
v0.42.1
v0.42.2
v0.42.3
v1.*
v1.41.0
v1.41.1
v1.41.2
v1.41.3
v1.41.3.1
v1.41.5
v1.41.6
v1.42.0
v1.42.1
v1.42.2
v1.42.3

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-24854.json"