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.
{
"isDisputed": true
}[
{
"digest": {
"length": 1089.0,
"function_hash": "34880256977001026652841198765112081276"
},
"source": "https://github.com/mariadb/server/commit/e1eb39a446c30b8459c39fd7f2ee1c55a36e97d2",
"signature_version": "v1",
"deprecated": false,
"target": {
"file": "extra/mariabackup/ds_compress.cc",
"function": "create_worker_threads"
},
"signature_type": "Function",
"id": "CVE-2022-31622-3bbab28d"
},
{
"digest": {
"threshold": 0.9,
"line_hashes": [
"196104405052072975430072880005732981250",
"265736355112068905119830254268930035987",
"279526020539492955557437763953817736959",
"93008397167680912230812322073889978078"
]
},
"source": "https://github.com/mariadb/server/commit/e1eb39a446c30b8459c39fd7f2ee1c55a36e97d2",
"signature_version": "v1",
"deprecated": false,
"target": {
"file": "extra/mariabackup/ds_compress.cc"
},
"signature_type": "Line",
"id": "CVE-2022-31622-977866a5"
}
]