First published: Sat Jan 29 2022(Updated: )
save_window_function_values in MariaDB before 10.6.3 allows an application crash because of incorrect handling of with_window_func=true for a subquery.
Credit: cve@mitre.org
Affected Software | Affected Version | How to fix |
---|---|---|
Mariadb Mariadb | >=10.2.0<10.2.40 | |
Mariadb Mariadb | >=10.3.0<10.3.31 | |
Mariadb Mariadb | >=10.4.0<10.4.21 | |
Mariadb Mariadb | >=10.5.0<10.5.12 | |
Mariadb Mariadb | >=10.6.0<10.6.3 | |
redhat/mariadb | <10.2.40 | 10.2.40 |
redhat/mariadb | <10.3.31 | 10.3.31 |
redhat/mariadb | <10.4.21 | 10.4.21 |
redhat/mariadb | <10.5.12 | 10.5.12 |
redhat/mariadb | <10.6.3 | 10.6.3 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
CVE-2021-46658 has a high severity due to the potential for application crashes.
To fix CVE-2021-46658, upgrade MariaDB to version 10.6.3 or later.
CVE-2021-46658 affects MariaDB versions before 10.6.3, specifically versions 10.2.0 to 10.2.40, 10.3.0 to 10.3.31, 10.4.0 to 10.4.21, and 10.5.0 to 10.5.12.
Exploiting CVE-2021-46658 can lead to an application crash when handling subqueries with window functions.
There are no known workarounds for CVE-2021-46658; the only solution is to update to the fixed version.