Name | CVE-2022-24050 |
Description | MariaDB CONNECT Storage Engine Use-After-Free 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 validating the existence of an object prior to performing operations on the object. An attacker can leverage this vulnerability to escalate privileges and execute arbitrary code in the context of the service account. Was ZDI-CAN-16207. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
References | ELA-1189-1 |
Vulnerable and fixed packages
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|
mariadb-10.1 (PTS) | stretch (security) | 10.1.48-0+deb9u2 | vulnerable |
| stretch (lts), stretch | 10.1.48-0+deb9u5 | fixed |
mariadb-10.3 (PTS) | buster, buster (lts) | 1:10.3.39-0+deb10u3 | fixed |
| buster (security) | 1:10.3.39-0+deb10u2 | fixed |
mariadb-10.5 (PTS) | bullseye | 1:10.5.23-0+deb11u1 | fixed |
| bullseye (security) | 1:10.5.26-0+deb11u2 | fixed |
The information below is based on the following data on fixed versions.
Notes
Fixed in MariaDB: 10.6.6, 10.5.14, 10.4.23, 10.3.33, 10.2.42
https://www.zerodayinitiative.com/advisories/ZDI-22-364/
Fixed by: https://github.com/MariaDB/server/commit/8afcda9309832f44a9ba27aaf16d08a0357c0880 (mariadb-10.2.42)