#VU63829 Improper locking in MariaDB


Published: 2022-05-31 | Updated: 2022-08-04

Vulnerability identifier: #VU63829

Vulnerability risk: Low

CVSSv3.1: 4.8 [CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H/E:U/RL:O/RC:C]

CVE-ID: CVE-2022-31621

CWE-ID: CWE-667

Exploitation vector: Local

Exploit availability: No

Vulnerable software:
MariaDB
Operating systems & Components / Operating system package or component

Vendor: Debian

Description

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.

Mitigation
Install updates from vendor's website.

Vulnerable software versions

MariaDB: 10.0.0 - 10.0.38, 10.1.0 - 10.1.48, 10.2.0 - 10.2.39, 10.3.0 - 10.3.31, 10.4.0 - 10.4.21, 10.5.0 - 10.5.12, 10.6.0 - 10.6.4


External links
http://jira.mariadb.org/browse/MDEV-26574?filter=-2
http://github.com/MariaDB/server/commit/b1351c15946349f9daa7e5297fb2ac6f3139e4a8


Q & A

Can this vulnerability be exploited remotely?

No. This vulnerability can be exploited locally. The attacker should have authentication credentials and successfully authenticate on the system.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.


Latest bulletins with this vulnerability