Vulnerability Details : CVE-2022-31623
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.
Vulnerability category: Denial of service
Products affected by CVE-2022-31623
- cpe:2.3:a:mariadb:mariadb:*:*:*:*:*:*:*:*
- cpe:2.3:a:mariadb:mariadb:*:*:*:*:*:*:*:*
- cpe:2.3:a:mariadb:mariadb:*:*:*:*:*:*:*:*
- cpe:2.3:a:mariadb:mariadb:*:*:*:*:*:*:*:*
- cpe:2.3:a:mariadb:mariadb:*:*:*:*:*:*:*:*
- cpe:2.3:a:mariadb:mariadb:*:*:*:*:*:*:*:*
Exploit prediction scoring system (EPSS) score for CVE-2022-31623
0.02%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 3 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2022-31623
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
2.1
|
LOW | AV:L/AC:L/Au:N/C:N/I:N/A:P |
3.9
|
2.9
|
NIST | |
5.5
|
MEDIUM | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
1.8
|
3.6
|
NIST |
CWE ids for CVE-2022-31623
-
The product does not properly acquire or release a lock on a resource, leading to unexpected resource state changes and behaviors.Assigned by: nvd@nist.gov (Primary)
References for CVE-2022-31623
-
https://jira.mariadb.org/browse/MDEV-26561
[MDEV-26561] An improper locking bug due to the unreleased lock - Jira
-
https://security.netapp.com/advisory/ntap-20220707-0006/
June 2022 MariaDB Vulnerabilities in NetApp Products | NetApp Product SecurityThird Party Advisory
-
https://github.com/MariaDB/server/commit/7c30bc38a588b22b01f11130cfe99e7f36accf94
MDEV-26561 mariabackup release locks · MariaDB/server@7c30bc3 · GitHubPatch;Third Party Advisory
-
https://jira.mariadb.org/browse/MDEV-26574
[MDEV-26574] An improper locking bug due to unreleased lock in the ds_xbstream.cc - Jira
-
https://github.com/MariaDB/server/pull/1938
MDEV-26561 Fix a bug due to unreleased lock by ryancaicse · Pull Request #1938 · MariaDB/server · GitHubPatch;Third Party Advisory
Jump to