Use of Externally-Controlled Format String Affecting mariadb package, versions <10.6.7-r0


Severity

Recommended
0.0
high
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
0.05% (16th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Use of Externally-Controlled Format String vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-ALPINE315-MARIADB-2429955
  • published18 Mar 2022
  • disclosed18 Feb 2022

Introduced: 18 Feb 2022

CVE-2022-24051  (opens in a new tab)
CWE-134  (opens in a new tab)

How to fix?

Upgrade Alpine:3.15 mariadb to version 10.6.7-r0 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream mariadb package and not the mariadb package as distributed by Alpine. See How to fix? for Alpine:3.15 relevant fixed versions and status.

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.

CVSS Scores

version 3.1