CVE-2022-24052
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.
How to fix
- mariadb mariadb10.2.42, 10.3.33, 10.4.23, 10.5.14, 10.6.6, 10.7.2 or later
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/NJ4KDAGF3H4D4BDTHRAM6ZEAJJWWMRUO/
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/DKJRBYJAQCOPHSED43A3HUPNKQLDTFGD/
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/EZFZVMJL5UDTOZMARLXQIMG3BTG6UNYW/
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| mariadb mariadb | 10.2.0 ≤ v < 10.2.42, 10.3.0 ≤ v < 10.3.33, 10.4.0 ≤ v < 10.4.23, 10.5.0 ≤ v < 10.5.14, 10.6.0 ≤ v < 10.6.6, 10.7.0 ≤ v < 10.7.2, 10.8.0 | 10.2.42, 10.3.33, 10.4.23, 10.5.14, 10.6.6, 10.7.2 |
| fedoraproject fedora | 34, 35, 36 | — |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.