Buffer Overflow Affecting mariadb package, versions <3:10.5.16-2.el9_0


Severity

Recommended
medium

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
0.05% (20th 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 IDSNYK-RHEL9-MARIADB-3379361
  • published1 Apr 2022
  • disclosed18 Feb 2022

Introduced: 18 Feb 2022

CVE-2022-24048  (opens in a new tab)
CWE-120  (opens in a new tab)
First added by Snyk

How to fix?

Upgrade RHEL:9 mariadb to version 3:10.5.16-2.el9_0 or higher.
This issue was patched in RHSA-2022:5948.

NVD Description

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

MariaDB CONNECT Storage Engine Stack-based Buffer Overflow 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 the length of user-supplied data prior to copying it to a fixed-length stack-based buffer. An attacker can leverage this vulnerability to escalate privileges and execute arbitrary code in the context of the service account. Was ZDI-CAN-16191.

CVSS Scores

version 3.1