First published: Fri Feb 18 2022(Updated: )
MariaDB CONNECT Storage Engine Format String Privilege Escalation Vulnerability. This vulnerability allows local attackers to escalate privileges on affected installations of MariaDB. Authentication is required to exploit this vulnerability. The specific flaw exists within the processing of SQL queries. The issue results from the lack of proper validation of a user-supplied string before using it as a format specifier. An attacker can leverage this vulnerability to escalate privileges and execute arbitrary code in the context of the service account. Was ZDI-CAN-16193.
Credit: zdi-disclosures@trendmicro.com
Affected Software | Affected Version | How to fix |
---|---|---|
Mariadb Mariadb | ||
Mariadb Mariadb | >=10.2.0<10.2.42 | |
Mariadb Mariadb | >=10.3.0<10.3.33 | |
Mariadb Mariadb | >=10.4.0<10.4.23 | |
Mariadb Mariadb | >=10.5.0<10.5.14 | |
Mariadb Mariadb | >=10.6.0<10.6.6 | |
Mariadb Mariadb | >=10.7.0<10.7.2 | |
Mariadb Mariadb | =10.8.0 | |
Fedoraproject Fedora | =34 | |
Fedoraproject Fedora | =35 | |
Fedoraproject Fedora | =36 | |
redhat/mariadb | <10.8.1 | 10.8.1 |
redhat/mariadb | <10.7.2 | 10.7.2 |
redhat/mariadb | <10.6.6 | 10.6.6 |
redhat/mariadb | <10.5.14 | 10.5.14 |
redhat/mariadb | <10.4.23 | 10.4.23 |
redhat/mariadb | <10.3.33 | 10.3.33 |
redhat/mariadb | <10.2.42 | 10.2.42 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
CVE-2022-24051 is a vulnerability in the MariaDB CONNECT storage engine that allows local attackers to escalate privileges on affected installations of MariaDB.
Yes, authentication is required to exploit CVE-2022-24051.
CVE-2022-24051 has a severity score of 7.8, which is considered high.
Affected software includes MariaDB versions 10.2.0 to 10.2.42, 10.3.0 to 10.3.33, 10.4.0 to 10.4.23, 10.5.0 to 10.5.14, 10.6.0 to 10.6.6, and 10.7.0 to 10.7.2.
To fix CVE-2022-24051, upgrade your MariaDB installation to version 10.2.42, 10.3.33, 10.4.23, 10.5.14, 10.6.6, or 10.7.2.