PatchaPalooza

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.

CVE-2021-46666 is a vulnerability in MariaDB before 10.6.2 allows an application crash because of mishandling of a pushdown from a HAVING clause to a WHERE clause., rated Moderate by Microsoft, with a CVSS 3.1 base score of 5.5 (Medium). An attacker can exploit it by an attacker with local access, with low privileges and without user interaction. Microsoft has not reported exploitation in the wild. The EPSS model estimates a 0.42% probability of exploitation activity in the next 30 days, higher than 28% of all scored vulnerabilities. Microsoft released the fix on 3 February 2022, outside Patch Tuesday. It affects 2 products in 1 product family (Mariner).

Key facts

CVE ID
CVE-2021-46666
Severity
Medium CVSS 5.5
Microsoft severity
Moderate
Exploited in the wild
No
Publicly disclosed
No
Weakness
CWE-617
EPSS
0.42% (percentile 28%)
CISA KEV
Not listed
Released
Last updated
Patch Tuesday
February 2022 Patch Tuesday
Product families
Mariner

CVSS score and vector

Microsoft scores CVE-2021-46666 at 5.5 (temporal 5.5) using CVSS 3.1. Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

MetricValue
Attack vectorLocal
Attack complexityLow
Privileges requiredLow
User interactionNone
ScopeUnchanged
Confidentiality impactNone
Integrity impactNone
Availability impactHigh

Frequently asked questions (Microsoft)

Is Azure Linux the only Microsoft product that includes this open-source library and is therefore potentially affected by this vulnerability?

One of the main benefits to our customers who choose to use the Azure Linux distro is the commitment to keep it up to date with the most recent and most secure versions of the open source libraries with which the distro is composed. Microsoft is committed to transparency in this work which is why we began publishing CSAF/VEX in October 2025. See this blog post for more information. If impact to additional products is identified, we will update the CVE to reflect this.

Affected products (2)

Mariner

ProductSecurity updateTypeFixed buildRestart
cm1 mariadb 10.3.32-1 on CBL Mariner 1.0CBL-Mariner ReleasesSecurity Update10.3.32-1No
cbl2 mariadb 10.6.7-1 on CBL Mariner 2.0CBL-Mariner ReleasesSecurity Update10.6.7-1No

NIST NVD data

NVD status
Modified
NVD CVSS
5.5 (MEDIUM)
NVD weakness
CWE-617
Published to NVD
NVD last modified

Affected configurations (CPE)

ProductVulnerable versions
mariadbbefore 10.2.39
mariadbfrom 10.3.0, before 10.3.30
mariadbfrom 10.4.0, before 10.4.20
mariadbfrom 10.5.0, before 10.5.11
mariadbfrom 10.6.0, before 10.6.2

References

Revision history

VersionDateDescription
1.0Information published.

Sources