Improper Input Validation Affecting mariadb:10.5/mariadb-server-utils package, versions <3:10.5.16-2.module+el8.6.0+15639+405b7427


Severity

Recommended
medium

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
0.04% (12th 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 Improper Input Validation vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-RHEL8-MARIADB-5028390
  • published25 Mar 2022
  • disclosed18 Feb 2022

Introduced: 18 Feb 2022

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

How to fix?

Upgrade RHEL:8 mariadb:10.5/mariadb-server-utils to version 3:10.5.16-2.module+el8.6.0+15639+405b7427 or higher.
This issue was patched in RHSA-2022:5826.

NVD Description

Note: Versions mentioned in the description apply only to the upstream mariadb:10.5/mariadb-server-utils package and not the mariadb:10.5/mariadb-server-utils package as distributed by RHEL. See How to fix? for RHEL:8 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