CVE-2021-46666
MariaDB before 10.6.2 allows an application crash because of mishandling of a pushdown from a HAVING clause to a WHERE clause.
What to do
Fixed builds are available from AlmaLinux, Red Hat, Rocky Linux, Ubuntu: see the table below for the fixed version per release.
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 | Fixed | 1:10.6.7-2ubuntu1 | UBUNTU-CVE-2021-46666 |
| Ubuntu 20.04 | mariadb-10.3 | Fixed | 1:10.3.30-0ubuntu0.20.04.1 | UBUNTU-CVE-2021-46666 |
| 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.3.32-2.module+el8.5.0+14124+14ced695 | RHSA-2022:1557 |
| Red Hat Enterprise Linux 8 | mariadb-backup | Fixed | 3:10.5.13-1.module+el8.5.0+14125+d11efe18 | RHSA-2022:1556 |
| 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.3.32-2.module+el8.5.0+14124+14ced695 | RHSA-2022:1557 |
| Red Hat Enterprise Linux 8 | mariadb-embedded | Fixed | 3:10.3.32-2.module+el8.5.0+14124+14ced695 | RHSA-2022:1557 |
| Red Hat Enterprise Linux 8 | mariadb-embedded-devel | Fixed | 3:10.3.32-2.module+el8.5.0+14124+14ced695 | RHSA-2022:1557 |
| 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.5.13-1.module+el8.5.0+14125+d11efe18 | RHSA-2022:1556 |
| 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.3.32-2.module+el8.5.0+14124+14ced695 | RHSA-2022:1557 |
| Red Hat Enterprise Linux 8 | mariadb-test | Fixed | 3:10.5.13-1.module+el8.5.0+14125+d11efe18 | RHSA-2022:1556 |
| 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.5.0+2637+d11efe18 | ALSA-2022:1556 |
| AlmaLinux 8 | mariadb | Fixed | 3:10.5.13-1.module_el8.5.0+2637+d11efe18 | ALSA-2022:1557 |
| AlmaLinux 8 | mariadb-backup | Fixed | 3:10.5.13-1.module_el8.6.0+2761+593e5e59 | ALSA-2022:1557 |
| AlmaLinux 8 | mariadb-common | Fixed | 3:10.5.13-1.module_el8.5.0+2637+d11efe18 | ALSA-2022:1557 |
| AlmaLinux 8 | mariadb-devel | Fixed | 3:10.5.13-1.module_el8.6.0+2761+593e5e59 | ALSA-2022:1557 |
| AlmaLinux 8 | mariadb-embedded | Fixed | 3:10.3.32-2.module_el8.5.0+2632+14ced695 | ALSA-2022:1556 |
| 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.6.0+2867+72759d2f | ALSA-2022:1556 |
| AlmaLinux 8 | mariadb-gssapi-server | Fixed | 3:10.5.13-1.module_el8.5.0+2637+d11efe18 | ALSA-2022:1556 |
| AlmaLinux 8 | mariadb-oqgraph-engine | Fixed | 3:10.3.32-2.module_el8.6.0+2867+72759d2f | ALSA-2022:1556 |
| AlmaLinux 8 | mariadb-pam | Fixed | 3:10.5.13-1.module_el8.6.0+2761+593e5e59 | ALSA-2022:1557 |
| AlmaLinux 8 | mariadb-server | Fixed | 3:10.3.32-2.module_el8.5.0+2632+14ced695 | ALSA-2022:1556 |
| AlmaLinux 8 | mariadb-server-galera | Fixed | 3:10.3.32-2.module_el8.6.0+2867+72759d2f | ALSA-2022:1557 |
| 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:1556 |
| 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.5.13-1.module+el8.5.0+773+f75e97f7 | RLSA-2022:1556 |
References
- https://jira.mariadb.org/browse/MDEV-25635
- https://security.netapp.com/advisory/ntap-20220221-0002/
- https://mariadb.com/kb/en/security/
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.