First published: Tue Feb 01 2022(Updated: )
MariaDB through 10.5.9 allows an application crash in sub_select_postjoin_aggr for a NULL value of aggr.
Credit: cve@mitre.org
Affected Software | Affected Version | How to fix |
---|---|---|
redhat/mariadb | <10.2.43 | 10.2.43 |
redhat/mariadb | <10.3.34 | 10.3.34 |
redhat/mariadb | <10.4.24 | 10.4.24 |
redhat/mariadb | <10.5.15 | 10.5.15 |
redhat/mariadb | <10.6.7 | 10.6.7 |
redhat/mariadb | <10.7.3 | 10.7.3 |
redhat/mariadb | <10.8.2 | 10.8.2 |
MariaDB Server | >=10.2.0<10.2.43 | |
MariaDB Server | >=10.3.0<10.3.34 | |
MariaDB Server | >=10.4.0<10.4.24 | |
MariaDB Server | >=10.5.0<10.5.15 | |
MariaDB Server | >=10.6.0<10.6.7 | |
MariaDB Server | >=10.7.0<10.7.3 | |
Fedora | =34 | |
Fedora | =35 | |
Fedora | =36 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
The severity of CVE-2021-46664 is classified as a medium risk due to its potential to cause application crashes.
To fix CVE-2021-46664, upgrade to MariaDB versions 10.2.43, 10.3.34, 10.4.24, 10.5.15, 10.6.7, 10.7.3, or newer.
CVE-2021-46664 affects MariaDB versions prior to 10.5.10 and includes versions 10.2.x up to 10.2.43, 10.3.x up to 10.3.34, 10.4.x up to 10.4.24, and 10.5.x up to 10.5.9.
CVE-2021-46664 represents an application crash exploit that occurs in the sub_select_postjoin_aggr function when a NULL value of aggr is encountered.
A viable workaround for CVE-2021-46664 is to avoid sending NULL values in the aggregate function aggr for affected MariaDB versions.