Name | CVE-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. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
References | DLA-3114-1 |
Vulnerable and fixed packages
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|
mariadb-10.1 (PTS) | stretch (security) | 10.1.48-0+deb9u2 | vulnerable |
| stretch (lts), stretch | 10.1.48-0+deb9u5 | vulnerable |
mariadb-10.3 (PTS) | buster, buster (lts) | 1:10.3.39-0+deb10u3 | fixed |
| buster (security) | 1:10.3.39-0+deb10u2 | fixed |
mariadb-10.5 (PTS) | bullseye | 1:10.5.23-0+deb11u1 | fixed |
| bullseye (security) | 1:10.5.26-0+deb11u2 | fixed |
The information below is based on the following data on fixed versions.
Notes
MariaDB bug: https://jira.mariadb.org/browse/MDEV-28719
MariaDB fixed in 10.3.36, 10.5.17, 10.6.9
MariaDB commit https://github.com/MariaDB/server/commit/91d5fffa0796b8208c3d6633c8f296da8914af4d (mariadb-10.3.36)
MariaDB related to previous commit incompletly fixing the issue https://github.com/MariaDB/server/commit/863c3eda872b19f70ce6045119bf621584e1312d (mariadb-10.3.36)
MariaDB bug for incomplete fix: https://jira.mariadb.org/browse/MDEV-28689
MariaDB duplicate bug for incomplete fix: https://jira.mariadb.org/browse/MDEV-28690