Stack-based Buffer Overflow Affecting mariadb:10.5/mariadb-backup package, versions <3:10.3.35-1.module_el8.6.0+3265+230ed96b


Severity

Recommended
medium

Based on AlmaLinux security rating.

Threat Intelligence

EPSS
0.05% (19th 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-ALMALINUX8-MARIADB-5617910
  • published28 May 2023
  • disclosed9 Aug 2022

Introduced: 9 Aug 2022

CVE-2022-24048  (opens in a new tab)
CWE-121  (opens in a new tab)

How to fix?

Upgrade AlmaLinux:8 mariadb:10.5/mariadb-backup to version 3:10.3.35-1.module_el8.6.0+3265+230ed96b or higher.
This issue was patched in ALSA-2022:6443.

NVD Description

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