CVEfocus › CVE database › CVE-2021-46666

CVE-2021-46666

EPSS 0.4% (higher than 28% of CVEs)Published 2022-02-01Updated 2024-08-04Assigner: mitre

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

37Fixed
8Will not fix
14Not affected

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.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 22.04mariadb-10.6Fixed1:10.6.7-2ubuntu1UBUNTU-CVE-2021-46666
Ubuntu 20.04mariadb-10.3Fixed1:10.3.30-0ubuntu0.20.04.1UBUNTU-CVE-2021-46666
Red Hat Enterprise Linux 9mariadbNot affected
Red Hat Enterprise Linux 9mariadb-backupNot affected
Red Hat Enterprise Linux 9mariadb-commonNot affected
Red Hat Enterprise Linux 9mariadb-develNot affected
Red Hat Enterprise Linux 9mariadb-embeddedNot affected
Red Hat Enterprise Linux 9mariadb-embedded-develNot affected
Red Hat Enterprise Linux 9mariadb-errmsgNot affected
Red Hat Enterprise Linux 9mariadb-gssapi-serverNot affected
Red Hat Enterprise Linux 9mariadb-oqgraph-engineNot affected
Red Hat Enterprise Linux 9mariadb-pamNot affected
Red Hat Enterprise Linux 9mariadb-serverNot affected
Red Hat Enterprise Linux 9mariadb-server-galeraNot affected
Red Hat Enterprise Linux 9mariadb-server-utilsNot affected
Red Hat Enterprise Linux 9mariadb-testNot affected
Red Hat Enterprise Linux 8JudyFixed0:1.0.5-18.module+el8+2765+cfa4f87bRHSA-2022:1557
Red Hat Enterprise Linux 8galeraFixed0:26.4.9-4.module+el8.5.0+14125+d11efe18RHSA-2022:1556
Red Hat Enterprise Linux 8mariadbFixed3:10.3.32-2.module+el8.5.0+14124+14ced695RHSA-2022:1557
Red Hat Enterprise Linux 8mariadb-backupFixed3:10.5.13-1.module+el8.5.0+14125+d11efe18RHSA-2022:1556
Red Hat Enterprise Linux 8mariadb-commonFixed3:10.5.13-1.module+el8.5.0+14125+d11efe18RHSA-2022:1556
Red Hat Enterprise Linux 8mariadb-develFixed3:10.3.32-2.module+el8.5.0+14124+14ced695RHSA-2022:1557
Red Hat Enterprise Linux 8mariadb-embeddedFixed3:10.3.32-2.module+el8.5.0+14124+14ced695RHSA-2022:1557
Red Hat Enterprise Linux 8mariadb-embedded-develFixed3:10.3.32-2.module+el8.5.0+14124+14ced695RHSA-2022:1557
Red Hat Enterprise Linux 8mariadb-errmsgFixed3:10.3.32-2.module+el8.5.0+14124+14ced695RHSA-2022:1557
Red Hat Enterprise Linux 8mariadb-gssapi-serverFixed3:10.5.13-1.module+el8.5.0+14125+d11efe18RHSA-2022:1556
Red Hat Enterprise Linux 8mariadb-oqgraph-engineFixed3:10.3.32-2.module+el8.5.0+14124+14ced695RHSA-2022:1557
Red Hat Enterprise Linux 8mariadb-pamFixed3:10.5.13-1.module+el8.5.0+14125+d11efe18RHSA-2022:1557
Red Hat Enterprise Linux 8mariadb-serverFixed3:10.5.13-1.module+el8.5.0+14125+d11efe18RHSA-2022:1556
Red Hat Enterprise Linux 8mariadb-server-galeraFixed3:10.5.13-1.module+el8.5.0+14125+d11efe18RHSA-2022:1556
Red Hat Enterprise Linux 8mariadb-server-utilsFixed3:10.3.32-2.module+el8.5.0+14124+14ced695RHSA-2022:1557
Red Hat Enterprise Linux 8mariadb-testFixed3:10.5.13-1.module+el8.5.0+14125+d11efe18RHSA-2022:1556
Red Hat Enterprise Linux 7mariadbWill not fix
Out of support scope
Red Hat Enterprise Linux 7mariadb-benchWill not fix
Out of support scope
Red Hat Enterprise Linux 7mariadb-develWill not fix
Out of support scope
Red Hat Enterprise Linux 7mariadb-embeddedWill not fix
Out of support scope
Red Hat Enterprise Linux 7mariadb-embedded-develWill not fix
Out of support scope
Red Hat Enterprise Linux 7mariadb-libsWill not fix
Out of support scope
Red Hat Enterprise Linux 7mariadb-serverWill not fix
Out of support scope
Red Hat Enterprise Linux 7mariadb-testWill not fix
Out of support scope
AlmaLinux 8JudyFixed1.0.5-18.module_el8.6.0+2761+593e5e59ALSA-2022:1557
AlmaLinux 8galeraFixed26.4.9-4.module_el8.5.0+2637+d11efe18ALSA-2022:1556
AlmaLinux 8mariadbFixed3:10.5.13-1.module_el8.5.0+2637+d11efe18ALSA-2022:1557
AlmaLinux 8mariadb-backupFixed3:10.5.13-1.module_el8.6.0+2761+593e5e59ALSA-2022:1557
AlmaLinux 8mariadb-commonFixed3:10.5.13-1.module_el8.5.0+2637+d11efe18ALSA-2022:1557
AlmaLinux 8mariadb-develFixed3:10.5.13-1.module_el8.6.0+2761+593e5e59ALSA-2022:1557
AlmaLinux 8mariadb-embeddedFixed3:10.3.32-2.module_el8.5.0+2632+14ced695ALSA-2022:1556
AlmaLinux 8mariadb-embedded-develFixed3:10.5.13-1.module_el8.6.0+2761+593e5e59ALSA-2022:1557
AlmaLinux 8mariadb-errmsgFixed3:10.3.32-2.module_el8.6.0+2867+72759d2fALSA-2022:1556
AlmaLinux 8mariadb-gssapi-serverFixed3:10.5.13-1.module_el8.5.0+2637+d11efe18ALSA-2022:1556
AlmaLinux 8mariadb-oqgraph-engineFixed3:10.3.32-2.module_el8.6.0+2867+72759d2fALSA-2022:1556
AlmaLinux 8mariadb-pamFixed3:10.5.13-1.module_el8.6.0+2761+593e5e59ALSA-2022:1557
AlmaLinux 8mariadb-serverFixed3:10.3.32-2.module_el8.5.0+2632+14ced695ALSA-2022:1556
AlmaLinux 8mariadb-server-galeraFixed3:10.3.32-2.module_el8.6.0+2867+72759d2fALSA-2022:1557
AlmaLinux 8mariadb-server-utilsFixed3:10.5.13-1.module_el8.6.0+2761+593e5e59ALSA-2022:1557
AlmaLinux 8mariadb-testFixed3:10.3.32-2.module_el8.6.0+2867+72759d2fALSA-2022:1556
Rocky Linux 8JudyFixed0:1.0.5-18.module+el8.4.0+427+adf35707RLSA-2022:1557
Rocky Linux 8galeraFixed0:25.3.34-4.module+el8.5.0+777+18007c86RLSA-2022:1557
Rocky Linux 8mariadbFixed3:10.5.13-1.module+el8.5.0+773+f75e97f7RLSA-2022:1556

References

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.