Buffer overflow in Mariadb
CVE-2022-24052
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.
Vulnerability class: Buffer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.8 (High). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.007, 53.5th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Mariadb — versions 10.8.0, 10.6.5
- Fedoraproject Fedora — versions 34, 35, 36
Weakness classification (CWE)
References
- mariadb.com/kb/en/security/ (Patch, Vendor Advisory)
- www.zerodayinitiative.com/advisories/ZDI-22-367/ (VDB Entry, Third Party Advisory)
- security.netapp.com/advisory/ntap-20220318-0004/ (Third Party Advisory)
- FEDORA-2022-263f7cc483 (vendor-advisory)
- FEDORA-2022-03350936ee (vendor-advisory)
- FEDORA-2022-5cfe372ab7 (vendor-advisory)