What’s Vulnerable › Vulnerabilities
CVE-2022-38791
- Severity: medium (CVSS 5.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.3% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2022-08-27 · updated 2026-06-17
- Weakness: CWE-667
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 products
- Fedoraproject Fedora: 35, 36, 37
- 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 — fixed in 10.3.36, 10.4.26, 10.5.17, 10.6.9, 10.7.5, 10.8.4
How to fix
Upgrade to a fixed version: MariaDB 10.3.36, 10.4.26, 10.5.17, 10.6.9. Check the vendor advisory for mitigations.
References
- https://jira.mariadb.org/browse/MDEV-28719
- https://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-28719
- https://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/
Get alerted when CVE-2022-38791 or the next vulnerability affects your stack