CVE-2022-38791
JSON

5.5medium

In MariaDB before 10.9.2, compresswrite in extra/mariabackup/dscompress.cc does not release datamutex upon a stream write failure, which al…

Severity
5.5medium CVSS:3.1 by NVD
Exploit likelihood
0.25% (higher than 17% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
mitre
Also known as
BIT-MARIADB-2022-38791BIT-MARIADB-MIN-2022-38791BIT-MYSQL-CLIENT-2022-38791

Description

In MariaDB before 10.9.2, compress_write in extra/mariabackup/ds_compress.cc does not release data_mutex upon a stream write failure, which allows local users to trigger a deadlock.

Affected

Product or packageVersionsReported by
Unspecified productn/aCVE List
mariadb mariadbfrom 10.3.0 before 10.3.36, from 10.4.0 before 10.4.26, from 10.5.0 before 10.5.17, from 10.6.0 before 10.6.9, from 10.7.0 before 10.7.5, from 10.8.0 before 10.8.4, 10.9.1NVD
fedoraproject fedora35, 36, 37NVD
mariadb (Bitnami)from 10.3.0 before 10.3.36, from 10.4.0 before 10.4.26, from 10.5.0 before 10.5.17, from 10.6.0 before 10.6.9, from 10.7.0 before 10.7.5, from 10.8.0 before 10.8.4, from 10.9.1 before 10.9.2Bitnami Vulnerability Database
mariadb-min (Bitnami)from 10.3.0 before 10.3.36, from 10.4.0 before 10.4.26, from 10.5.0 before 10.5.17, from 10.6.0 before 10.6.9, from 10.7.0 before 10.7.5, from 10.8.0 before 10.8.4, from 10.9.1 up to 10.9.1Bitnami Vulnerability Database
mysql-client (Bitnami)from 10.3.0 before 10.3.36, from 10.4.0 before 10.4.26, from 10.5.0 before 10.5.17, from 10.6.0 before 10.6.9, from 10.7.0 before 10.7.5, from 10.8.0 before 10.8.4, from 10.9.1 before 10.9.2Bitnami Vulnerability Database

All scores

NVD5.5medium CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Bitnami Vulnerability Databasemedium rating

Classification

What each source says

CVE List

In MariaDB before 10.9.2, compress_write in extra/mariabackup/ds_compress.cc does not release data_mutex upon a stream write failure, which allows local users to trigger a deadlock.

NVD (es)

En MariaDB versiones anteriores a 10.9.2, la función compress_write en el archivo extra/mariabackup/ds_compress.cc no libera data_mutex tras un fallo de escritura en el flujo, lo que permite a usuarios locales desencadenar un bloqueo.

References

Sources

SourceRecordLicence
CVE ListCVE-2022-38791 changed 2024-08-03CVE Terms of Use
NVDCVE-2022-38791 changed 2026-06-17Public domain
Bitnami Vulnerability DatabaseBIT-MARIADB-2022-38791 changed 2026-09-08Apache-2.0
Bitnami Vulnerability DatabaseBIT-MARIADB-MIN-2022-38791 changed 2026-09-08Apache-2.0
Bitnami Vulnerability DatabaseBIT-MYSQL-CLIENT-2022-38791 changed 2026-09-08Apache-2.0