CVE-2022-24052

Severity CVSS v4.0:
Pending analysis
Type:
CWE-122 Heap-based Buffer Overflow
Publication date:
18/02/2022
Last modified:
07/11/2023

Description

MariaDB CONNECT Storage Engine Heap-based Buffer Overflow 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 the length of user-supplied data prior to copying it to a fixed-length heap-based buffer. An attacker can leverage this vulnerability to escalate privileges and execute arbitrary code in the context of the service account. Was ZDI-CAN-16190.

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:*:*:*:*:*:*:*