CVE-2022-31623
MEDIUMMariaDB < 10.2.42 - Denial of Service via Improper Lock Release in ds_compress.cc
Title source: llmDescription
MariaDB Server before 10.7 is vulnerable to Denial of Service. In extra/mariabackup/ds_compress.cc, when an error occurs (i.e., going to the err label) while executing the method create_worker_threads, the held lock thd->ctrl_mutex 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 (5)
Core 5
Core References
Patch, Third Party Advisory
https://github.com/MariaDB/server/commit/7c30bc38a588b22b01f11130cfe99e7f36accf94
Patch, Third Party Advisory
https://github.com/MariaDB/server/pull/1938
Third Party Advisory
https://security.netapp.com/advisory/ntap-20220707-0006/
Various Sources
https://jira.mariadb.org/browse/MDEV-26561
Various Sources
https://jira.mariadb.org/browse/MDEV-26574
Scores
CVSS v3
5.5
EPSS
0.0003
EPSS Percentile
9.9%
Attack Vector
LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
CISA SSVC
Vulnrichment
Exploitation
none
Automatable
no
Technical Impact
partial
Details
CWE
CWE-667
Status
published
Products (1)
mariadb/mariadb
< 10.2.42
Published
May 25, 2022
Tracked Since
Feb 18, 2026