Alpine: mariadb: security update to 10.5.15-r0

high Tenable Cloud Security Plugin ID 405540

Description

There are packages installed that are affected by multiple vulnerabilities referenced in the following CVEs:

- MariaDB CONNECT Storage Engine Heap-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 heap-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-16190.
(CVE-2022-24052)

- MariaDB before 10.7.2 allows an application crash because it does not recognize that
SELECT_LEX::nest_level is local to each VIEW. (CVE-2021-46659)

- MariaDB through 10.5.9 allows an application crash in find_field_in_tables and find_order_in_list via an
unused common table expression (CTE). (CVE-2021-46661)

- MariaDB through 10.5.13 allows a ha_maria::extra application crash via certain SELECT statements.
(CVE-2021-46663)

- MariaDB through 10.5.9 allows an application crash in sub_select_postjoin_aggr for a NULL value of aggr.
(CVE-2021-46664)

See Also

https://security.alpinelinux.org/vuln/CVE-2021-46659

https://security.alpinelinux.org/vuln/CVE-2021-46661

https://security.alpinelinux.org/vuln/CVE-2021-46663

https://security.alpinelinux.org/vuln/CVE-2021-46664

https://security.alpinelinux.org/vuln/CVE-2021-46665

https://security.alpinelinux.org/vuln/CVE-2021-46668

https://security.alpinelinux.org/vuln/CVE-2022-24048

https://security.alpinelinux.org/vuln/CVE-2022-24050

https://security.alpinelinux.org/vuln/CVE-2022-24051

https://security.alpinelinux.org/vuln/CVE-2022-24052

Plugin Details

Severity: High

ID: 405540

Version: Revision 1.25

Type: Local

Published: 10/31/2023

Updated: 7/2/2026

Supported Sensors: Agentless Assessment, Tenable Cloud Security, Tenable Self-Hosted Container Security

Risk Information

VPR

Risk Factor: Medium

Score: 5

Percentile: 94.89

CVSS v2

Risk Factor: Medium

Base Score: 4.6

Temporal Score: 3.6

Vector: CVSS2#AV:L/AC:L/Au:N/C:P/I:P/A:P

CVSS Score Source: CVE-2022-24052

CVSS v3

Risk Factor: High

Base Score: 7.8

Temporal Score: 7

Vector: CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Temporal Vector: CVSS:3.0/E:P/RL:O/RC:C

Vulnerability Information

Exploit Available: true

Exploit Ease: Exploits are available

Vulnerability Publication Date: 1/29/2022

Reference Information

CVE: CVE-2021-46659, CVE-2021-46661, CVE-2021-46663, CVE-2021-46664, CVE-2021-46665, CVE-2021-46668, CVE-2022-24048, CVE-2022-24050, CVE-2022-24051, CVE-2022-24052