What’s Vulnerable › Vulnerabilities
CVE-2021-46659
- Severity: medium (CVSS 5.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.6% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2022-01-29 · updated 2026-06-17
Description
MariaDB before 10.7.2 allows an application crash because it does not recognize that SELECT_LEX::nest_level is local to each VIEW.
Affected products
- Fedoraproject Fedora: 34, 35, 36
- MariaDB: from 5.5.0 before 10.2.42; from 10.3.0 before 10.3.33; from 10.4.0 before 10.4.23; from 10.5.0 before 10.5.14; from 10.6.0 before 10.6.6; from 10.7.0 before 10.7.2 — fixed in 10.2.42, 10.3.33, 10.4.23, 10.5.14, 10.6.6, 10.7.2
How to fix
Upgrade to a fixed version: MariaDB 10.2.42, 10.3.33, 10.4.23, 10.5.14. Check the vendor advisory for mitigations.
References
- https://jira.mariadb.org/browse/MDEV-25631
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/DKJRBYJAQCOPHSED43A3HUPNKQLDTFGD/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/EZFZVMJL5UDTOZMARLXQIMG3BTG6UNYW/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/NJ4KDAGF3H4D4BDTHRAM6ZEAJJWWMRUO/
- https://mariadb.com/kb/en/security/
- https://security.netapp.com/advisory/ntap-20220311-0003/
- https://jira.mariadb.org/browse/MDEV-25631
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/DKJRBYJAQCOPHSED43A3HUPNKQLDTFGD/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/EZFZVMJL5UDTOZMARLXQIMG3BTG6UNYW/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/NJ4KDAGF3H4D4BDTHRAM6ZEAJJWWMRUO/
- https://mariadb.com/kb/en/security/
- https://security.netapp.com/advisory/ntap-20220311-0003/
Get alerted when CVE-2021-46659 or the next vulnerability affects your stack