CVEvulnerability

CVE-2022-24052

7.8 HIGH Published 2022-02-18 Modified 2026-06-17 Official page ↗
Status
Modified
Published
2022-02-18
Last modified
2026-06-17
Assigner
[email protected]
CVSS 3.1 ([email protected])
7.8 HIGH — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS 3.0 ([email protected])
7.0 HIGH — CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS 2.0 ([email protected])
4.6 MEDIUM — AV:L/AC:L/Au:N/C:P/I:P/A:P
Weaknesses
CWE-122

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.

Affected configurations

• mariadb mariadb (>= 10.2.0 < 10.2.42) • mariadb mariadb (>= 10.3.0 < 10.3.33) • mariadb mariadb (>= 10.4.0 < 10.4.23) • mariadb mariadb (>= 10.5.0 < 10.5.14) • mariadb mariadb (>= 10.6.0 < 10.6.6) • mariadb mariadb (>= 10.7.0 < 10.7.2) • mariadb mariadb 10.8.0 • fedoraproject fedora 34 • fedoraproject fedora 35 • fedoraproject fedora 36

Related

Weakness · CWE (1)

  • CWE-122 Heap-based Buffer Overflow weakness

References