Buffer overflow in Mariadb
CVE-2022-24048
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.
Vulnerability class: Buffer Overflow
EPSS: 0.007 (49.0th percentile) — read the EPSS interpretation.
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.
Affected products
- Mariadb — versions 10.8.0, 10.6.5
- Fedoraproject Fedora — versions 34, 35, 36
Weakness classification (CWE)
References
- zdi-disclosures@trendmicro.com (Patch, x_refsource_MISC, Vendor Advisory)
- zdi-disclosures@trendmicro.com (VDB Entry, Third Party Advisory, x_refsource_MISC)
- zdi-disclosures@trendmicro.com (x_refsource_CONFIRM, Third Party Advisory)
- zdi-disclosures@trendmicro.com (x_refsource_FEDORA, vendor-advisory)
- zdi-disclosures@trendmicro.com (x_refsource_FEDORA, vendor-advisory)
- zdi-disclosures@trendmicro.com (x_refsource_FEDORA, vendor-advisory)
Frequently asked questions
- What is CVE-2022-24048?
- CVE-2022-24048 is a high-severity vulnerability in Mariadb, classified under Stack-based Buffer Overflow. CVSS score: 7.8/10. Published 2022-02-18.
- How severe is CVE-2022-24048?
- High severity. CVSS v3 base score is 7.8 out of 10.