CVE-2022-24048

HIGH7.8EPSS 0.06%
Published: 2/18/2022Modified: 4/28/2026

Description

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.

Affected packages (5)

  • Alpine/mariadbfrom 0, < 10.4.24-r0
  • Bitnami/mariadb>= 10.2.0, < 10.2.42, >= 10.3.0, < 10.3.33, >= 10.4.0, < 10.4.23, >= 10.5.0, < 10.5.14, >= 10.6.0, < 10.6.6, >= 10.7.0, < 10.7.2, >= 10.8.0, < 10.8.1
  • Bitnami/mariadb-min>= 10.2.0, < 10.2.42, >= 10.3.0, < 10.3.33, >= 10.4.0, < 10.4.23, >= 10.5.0, < 10.5.14, >= 10.6.0, < 10.6.6, >= 10.7.0, < 10.7.2 | >= 10.8.0, <= 10.8.0
  • Bitnami/mysql-client>= 10.2.0, < 10.2.42, >= 10.3.0, < 10.3.33, >= 10.4.0, < 10.4.23, >= 10.5.0, < 10.5.14, >= 10.6.0, < 10.6.6, >= 10.7.0, < 10.7.2, >= 10.8.0, < 10.8.1
  • Debian/mariadb-10.5from 0, < 1:10.5.15-0+deb11u1

CVSS scores

SourceVersionSeverityVector
osvCVSS 3.1HIGH7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

References (9)