CVE-2022-38791
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 package | Versions | Reported by |
|---|---|---|
| Unspecified product | n/a | CVE List |
| mariadb mariadb | 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, 10.9.1 | NVD |
| fedoraproject fedora | 35, 36, 37 | NVD |
| 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.2 | Bitnami 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.1 | Bitnami 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.2 | Bitnami Vulnerability Database |
All scores
| NVD | 5.5medium CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
| Bitnami Vulnerability Database | medium 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
| https://jira.mariadb.org/browse/MDEV-28719 | advisory, issue-tracking, vendor-advisory | |
| https://security.netapp.com/advisory/ntap-20221104-0008/ | advisory, third-party-advisory | |
| https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ZHISY4YVO4S5QJYYIXCIAXBM7INOL4VY/ | vendor-advisory, web | |
| https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/WCOEGSVMIEXDZHBOSV6WVF7FAVRBR2JE/ | vendor-advisory, web | |
| https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/WTVAONAZXJFGHAJ4RP2OF3EAMQCOTDSQ/ | vendor-advisory, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2022-38791 | web | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2022-38791 changed 2024-08-03 | CVE Terms of Use |
| NVD | CVE-2022-38791 changed 2026-06-17 | Public domain |
| Bitnami Vulnerability Database | BIT-MARIADB-2022-38791 changed 2026-09-08 | Apache-2.0 |
| Bitnami Vulnerability Database | BIT-MARIADB-MIN-2022-38791 changed 2026-09-08 | Apache-2.0 |
| Bitnami Vulnerability Database | BIT-MYSQL-CLIENT-2022-38791 changed 2026-09-08 | Apache-2.0 |