CVE-2022-31622

Source
https://cve.org/CVERecord?id=CVE-2022-31622
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-31622.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2022-31622
Aliases
Downstream
Related
Published
2022-05-25T21:15:08.617Z
Modified
2026-02-17T00:33:03.099153Z
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/dscompress.cc, when an error occurs (pthreadcreate returns a nonzero value) while executing the method createworkerthreads, 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 ranges

Type
GIT
Repo
https://github.com/mariadb/server
Events

Affected versions

mariadb-10.*
mariadb-10.2.38
mariadb-10.2.39
mariadb-10.2.40
mariadb-10.2.41
mariadb-10.2.42
mariadb-10.3.29
mariadb-10.3.30
mariadb-10.3.31
mariadb-10.3.32
mariadb-10.3.33
mariadb-10.4.19
mariadb-10.4.20
mariadb-10.4.21
mariadb-10.4.22
mariadb-10.4.23
mariadb-10.5.10
mariadb-10.5.11
mariadb-10.5.12
mariadb-10.5.13
mariadb-10.5.14
mariadb-10.6.0
mariadb-10.6.1
mariadb-10.6.2
mariadb-10.6.3
mariadb-10.6.4
mariadb-10.6.5
mariadb-10.6.6
mariadb-10.7.1

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-31622.json"
vanir_signatures
[
    {
        "source": "https://github.com/mariadb/server/commit/e1eb39a446c30b8459c39fd7f2ee1c55a36e97d2",
        "digest": {
            "length": 1089.0,
            "function_hash": "34880256977001026652841198765112081276"
        },
        "id": "CVE-2022-31622-3bbab28d",
        "deprecated": false,
        "signature_type": "Function",
        "signature_version": "v1",
        "target": {
            "file": "extra/mariabackup/ds_compress.cc",
            "function": "create_worker_threads"
        }
    },
    {
        "source": "https://github.com/mariadb/server/commit/e1eb39a446c30b8459c39fd7f2ee1c55a36e97d2",
        "digest": {
            "line_hashes": [
                "196104405052072975430072880005732981250",
                "265736355112068905119830254268930035987",
                "279526020539492955557437763953817736959",
                "93008397167680912230812322073889978078"
            ],
            "threshold": 0.9
        },
        "id": "CVE-2022-31622-977866a5",
        "deprecated": false,
        "signature_type": "Line",
        "signature_version": "v1",
        "target": {
            "file": "extra/mariabackup/ds_compress.cc"
        }
    }
]