PT-2022-4772 · Mariadb+9 · Mariadb+10
Zuming Jiang
·
Published
2021-05-27
·
Updated
2025-06-10
·
CVE-2021-46668
CVSS v3.1
5.5
Medium
| Vector | AV: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 10.5.9 and earlier
Description
The issue is related to an uncontrolled resource consumption in MariaDB. This can be exploited to cause a denial of service. The problem arises from certain long SELECT DISTINCT statements that improperly interact with storage-engine resource limitations for temporary data structures.
Recommendations
For MariaDB versions 10.5.9 and earlier, consider upgrading to a version that contains a fix for this issue. As a temporary workaround, consider restricting the use of long SELECT DISTINCT statements to minimize the risk of exploitation. Additionally, review configuration settings related to storage-engine resource limitations to ensure they are properly set to prevent abuse.
Exploit
Fix
Resource Exhaustion
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Alt Linux
Almalinux
Astra Linux
Centos
Linuxmint
Mariadb
Mariadb Server
Red Hat
Rocky Linux
Suse
Ubuntu