CVE-2022-31624
MariaDB Server before 10.7 is vulnerable to Denial of Service. While executing the plugin/server_audit/server_audit.c method log_statement_ex, the held lock lock_bigbuffer is not released correctly, which allows local users to trigger a denial of service due to the deadlock.
What to do
Fixed builds are available from AlmaLinux, Alpine, Red Hat, Rocky Linux, Ubuntu: see the table below for the fixed version per release.
Ubuntu has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 22.04 | mariadb-10.6 | Not affected vulnerable_code_not_present | ||
| Ubuntu 20.04 | mariadb-10.3 | Fixed | 1:10.3.32-0ubuntu0.20.04.1 | UBUNTU-CVE-2022-31624 |
| Ubuntu 18.04 | mariadb-10.1 | Fix pending | UBUNTU-CVE-2022-31624 | |
| Ubuntu 16.04 | mariadb-10.0 | Fix pending | UBUNTU-CVE-2022-31624 | |
| Red Hat Enterprise Linux 9 | mariadb | Not affected | ||
| Red Hat Enterprise Linux 9 | mariadb-backup | Not affected | ||
| Red Hat Enterprise Linux 9 | mariadb-common | Not affected | ||
| Red Hat Enterprise Linux 9 | mariadb-devel | Not affected | ||
| Red Hat Enterprise Linux 9 | mariadb-embedded | Not affected | ||
| Red Hat Enterprise Linux 9 | mariadb-embedded-devel | Not affected | ||
| Red Hat Enterprise Linux 9 | mariadb-errmsg | Not affected | ||
| Red Hat Enterprise Linux 9 | mariadb-gssapi-server | Not affected | ||
| Red Hat Enterprise Linux 9 | mariadb-oqgraph-engine | Not affected | ||
| Red Hat Enterprise Linux 9 | mariadb-pam | Not affected | ||
| Red Hat Enterprise Linux 9 | mariadb-server | Not affected | ||
| Red Hat Enterprise Linux 9 | mariadb-server-galera | Not affected | ||
| Red Hat Enterprise Linux 9 | mariadb-server-utils | Not affected | ||
| Red Hat Enterprise Linux 9 | mariadb-test | Not affected | ||
| Red Hat Enterprise Linux 8 | Judy | Fixed | 0:1.0.5-18.module+el8+2765+cfa4f87b | RHSA-2022:1557 |
| Red Hat Enterprise Linux 8 | galera | Fixed | 0:26.4.9-4.module+el8.5.0+14125+d11efe18 | RHSA-2022:1556 |
| Red Hat Enterprise Linux 8 | mariadb | Fixed | 3:10.5.13-1.module+el8.5.0+14125+d11efe18 | RHSA-2022:1556 |
| Red Hat Enterprise Linux 8 | mariadb-backup | Fixed | 3:10.3.32-2.module+el8.5.0+14124+14ced695 | RHSA-2022:1557 |
| Red Hat Enterprise Linux 8 | mariadb-common | Fixed | 3:10.5.13-1.module+el8.5.0+14125+d11efe18 | RHSA-2022:1556 |
| Red Hat Enterprise Linux 8 | mariadb-devel | Fixed | 3:10.5.13-1.module+el8.5.0+14125+d11efe18 | RHSA-2022:1556 |
| Red Hat Enterprise Linux 8 | mariadb-embedded | Fixed | 3:10.5.13-1.module+el8.5.0+14125+d11efe18 | RHSA-2022:1556 |
| Red Hat Enterprise Linux 8 | mariadb-embedded-devel | Fixed | 3:10.5.13-1.module+el8.5.0+14125+d11efe18 | RHSA-2022:1556 |
| Red Hat Enterprise Linux 8 | mariadb-errmsg | Fixed | 3:10.3.32-2.module+el8.5.0+14124+14ced695 | RHSA-2022:1557 |
| Red Hat Enterprise Linux 8 | mariadb-gssapi-server | Fixed | 3:10.5.13-1.module+el8.5.0+14125+d11efe18 | RHSA-2022:1556 |
| Red Hat Enterprise Linux 8 | mariadb-oqgraph-engine | Fixed | 3:10.3.32-2.module+el8.5.0+14124+14ced695 | RHSA-2022:1557 |
| Red Hat Enterprise Linux 8 | mariadb-pam | Fixed | 3:10.5.13-1.module+el8.5.0+14125+d11efe18 | RHSA-2022:1557 |
| Red Hat Enterprise Linux 8 | mariadb-server | Fixed | 3:10.3.32-2.module+el8.5.0+14124+14ced695 | RHSA-2022:1557 |
| Red Hat Enterprise Linux 8 | mariadb-server-galera | Fixed | 3:10.5.13-1.module+el8.5.0+14125+d11efe18 | RHSA-2022:1556 |
| Red Hat Enterprise Linux 8 | mariadb-server-utils | Fixed | 3:10.5.13-1.module+el8.5.0+14125+d11efe18 | RHSA-2022:1556 |
| Red Hat Enterprise Linux 8 | mariadb-test | Fixed | 3:10.3.32-2.module+el8.5.0+14124+14ced695 | RHSA-2022:1557 |
| Red Hat Enterprise Linux 7 | mariadb | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 7 | mariadb-bench | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 7 | mariadb-devel | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 7 | mariadb-embedded | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 7 | mariadb-embedded-devel | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 7 | mariadb-libs | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 7 | mariadb-server | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 7 | mariadb-test | Will not fix Out of support scope | ||
| AlmaLinux 8 | Judy | Fixed | 1.0.5-18.module_el8.6.0+2761+593e5e59 | ALSA-2022:1557 |
| AlmaLinux 8 | galera | Fixed | 26.4.9-4.module_el8.6.0+2761+593e5e59 | ALSA-2022:1557 |
| AlmaLinux 8 | mariadb | Fixed | 3:10.5.13-1.module_el8.6.0+2761+593e5e59 | ALSA-2022:1556 |
| AlmaLinux 8 | mariadb-backup | Fixed | 3:10.3.32-2.module_el8.5.0+2632+14ced695 | ALSA-2022:1556 |
| AlmaLinux 8 | mariadb-common | Fixed | 3:10.5.13-1.module_el8.5.0+2637+d11efe18 | ALSA-2022:1556 |
| AlmaLinux 8 | mariadb-devel | Fixed | 3:10.3.32-2.module_el8.5.0+2632+14ced695 | ALSA-2022:1556 |
| AlmaLinux 8 | mariadb-embedded | Fixed | 3:10.3.32-2.module_el8.6.0+2867+72759d2f | ALSA-2022:1557 |
| AlmaLinux 8 | mariadb-embedded-devel | Fixed | 3:10.5.13-1.module_el8.6.0+2761+593e5e59 | ALSA-2022:1557 |
| AlmaLinux 8 | mariadb-errmsg | Fixed | 3:10.3.32-2.module_el8.5.0+2632+14ced695 | ALSA-2022:1557 |
| AlmaLinux 8 | mariadb-gssapi-server | Fixed | 3:10.5.13-1.module_el8.6.0+2761+593e5e59 | ALSA-2022:1557 |
| AlmaLinux 8 | mariadb-oqgraph-engine | Fixed | 3:10.5.13-1.module_el8.5.0+2637+d11efe18 | ALSA-2022:1557 |
| AlmaLinux 8 | mariadb-pam | Fixed | 3:10.5.13-1.module_el8.5.0+2637+d11efe18 | ALSA-2022:1557 |
| AlmaLinux 8 | mariadb-server | Fixed | 3:10.5.13-1.module_el8.6.0+2761+593e5e59 | ALSA-2022:1556 |
| AlmaLinux 8 | mariadb-server-galera | Fixed | 3:10.3.32-2.module_el8.5.0+2632+14ced695 | ALSA-2022:1556 |
| AlmaLinux 8 | mariadb-server-utils | Fixed | 3:10.5.13-1.module_el8.6.0+2761+593e5e59 | ALSA-2022:1557 |
| AlmaLinux 8 | mariadb-test | Fixed | 3:10.3.32-2.module_el8.6.0+2867+72759d2f | ALSA-2022:1557 |
| Rocky Linux 8 | Judy | Fixed | 0:1.0.5-18.module+el8.4.0+427+adf35707 | RLSA-2022:1557 |
| Rocky Linux 8 | galera | Fixed | 0:25.3.34-4.module+el8.5.0+777+18007c86 | RLSA-2022:1557 |
| Rocky Linux 8 | mariadb | Fixed | 3:10.3.32-2.module+el8.5.0+777+18007c86 | RLSA-2022:1557 |
| Alpine Linux 3.24 | mariadb | Fixed | 10.6.7-r0 | ALPINE-CVE-2022-31624 |
| Alpine Linux 3.23 | mariadb | Fixed | 10.6.7-r0 | ALPINE-CVE-2022-31624 |
| Alpine Linux 3.22 | mariadb | Fixed | 10.6.7-r0 | ALPINE-CVE-2022-31624 |
| Alpine Linux 3.21 | mariadb | Fixed | 10.6.7-r0 | ALPINE-CVE-2022-31624 |
| Alpine Linux 3.20 | mariadb | Fixed | 10.6.7-r0 | ALPINE-CVE-2022-31624 |
| Alpine Linux 3.19 | mariadb | Fixed | 10.6.7-r0 | ALPINE-CVE-2022-31624 |
| Alpine Linux 3.18 | mariadb | Fixed | 10.6.7-r0 | ALPINE-CVE-2022-31624 |
| Alpine Linux 3.17 | mariadb | Fixed | 10.6.7-r0 | ALPINE-CVE-2022-31624 |
| Alpine Linux 3.16 | mariadb | Fixed | 10.6.7-r0 | ALPINE-CVE-2022-31624 |
References
- https://jira.mariadb.org/browse/MDEV-26556?filter=-2
- https://github.com/MariaDB/server/commit/d627d00b13ab2f2c0954ea7b77202470cb102944
- https://security.netapp.com/advisory/ntap-20220707-0006/
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.