CVE-2022-24051

    Dashboard / Vulnerabilities / CVE-2022-24051

    CVE-2022-24051

    Published: 18 Feb 2022Last Modified: 24 Oct 2026

    Summary:

    Details: MariaDB CONNECT Storage Engine Format String 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 a user-supplied string before using it as a format specifier. An attacker can leverage this vulnerability to escalate privileges and execute arbitrary code in the context of the service account. Was ZDI-CAN-16193.

    Affected packages

    Package

    Name:

    Purl:

    Affected ranges

    Type: GIT

    Events:

    Introduced- 9664240c948a92c22ccda0e1f5a420eb776ddcb1

    Affected versions

    mariadb-10.6.5
    mariadb-10.6.4
    mariadb-10.6.3
    mariadb-10.6.2
    mariadb-10.6.1
    mariadb-10.6.0

    Common Vulnerability Scoring System

    Attack Vector
    Network
    Adjacent
    Local
    Physical
    Privileges Required
    None
    Low
    High
    User Interaction
    None
    Required
    Scope
    Unchanged
    Changed
    Confidentiality
    None
    Low
    High
    Integrity
    None
    Low
    High
    Availability
    None
    Low
    High
    CVE-2022-24051 | CVE-DB