PT-2022-6934 · Mariadb+7 · Mariadb+8

Ryan

·

Published

2022-06-01

·

Updated

2025-06-10

·

CVE-2022-38791

CVSS v3.1

5.5

Medium

VectorAV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Name of the Vulnerable Software and Affected Versions MariaDB versions prior to 10.9.2
Description The issue is caused by errors in resource locking in the ds compress.cc component of the MariaDB database management system. Exploitation of this issue can allow an attacker to cause a denial of service. Local users can trigger a deadlock when compress write in extra/mariabackup/ds compress.cc fails to release data mutex upon a stream write failure.
Recommendations For versions prior to 10.9.2, update to version 10.9.2 or later to resolve the issue. As a temporary workaround, consider restricting access to the compress write function in ds compress.cc to minimize the risk of exploitation. Avoid using the data mutex variable in the affected compress write function until the issue is resolved.

Exploit

Fix

Improper Locking

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

ALSA-2023:5259
ALSA-2023:5683
ALSA-2023:5684
ALT-PU-2022-2436
ALT-PU-2022-2446
ALT-PU-2023-1583
ALT-PU-2023-6462
BDU:2023-05678
BIT-MARIADB-2022-38791
BIT-MARIADB-MIN-2022-38791
BIT-MYSQL-CLIENT-2022-38791
CESA-2023_5259
CESA-2023_5683
CVE-2022-38791
DLA-3114-1
DLA-3114-2
OPENSUSE-SU-2022_3391-1
OPENSUSE-SU-2024:12360-1
RHSA-2023:5259
RHSA-2023:5683
RHSA-2023:5684
RHSA-2023:6821
RHSA-2023:6822
RHSA-2023:6883
RHSA-2023:7633
RHSA-2023_5259
RHSA-2023_5683
RHSA-2023_5684
RLSA-2023:5683
ROSA-SA-2023-2255
SUSE-RU-2022:3855-1
SUSE-RU-2023:3956-1
SUSE-RU-2023:4991-1
SUSE-SU-2022:3391-1
SUSE-SU-2023:0631-1

Affected Products

Alt Linux
Almalinux
Astra Linux
Centos
Mariadb
Mariadb Server
Red Hat
Rocky Linux
Suse