cve.bz

CVE-2021-46668 Uncontrolled Resource Consumption

5.5 mediumExploit referenceEPSS 0.4%Fix available

Medium (5.5). EPSS 0.4% estimated probability of exploitation activity in the next 30 days.

On this page
MariaDB through 10.5.9 allows an application crash via certain long SELECT DISTINCT statements that improperly interact with storage-engine resource limitations for temporary data structures.

Severity

CVSS 3.1

5.5 medium
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
EPSS
0.4% (unchanged from 0.4% a week ago; 0.4% 30 days ago) estimated probability of exploitation activity in the next 30 days; 35th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-400 Uncontrolled Resource Consumption
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2021-46668 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2021-46668?via=ask-ai-copy and https://cve.bz/cve/CVE-2021-46668?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2021-46668 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
mariadb:mariadbfrom 10.2.0 before 10.2.43
mariadb:mariadbfrom 10.3.0 before 10.3.34
mariadb:mariadbfrom 10.4.0 before 10.4.24
mariadb:mariadbfrom 10.5.0 before 10.5.15
mariadb:mariadbfrom 10.6.0 before 10.6.7
mariadb:mariadbfrom 10.7.0 before 10.7.3
fedoraproject:fedora34
fedoraproject:fedora35
fedoraproject:fedora36

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian11mariadb-10.51:10.5.15-0+deb11u1DEBIAN-CVE-2021-46668
Ubuntu20.04:LTSmariadb-10.31:10.3.34-0ubuntu0.20.04.1UBUNTU-CVE-2021-46668 USN-5305-1
Ubuntu22.04:LTSmariadb-10.61:10.6.7-2ubuntu1UBUNTU-CVE-2021-46668
Red Hatenterprise_linux:8::appstreamJudy, Judy-debuginfo, Judy-debugsource0:1.0.5-18.module+el8+2765+cfa4f87bRHSA-2022:6443
Red Hatenterprise_linux:8::appstreamJudy, Judy-debuginfo, Judy-debugsource0:1.0.5-18.module+el8.4.0+9031+9abc7af9RHSA-2022:5826
Red Hatenterprise_linux:8::appstreamgalera, galera-debuginfo, galera-debugsource0:25.3.35-1.module+el8.6.0+15949+4ba4ec26RHSA-2022:6443
Red Hatenterprise_linux:8::appstreamgalera, galera-debuginfo, galera-debugsource0:26.4.11-1.module+el8.6.0+15639+405b7427RHSA-2022:5826
Red Hatenterprise_linux:8::appstreammariadb, mariadb-pam, mariadb-test and 21 more3:10.5.16-2.module+el8.6.0+15639+405b7427RHSA-2022:5826
Red Hatenterprise_linux:8::appstreammariadb, mariadb-test, mariadb-devel and 19 more3:10.3.35-1.module+el8.6.0+15949+4ba4ec26RHSA-2022:6443
Red Hatenterprise_linux:9::appstreamgalera, galera-debuginfo, galera-debugsource0:26.4.11-1.el9_0RHSA-2022:5948
Red Hatenterprise_linux:9::appstreammariadb, mariadb-pam, mariadb-backup and 18 more3:10.5.16-2.el9_0RHSA-2022:5948
Red Hatenterprise_linux:9::appstreammysql-selinux0:1.0.5-1.el9_0RHSA-2022:5948
Red Hatenterprise_linux:9::crbmariadb-test, mariadb-devel, mariadb-debuginfo and 10 more3:10.5.16-2.el9_0RHSA-2022:5948
Red Hatrhel_aus:8.4::appstream, rhel_e4s:8.4::appstream, rhel_tus:8.4::appstreamJudy, Judy-debuginfo, Judy-debugsource0:1.0.5-18.module+el8.4.0+9031+9abc7af9RHSA-2023:6821
Red Hatrhel_aus:8.4::appstream, rhel_e4s:8.4::appstream, rhel_tus:8.4::appstreamgalera, galera-debuginfo, galera-debugsource0:26.4.14-1.module+el8.4.0+20291+fd32d29cRHSA-2023:6821
3 more for Red Hat in the JSON and on Red Hat's page.
SUSEEnterprise Storage 6, Linux Enterprise High Performance Computing 15 SP1-ESPOS, Linux Enterprise High Performance Computing 15 SP1-LTSS and 7 moremariadb10.2.43-3.51.1SUSE-SU-2022:0725-1
SUSEEnterprise Storage 7, Linux Enterprise High Performance Computing 15 SP2-ESPOS, Linux Enterprise High Performance Computing 15 SP2-LTSS and 7 moremariadb10.4.24-3.25.1SUSE-SU-2022:0726-1
SUSELinux Enterprise High Performance Computing 15 SP1-LTSS, Linux Enterprise Server 15 SP1-LTSS, Linux Enterprise Server for SAP Applications 15 SP1mariadb10410.4.30-150100.3.5.10SUSE-RU-2023:3956-1
SUSELinux Enterprise High Performance Computing 15 SP1-LTSS, Linux Enterprise Server 15 SP1-LTSS, Linux Enterprise Server for SAP Applications 15 SP1python-mysqlclient1.4.6-150100.3.3.7SUSE-RU-2023:3956-1
SUSELinux Enterprise Module for Server Applications 15 SP3mariadb10.5.15-150300.3.15.1SUSE-SU-2022:0731-1
SUSELinux Enterprise Module for Server Applications 15 SP4mariadb10.6.8-150400.3.7.1SUSE-SU-2022:2561-1
SUSELinux Enterprise Server 12 SP4-LTSS, Linux Enterprise Server 12 SP5, Linux Enterprise Server for SAP Applications 12 SP4 and 3 moremariadb10.2.43-3.47.1SUSE-SU-2022:0782-1
SUSELinux Enterprise Server 12 SP5, Linux Enterprise Server for SAP Applications 12 SP5, Linux Enterprise Software Development Kit 12 SP5lz41.8.0-3.5.2SUSE-RU-2023:4991-1
SUSELinux Enterprise Server 12 SP5, Linux Enterprise Server for SAP Applications 12 SP5, Linux Enterprise Software Development Kit 12 SP5mariadb-connector-c3.1.22-2.35.1SUSE-RU-2023:4991-1
SUSELinux Enterprise Server 12 SP5, Linux Enterprise Server for SAP Applications 12 SP5, Linux Enterprise Software Development Kit 12 SP5mariadb10410.4.30-8.5.46SUSE-RU-2023:4991-1
SUSELinux Enterprise Server 12 SP5, Linux Enterprise Server for SAP Applications 12 SP5, Linux Enterprise Software Development Kit 12 SP5python-mysqlclient1.3.14-8.9.2SUSE-RU-2023:4991-1
openSUSELeap 15.3mariadb10.5.15-150300.3.15.1openSUSE-SU-2022:0731-1
openSUSELeap 15.4mariadb10.5.15-150300.3.15.1SUSE-SU-2022:0731-2
openSUSELeap 15.4mariadb10.6.8-150400.3.7.1SUSE-SU-2022:2561-1
openSUSETumbleweedmariadb10.7.3-1.1openSUSE-SU-2024:11867-1
AlmaLinux8Judy1.0.5-18.module_el8.6.0+3072+3c630e87ALSA-2022:5826 ALSA-2022:6443
AlmaLinux8Judy1.0.5-18.module_el8.6.0+3139+3c630e87ALSA-2022:6443
AlmaLinux8galera25.3.35-1.module_el8.6.0+3265+230ed96bALSA-2022:6443
AlmaLinux8galera26.4.11-1.module_el8.6.0+3072+3c630e87ALSA-2022:5826
AlmaLinux8mariadb, mariadb-pam, mariadb-test and 11 more3:10.5.16-2.module_el8.6.0+3072+3c630e87ALSA-2022:5826
AlmaLinux8mariadb, mariadb-test, mariadb-devel and 10 more3:10.3.35-1.module_el8.6.0+3265+230ed96bALSA-2022:6443
AlmaLinux9mariadb, mariadb-pam, mariadb-test and 11 more3:10.5.16-2.el9_0ALSA-2022:5948
Rocky Linux8Judy0:1.0.5-18.module+el8.4.0+427+adf35707RLSA-2022:5826 RLSA-2022:6443
Rocky Linux8galera0:25.3.35-1.module+el8.6.0+1005+cdf19c22RLSA-2022:6443
Rocky Linux8galera0:26.4.11-1.module+el8.6.0+995+5ac2a483RLSA-2022:5826
Rocky Linux8mariadb3:10.3.35-1.module+el8.6.0+1005+cdf19c22RLSA-2022:6443
Rocky Linux8mariadb3:10.5.16-2.module+el8.6.0+995+5ac2a483RLSA-2022:5826
Rocky Linux9galera0:26.4.11-1.el9_0RLSA-2022:5948
Rocky Linux9mariadb3:10.5.16-2.el9_0RLSA-2022:5948
Rocky Linux9mysql-selinux0:1.0.5-1.el9_0RLSA-2022:5948
Alpinev3.12mariadb10.4.24-r0ALPINE-CVE-2021-46668
Alpinev3.13, v3.14mariadb10.5.15-r0ALPINE-CVE-2021-46668
Alpinev3.15, v3.16, v3.17 and 7 moremariadb10.6.7-r0ALPINE-CVE-2021-46668
Azure Linux2mariadb10.6.7-1AZL-8412

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; the Alpine secdb, CC BY-SA 4.0; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine.

