CVE-2022-24051

Severity CVSS v4.0:
Pending analysis
Type:
CWE-134 Format String Vulnerability
Publication date:
18/02/2022
Last modified:
07/11/2023

Description

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.

Vulnerable products and versions

CPE From Up to
cpe:2.3:a:mariadb:mariadb:*:*:*:*:*:*:*:* 10.2.0 (including) 10.2.42 (excluding)
cpe:2.3:a:mariadb:mariadb:*:*:*:*:*:*:*:* 10.3.0 (including) 10.3.33 (excluding)
cpe:2.3:a:mariadb:mariadb:*:*:*:*:*:*:*:* 10.4.0 (including) 10.4.23 (excluding)
cpe:2.3:a:mariadb:mariadb:*:*:*:*:*:*:*:* 10.5.0 (including) 10.5.14 (excluding)
cpe:2.3:a:mariadb:mariadb:*:*:*:*:*:*:*:* 10.6.0 (including) 10.6.6 (excluding)
cpe:2.3:a:mariadb:mariadb:*:*:*:*:*:*:*:* 10.7.0 (including) 10.7.2 (excluding)
cpe:2.3:a:mariadb:mariadb:10.8.0:*:*:*:*:*:*:*
cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:*
cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:*
cpe:2.3:o:fedoraproject:fedora:36:*:*:*:*:*:*:*