PT-2022-1774 · Mariadb+10 · Mariadb+11

Published

2021-05-10

·

Updated

2025-06-10

·

CVE-2021-46659

CVSS v3.1

5.5

Medium

VectorAV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Name of the Vulnerable Software and Affected Versions MariaDB versions prior to 10.7.2
Description The issue is related to incorrect management of internal resources in MariaDB, specifically with the SELECT LEX::nest level component. This can lead to an application crash because MariaDB does not recognize that SELECT LEX::nest level is local to each VIEW. Exploitation of this issue may allow a remote attacker to execute specially crafted queries and perform a denial-of-service (DoS) attack.
Recommendations For MariaDB versions prior to 10.7.2, update to version 10.7.2 or later to resolve the issue. As a temporary workaround, consider restricting the use of views that utilize the SELECT LEX::nest level component to minimize the risk of exploitation.

Exploit

Fix

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

ALSA-2022:5826
ALSA-2022:5948
ALSA-2022:6443
ALT-PU-2022-2360
ALT-PU-2022-2446
ALT-PU-2023-1583
ALT-PU-2023-6462
AZL-8454
BDU:2022-01074
BIT-MARIADB-2021-46659
BIT-MARIADB-MIN-2021-46659
BIT-MYSQL-CLIENT-2021-46659
CESA-2022_5826
CESA-2022_6443
CVE-2021-46659
MGASA-2022-0070
OESA-2022-1587
OPENSUSE-SU-2022:0731-1
OPENSUSE-SU-2022_0725-1
OPENSUSE-SU-2022_0726-1
OPENSUSE-SU-2022_0731-1
OPENSUSE-SU-2022_0731-2
OPENSUSE-SU-2022_2561-1
OPENSUSE-SU-2024:11867-1
RHSA-2022:5759
RHSA-2022:5826
RHSA-2022:5948
RHSA-2022:6306
RHSA-2022:6443
RHSA-2022_5826
RHSA-2022_5948
RHSA-2022_6443
RHSA-2023:6821
RLSA-2022:5826
RLSA-2022:5948
RLSA-2022:6443
ROSA-SA-2023-2252
SUSE-RU-2023:3956-1
SUSE-RU-2023:4991-1
SUSE-SU-2022:0725-1
SUSE-SU-2022:0726-1
SUSE-SU-2022:0731-1
SUSE-SU-2022:0731-2
SUSE-SU-2022:0782-1
SUSE-SU-2022:2561-1
USN-5305-1

Affected Products

Alt Linux
Almalinux
Astra Linux
Centos
Linuxmint
Mariadb
Mariadb Server
Red Hat
Red Os
Rocky Linux
Suse
Ubuntu