Red Hat

Red Hat rates this Low.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 8mariadb:10.5-8060020220614163302.ad008a3aFixed 2022-08-02RHSA-2022:5826
Red Hat Enterprise Linux 8mariadb:10.3-8060020220715055054.ad008a3aFixed 2022-09-13RHSA-2022:6443
Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Supportmariadb:10.5-8040020231006044227.522a0ee4Fixed 2023-11-08RHSA-2023:6821
Red Hat Enterprise Linux 8.4 Telecommunications Update Servicemariadb:10.5-8040020231006044227.522a0ee4Fixed 2023-11-08RHSA-2023:6821
Red Hat Enterprise Linux 8.4 Update Services for SAP Solutionsmariadb:10.5-8040020231006044227.522a0ee4Fixed 2023-11-08RHSA-2023:6821
Red Hat Enterprise Linux 9mariadb-3:10.5.16-2.el9_0Fixed 2022-08-09RHSA-2022:5948
Red Hat Software Collections for Red Hat Enterprise Linux 7rh-mariadb105-mariadb-3:10.5.16-2.el7Fixed 2022-07-28RHSA-2022:5759
Red Hat Software Collections for Red Hat Enterprise Linux 7rh-mariadb103-mariadb-3:10.3.35-1.el7Fixed 2022-09-01RHSA-2022:6306
Red Hat Enterprise Linux 7mariadbOut of support scope
Red Hat OpenStack Platform 13 (Queens)mariadbOut of support scope

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2021-46668.

ICS advisories (CISA)

AdvisoryTitlePublishedSectorsAffectedFixed
ICSA-26-027-02Festo Didactic SE MES PC2024-02-27Commercial Facilities, Communications, Critical Manufacturing, EnergyFesto Didactic SE MES PC shipped with Windows 10none listed

From CISA's ICS advisories (CSAF), provided under CISA's notification. Only the facts are shown; each advisory is on CISA's page. Credits.

Attack patterns (CAPEC)

  • CAPEC-147 XML Ping of the Death Likelihood: Low · Severity: Medium
  • CAPEC-227 Sustained Client Engagement
  • CAPEC-492 Regular Expression Exponential Blowup

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON