PT-2021-7212 · Mariadb+6 · Mariadb Server+6
Published
2021-09-07
·
Updated
2025-06-10
·
CVE-2022-31623
CVSS v3.1
7.8
High
| Vector | AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Name of the Vulnerable Software and Affected Versions
MariaDB Server versions prior to 10.7
Description
The issue is related to a denial of service vulnerability. In the file extra/mariabackup/ds compress.cc, when an error occurs while executing the
create worker threads method, the held lock thd->ctrl mutex is not released correctly, allowing local users to trigger a denial of service due to a deadlock. The vendor considers this an improper locking bug rather than a vulnerability with adverse effects.Recommendations
For MariaDB Server versions prior to 10.7, update to version 10.7 or later to resolve the issue. As a temporary workaround, consider disabling the
create worker threads method in the affected file until a patch is available. Restrict access to the extra/mariabackup/ds compress.cc file to minimize the risk of exploitation.Exploit
Fix
DoS
Improper Resource Release
Improper Locking
Found an issue in the description? Have something to add? Feel free to write us 👾
Related Identifiers
Affected Products
Alt Linux
Almalinux
Astra Linux
Centos
Mariadb Server
Red Hat
Rocky Linux