CVE-2022-38791 Denial of service in n/a
Local users can trigger a deadlock in MariaDB's backup tool by causing a stream write failure, leading to denial of service.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2022-38791?
CVE-2022-38791 is a medium-severity denial of service vulnerability in Fedoraproject Fedora, published on 27 Aug 2022. It can only be exploited from the same machine or local network, with no action from the victim.
Official 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.
Weakness: CWE-667
Which versions are affected by CVE-2022-38791?
3 open source packages ship an affected version, including mariadb, mariadb-min and mysql-client. It affects 2 products.
| Package | Affected | Fixed in |
|---|---|---|
mariadb Bitnami | From 10.3.0 | 10.3.36, 10.4.26, 10.5.17, 10.6.9, 10.7.5, 10.8.4, 10.9.2 |
mariadb-min Bitnami | From 10.3.0 to 10.9.1 | 10.3.36, 10.4.26, 10.5.17, 10.6.9, 10.7.5, 10.8.4 |
mysql-client Bitnami | From 10.3.0 | 10.3.36, 10.4.26, 10.5.17, 10.6.9, 10.7.5, 10.8.4, 10.9.2 |
Linux distribution packages (2)
mariadb SUSE:Linux Enterprise Module for Server Applications 15 SP4 | All versions | 10.6.10-150400.3.17.1 |
mariadb openSUSE:Leap 15.4 | All versions | 10.6.10-150400.3.17.1 |
Products include Fedoraproject Fedora, Mariadb Mariadb.
How do I fix CVE-2022-38791?
Upgrade mariadb to a fixed version for your release line: 10.3.36, 10.4.26, 10.5.17 or 10.6.9.
Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.
Is CVE-2022-38791 being exploited?
There is no known exploitation of CVE-2022-38791 in the wild and no public exploit code.
Other vulnerabilities in Fedoraproject Fedora
Sources
Also known as BIT-mariadb-2022-38791, BIT-mariadb-min-2022-38791, BIT-mysql-client-2022-38791, DEBIAN-CVE-2022-38791, GHSA-v65w-qwp3-hm34, SUSE-RU-2022:3855-1 and 1 more.