Improper locking in MariaDB - CVE-2022-31621

 

Improper locking in MariaDB - CVE-2022-31621

Published: May 31, 2022 / Updated: August 4, 2022


Vulnerability identifier: #VU63829
CSH Severity: Low
CVSS v4: 6.8 [CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2022-31621
CWE-ID: CWE-667
Exploitation vector: Local access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a local user to perform a denial of service attack (DoS) on the target system.

The vulnerability exists due to double-locking error in the extra/mariabackup/ds_xbstream.cc. A local user can exploit this vulnerability to cause a deadlock, resulting in a denial of service condition.


Affected software

MariaDB
mariadb
Gentoo Linux
Fedora

How to mitigate CVE-2022-31621

Install updates from vendor's website.

MariaDB - addressed in versions 10.2.41, 10.3.32, 10.4.22, 10.5.13, 10.6.5, 10.7.1
mariadb - addressed in versions 10.3-3520220716094844.f27b74a8, 10.4-3520220717092835.f27b74a8

External References

Related Security Bulletins