Improper Resource Shutdown or Release in MariaDB - CVE-2022-31624
Published: May 31, 2022
Vulnerability identifier: #VU63828
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-31624
CWE-ID: CWE-404
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.
The vulnerability exists due to improper release of held lock lock_bigbuffer when processing plugin/server_audit/server_audit.c method log_statement_ex. A local user can perform a denial of service attack due to the deadlock.
Affected software
MariaDB
mariadb
mariadb105
Gentoo Linux
Amazon Linux AMI
Fedora
mariadb
mariadb105
Gentoo Linux
Amazon Linux AMI
Fedora
How to mitigate CVE-2022-31624
Install updates from vendor's website.
MariaDB - update to 10.7.1
mariadb - addressed in versions 10.3-3520220716094844.f27b74a8, 10.4-3520220717092835.f27b74a8
mariadb105 - update to 10.5.16-1
mariadb - addressed in versions 10.3-3520220716094844.f27b74a8, 10.4-3520220717092835.f27b74a8
mariadb105 - update to 10.5.16-1