Original description
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 software
- MariaDB = 10.8.0≥ 10.2.0 < 10.2.42≥ 10.7.0 < 10.7.2≥ 10.6.0 < 10.6.6≥ 10.5.0 < 10.5.14≥ 10.3.0 < 10.3.33 Fixed in: 10.2.42, 10.7.2, 10.6.6, 10.5.14 exact match
Details
- Published
- 2022-02-18
- Last modified
- 2026-06-17
- CVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H- CWE
- CWE-134
- EPSS (30-day exploit probability)
- 0.66% (percentile 52)
References
- cve.org/CVE-2022-24051
- nvd.nist.gov/vuln/detail/CVE-2022-24051
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/D...
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/E...
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/N...
- mariadb.com/kb/en/security/
- security.netapp.com/advisory/ntap-20220318-0004/
- www.zerodayinitiative.com/advisories/ZDI-22-318/
Track these versions on your own servers
InfraGuard collects installed software versions from every server and flags the ones with known vulnerabilities. Self-hosted — nothing leaves your network.
This product uses data from the NVD API but is not endorsed or certified by the NVD. CVE® is a registered trademark of The MITRE Corporation; CVE records are used under the CVE Program Terms of Use.