Vulnerability Details : CVE-2022-31622
MariaDB Server before 10.7 is vulnerable to Denial of Service. In extra/mariabackup/ds_compress.cc, when an error occurs (pthread_create returns a nonzero value) while executing the method create_worker_threads, 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.
Vulnerability category: Denial of service
Products affected by CVE-2022-31622
- 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-31622
0.04%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 6 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2022-31622
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-31622
-
The product does not release or incorrectly releases a resource before it is made available for re-use.Assigned by: nvd@nist.gov (Primary)
-
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-31622
-
https://jira.mariadb.org/browse/MDEV-26561?filter=-2
Log in - JiraIssue Tracking;Permissions Required;Third Party Advisory
-
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://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/commit/e1eb39a446c30b8459c39fd7f2ee1c55a36e97d2
MDEV-26561 Fix a bug due to unreleased lock · MariaDB/server@e1eb39a · GitHubPatch;Third Party Advisory
Jump to