CVE-2022-31621

Source
https://cve.org/CVERecord?id=CVE-2022-31621
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-31621.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2022-31621
Aliases
Downstream
Published
2022-05-25T21:15:08.573Z
Modified
2026-02-19T01:40:11.272693Z
Severity
  • 5.5 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
[none]
Details

MariaDB Server before 10.7 is vulnerable to Denial of Service. In extra/mariabackup/dsxbstream.cc, when an error occurs (streamctxt->destfile == NULL) while executing the method xbstreamopen, the held lock is not released correctly, which allows local users to trigger a denial of service due to the deadlock. Note: The vendor argues this is just an improper locking bug and not a vulnerability with adverse effects.

References

Affected packages

Git / github.com/mariadb/server

Affected versions

mariadb-10.*
mariadb-10.2.38
mariadb-10.2.39
mariadb-10.2.40
mariadb-10.6.0

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-31621.json"
vanir_signatures
[
    {
        "target": {
            "file": "extra/mariabackup/ds_xbstream.cc",
            "function": "xbstream_open"
        },
        "digest": {
            "length": 1007.0,
            "function_hash": "233059734358559211299288846435812335016"
        },
        "signature_type": "Function",
        "id": "CVE-2022-31621-658f461a",
        "source": "https://github.com/mariadb/server/commit/b1351c15946349f9daa7e5297fb2ac6f3139e4a8",
        "deprecated": false,
        "signature_version": "v1"
    },
    {
        "target": {
            "file": "extra/mariabackup/ds_xbstream.cc"
        },
        "digest": {
            "line_hashes": [
                "167890560750701249489896219944202062762",
                "268209796903344293356828286368688664967",
                "169090813138370863555020065431270480309",
                "337301460284207515514171628811139409466",
                "224285923433873354564135012931937624238",
                "12574186095871248775478581113365792649",
                "260444992083677766809408272545037606041",
                "186684390169372545720783369881229367474",
                "253902093367623374329398104205023669406",
                "245165555784708798433836005376697887396",
                "281626662535726214097872739291335754844"
            ],
            "threshold": 0.9
        },
        "signature_type": "Line",
        "id": "CVE-2022-31621-cc00cf28",
        "source": "https://github.com/mariadb/server/commit/b1351c15946349f9daa7e5297fb2ac6f3139e4a8",
        "deprecated": false,
        "signature_version": "v1"
    }
]