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 (51.0th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 51st percentile — 51.0% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.007 · newest: 0.007 · change: 0.000
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)
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/… (vendor-advisory)
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/… (vendor-advisory)
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/… (vendor-advisory)
Frequently asked questions
- What is CVE-2022-24052?
- CVE-2022-24052 is a high-severity vulnerability in Mariadb, classified under Heap-based Buffer Overflow. CVSS score: 7.8/10. Published 2022-02-18.
- How severe is CVE-2022-24052?
- High severity. CVSS v3 base score is 7.8 out of 10.