CVE-2022-38791
published 2022-08-27CVE-2022-38791: 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…
PriorityP420medium5.5CVSS 3.1
AVLACLPRLUINSUCNINAH
EPSS
0.24%
14.5th percentile
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
14 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | mariadb-10.5 | < mariadb-10.5 1:10.5.18-0+deb11u1 (bullseye) | mariadb-10.5 1:10.5.18-0+deb11u1 (bullseye) |
| fedoraproject | fedora | — | — |
| fedoraproject | fedora | — | — |
| fedoraproject | fedora | — | — |
| mariadb | mariadb | — | — |
| mariadb | mariadb | >= 10.3.0 < 10.3.36 | 10.3.36 |
| mariadb | mariadb | >= 10.4.0 < 10.4.26 | 10.4.26 |
| mariadb | mariadb | >= 10.5.0 < 10.5.17 | 10.5.17 |
| mariadb | mariadb | >= 10.6.0 < 10.6.9 | 10.6.9 |
| mariadb | mariadb | >= 10.7.0 < 10.7.5 | 10.7.5 |
| mariadb | mariadb | >= 10.8.0 < 10.8.4 | 10.8.4 |
| msrc | cbl_mariner_1.0_arm | — | — |
| msrc | cbl_mariner_1.0_x64 | — | — |
| msrc | cm1_mariadb_10.3.36-1_on_cbl_mariner_1.0 | — | — |
CVSS provenance
nvdv3.15.5MEDIUMCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
osv5.5MEDIUM
vendor_debian5.5MEDIUM
vendor_msrc5.5MEDIUM
vendor_redhat5.5MEDIUM
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
GHSA
GHSA-v65w-qwp3-hm34: In MariaDB before 10
ghsa_unreviewed·2022-08-28
CVE-2022-38791 [MEDIUM] GHSA-v65w-qwp3-hm34: In MariaDB before 10
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.
OSV
CVE-2022-38791: In MariaDB before 10
osv·2022-08-27·CVSS 5.5
CVE-2022-38791 [MEDIUM] CVE-2022-38791: In MariaDB before 10
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.
Microsoft
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.
vendor_msrc·2022-08-09·CVSS 5.5
CVE-2022-38791 [MEDIUM] CWE-667 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.
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.
FAQ: Is Azure Linux the only Microsoft product that includes this open-source library and is therefore potentially affected by this vulnerability?
One of the main benefits to our customers who choose to use the Azure Linux distro is the commitment to keep it up to date with the most recent and most secure versions of the open source libraries with which the distro is composed. Microsoft is committed to transparency in this work which is why we began publishing CSAF/VEX in October 2025. See this blog post for more information. If impact to additional products is identified, we will update the CVE to reflect this.
Red Hat
mariadb: compress_write() fails to release mutex on failure
vendor_redhat·2022-06-01·CVSS 5.5
CVE-2022-38791 [MEDIUM] CWE-667 mariadb: compress_write() fails to release mutex on failure
mariadb: compress_write() fails to release mutex on failure
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.
Package: mariadb (Red Hat Enterprise Linux 7) - Out of support scope
Package: mariadb (Red Hat OpenStack Platform 13 (Queens)) - Out of support scope
Package: rh-mariadb103-mariadb (Red Hat Software Collections) - Will not fix
Debian
CVE-2022-38791: mariadb-10.5 - In MariaDB before 10.9.2, compress_write in extra/mariabackup/ds_compress.cc doe...
vendor_debian·2022·CVSS 5.5
CVE-2022-38791 [MEDIUM] CVE-2022-38791: mariadb-10.5 - In MariaDB before 10.9.2, compress_write in extra/mariabackup/ds_compress.cc doe...
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.
Scope: local
bullseye: resolved (fixed in 1:10.5.18-0+deb11u1)
No detection rules found.
No public exploits indexed.
No writeups or analysis indexed.
https://jira.mariadb.org/browse/MDEV-28719https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/WCOEGSVMIEXDZHBOSV6WVF7FAVRBR2JE/https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/WTVAONAZXJFGHAJ4RP2OF3EAMQCOTDSQ/https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ZHISY4YVO4S5QJYYIXCIAXBM7INOL4VY/https://security.netapp.com/advisory/ntap-20221104-0008/https://jira.mariadb.org/browse/MDEV-28719https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/WCOEGSVMIEXDZHBOSV6WVF7FAVRBR2JE/https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/WTVAONAZXJFGHAJ4RP2OF3EAMQCOTDSQ/https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ZHISY4YVO4S5QJYYIXCIAXBM7INOL4VY/https://security.netapp.com/advisory/ntap-20221104-0008/
2022-08-27
Published