NetSight
high7.8

CVE-2022-24048

MariaDB CONNECT Storage Engine Stack-based Buffer Overflow Privilege Escalation Vulnerability.

Impact

MariaDB CONNECT Storage Engine Stack-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 stack-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-16191.

Affected products

VendorProductAffected versions
MariadbMariadb
from 10.2.0 before 10.2.42
from 10.3.0 before 10.3.33
from 10.4.0 before 10.4.23
from 10.5.0 before 10.5.14
from 10.6.0 before 10.6.6
from 10.7.0 before 10.7.2
FedoraprojectFedora
Versions 34, 35, 36

Weakness classification

References