Name | CVE-2022-31623 |
Description | MariaDB Server before 10.7 is vulnerable to Denial of Service. In extra/mariabackup/ds_compress.cc, when an error occurs (i.e., going to the err label) while executing the method create_worker_threads, the held lock thd->ctrl_mutex is not released correctly, which allows local users to trigger a denial of service due to the deadlock. Note: The vendor argues this is just an improper locking bug and not a vulnerability with adverse effects. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
References | ELA-1221-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 | fixed |
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 pull request: https://github.com/MariaDB/server/pull/1938
MariaDB bug: https://jira.mariadb.org/browse/MDEV-26561
Fixed in MariaDB: 10.2.42, 10.3.33, 10.4.23, 10.5.14, 10.6.6, 10.7.2
MariaDB commit: https://github.com/MariaDB/server/commit/7c30bc38a588b22b01f11130cfe99e7f36accf94 (mariadb-10.2.42)
In earlier version (<< 10.2) file affected was named extra/mariabackup/ds_compress.c instead of extra/mariabackup/ds_compress.cc