CVE-2022-24051
7.8
HIGH
CVSS 3.1
EPSS 0.06%
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.
How to fix CVE-2022-24051
To remediate CVE-2022-24051, upgrade the affected package to a fixed version below.
- —upgrade to 10.4.24-r0 or later
- —upgrade to 10.2.42 or later
- —upgrade to 10.2.42 or later
- —upgrade to 10.2.42 or later
- —upgrade to 1:10.5.15-0+deb11u1 or later
Is CVE-2022-24051 being exploited?
Low — EPSS is 0.1%, meaning exploitation activity has not been observed at scale.
Affected packages (5)
- from 0, < 10.4.24-r0
- >= 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
- >= 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
- >= 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
- from 0, < 1:10.5.15-0+deb11u1
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | HIGH7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |