Skip to content
OpenAdvisories
Unscored CVE-2022-31622 EUVD-2022-53074GHSA-p293-2w9f-jrwc

MariaDB Server before 10.7 is vulnerable to Denial of Service. In extra/mariabackup/ds_compress.cc, when an error occurs (pthread_create re…

Published May 25, 2022 · Updated Aug 3, 2024 · Assigned by mitre

Description

MariaDB Server before 10.7 is vulnerable to Denial of Service. In extra/mariabackup/ds_compress.cc, when an error occurs (pthread_create returns a nonzero value) while executing the method create_worker_threads, the held lock 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.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 11 mariadb-10.5 1:10.5.15-0+deb11u1 —
ReleasePackageFixed inAdvisory
RHEL 9 galera 26.4.11-1.el9_0 RHSA-2022:5948
RHEL 9 mariadb +13 3:10.5.16-2.el9_0 RHSA-2022:5948
RHEL 9 mysql-selinux 1.0.5-1.el9_0 RHSA-2022:5948
RHEL 8 Judy 1.0.5-18.module+el8.4.0+9031+9abc7af9 RHSA-2022:6443, RHSA-2022:5826
RHEL 8 galera 25.3.35-1.module+el8.6.0+15949+4ba4ec26 RHSA-2022:6443, RHSA-2022:5826
RHEL 8 mariadb +12 3:10.3.35-1.module+el8.6.0+15949+4ba4ec26 RHSA-2022:6443, RHSA-2022:5826
RHEL 8 mariadb-pam 3:10.5.16-2.module+el8.6.0+15639+405b7427 RHSA-2022:5826
RHEL 3 rh-mariadb103-mariadb +18 3:10.3.35-1.el7 RHSA-2022:6306
RHEL 3 rh-mariadb105-mariadb +20 3:10.5.16-2.el7 RHSA-2022:5759
Show 3 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
RHEL 8.4 TUS Judy 1.0.5-18.module+el8.4.0+9031+9abc7af9 RHSA-2023:6821
RHEL 8.4 TUS galera 26.4.14-1.module+el8.4.0+20291+fd32d29c RHSA-2023:6821
RHEL 8.4 TUS mariadb +13 3:10.5.22-1.module+el8.4.0+20291+fd32d29c RHSA-2023:6821
RHEL 8.4 E4S Judy 1.0.5-18.module+el8.4.0+9031+9abc7af9 RHSA-2023:6821
RHEL 8.4 E4S galera 26.4.14-1.module+el8.4.0+20291+fd32d29c RHSA-2023:6821
RHEL 8.4 E4S mariadb +13 3:10.5.22-1.module+el8.4.0+20291+fd32d29c RHSA-2023:6821
RHEL 8.4 AUS Judy 1.0.5-18.module+el8.4.0+9031+9abc7af9 RHSA-2023:6821
RHEL 8.4 AUS galera 26.4.14-1.module+el8.4.0+20291+fd32d29c RHSA-2023:6821
RHEL 8.4 AUS mariadb +13 3:10.5.22-1.module+el8.4.0+20291+fd32d29c RHSA-2023:6821

AlmaLinux

Errata ↗
ReleasePackageFixed inAdvisory
AlmaLinux 9 mariadb +13 3:10.5.16-2.el9_0 ALSA-2022:5948
AlmaLinux 8 Judy 1.0.5-18.module_el8.6.0+3072+3c630e87 ALSA-2022:6443, ALSA-2022:5826
AlmaLinux 8 galera 25.3.35-1.module_el8.6.0+3265+230ed96b ALSA-2022:6443, ALSA-2022:5826
AlmaLinux 8 mariadb +12 3:10.3.35-1.module_el8.6.0+3265+230ed96b ALSA-2022:6443, ALSA-2022:5826
AlmaLinux 8 mariadb-pam 3:10.5.16-2.module_el8.6.0+3072+3c630e87 ALSA-2022:5826

Rocky Linux

Errata ↗
ReleasePackageFixed inAdvisory
Rocky Linux 9 galera 26.4.11-1.el9_0 RLSA-2022:5948
Rocky Linux 9 mariadb 3:10.5.16-2.el9_0 RLSA-2022:5948
Rocky Linux 9 mysql-selinux 1.0.5-1.el9_0 RLSA-2022:5948
Rocky Linux 8 Judy 1.0.5-18.module+el8.4.0+427+adf35707 RLSA-2022:6443, RLSA-2022:5826
Rocky Linux 8 galera 25.3.35-1.module+el8.6.0+1005+cdf19c22 RLSA-2022:6443, RLSA-2022:5826
Rocky Linux 8 mariadb 3:10.3.35-1.module+el8.6.0+1005+cdf19c22 RLSA-2022:6443, RLSA-2022:5826
ReleasePackageFixed inAdvisory
Alpine v3.24 mariadb 10.6.7-r0 —
Alpine v3.23 mariadb 10.6.7-r0 —
Alpine v3.22 mariadb 10.6.7-r0 —
Alpine v3.21 mariadb 10.6.7-r0 —
Alpine v3.20 mariadb 10.6.7-r0 —
Show 4 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Alpine v3.19 mariadb 10.6.7-r0 —
Alpine v3.18 mariadb 10.6.7-r0 —
Alpine v3.17 mariadb 10.6.7-r0 —
Alpine v3.16 mariadb 10.6.7-r0 —

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2023 mariadb105 +14 3:10.5.18-1.amzn2023.0.1 ALAS2023-2023-155

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 9 galera 26.4.11-1.0.1.el9_0 ELSA-2022-5948
Oracle Linux 9 mariadb +13 3:10.5.16-2.el9_0 ELSA-2022-5948
Oracle Linux 9 mysql-selinux 1.0.5-1.el9_0 ELSA-2022-5948
Oracle Linux 8 Judy 1.0.5-18.module+el8.4.0+20040+caf70fad ELSA-2022-6443, ELSA-2022-5826
Oracle Linux 8 galera 25.3.35-1.module+el8.6.0+20730+e6b28fc7 ELSA-2022-6443, ELSA-2022-5826
Oracle Linux 8 mariadb +12 3:10.3.35-1.module+el8.6.0+20730+e6b28fc7 ELSA-2022-6443, ELSA-2022-5826
Oracle Linux 8 mariadb-pam 3:10.5.16-2.module+el8.6.0+20717+9b4a4c6e ELSA-2022-5826

Advisories 17

References