Resource exhaustion in MariaDB - CVE-2021-46658
Published: May 31, 2022
Vulnerability identifier: #VU63852
CSH Severity: Low
CVSS v4: 6.8 [CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2021-46658
CWE-ID: CWE-400
Exploitation vector: Local access
Exploit availability:
No public exploit available
Vulnerability details
The vulnerability allows a local user to perform a denial of service (DoS) attack.
The vulnerability exists due to improper handling of with_window_func=true for a subquery. A local user can trigger resource exhaustion and perform a denial of service (DoS) attack.
Affected software
MariaDB
Amazon Linux AMI
SUSE CaaS Platform
SUSE Manager Proxy
SUSE Manager Server
SUSE Manager Retail Branch Server
SUSE Enterprise Storage
Red Hat Enterprise Linux for x86_64
Red Hat Enterprise Linux for IBM z Systems
Red Hat Enterprise Linux for Power, little endian
Red Hat Enterprise Linux for ARM 64
Anolis OS
Red Hat Enterprise Linux for x86_64 - Extended Update Support
Red Hat Enterprise Linux Server - AUS
Red Hat Enterprise Linux for IBM z Systems - Extended Update Support
Red Hat Enterprise Linux for Power, little endian - Extended Update Support
Red Hat Enterprise Linux Server - TUS
Red Hat Enterprise Linux for ARM 64 - Extended Update Support
SUSE Linux Enterprise High Performance Computing
SUSE Linux Enterprise Server
SUSE Linux Enterprise Server for SAP
SUSE Linux Enterprise Realtime Extension
SUSE Linux Enterprise Server for SAP Applications
SUSE Linux Enterprise Module for Server Applications
openSUSE Leap
openEuler
Fedora
Red Hat Enterprise Linux Server for Power LE - Update Services for SAP Solutions
Red Hat Enterprise Linux Server for x86_64 - Update Services for SAP Solutions
Judy
Judy-devel
asio-devel
mariadb-debugsource
libmysqld-devel
libmysqld19
libmysqld19-debuginfo
mariadb
mariadb-client
mariadb-client-debuginfo
mariadb-debuginfo
mariadb-tools
mariadb-tools-debuginfo
mariadb-errormessages
mariadb-server
mariadb-server-utils
mariadb-server-galera
mariadb-oqgraph-engine
mariadb-gssapi-server
mariadb-errmsg
mariadb-embedded-devel
mariadb-embedded
mariadb-devel
mariadb-common
mariadb-backup
mariadb-test
libmariadbd19-debuginfo
libmariadbd19
libmariadbd-devel
mariadb-pam
mariadb-config
mariadb-rocksdb-engine
mariadb-galera
mariadb105
mariadb-bench
mariadb-bench-debuginfo
mariadb-rpm-macros
mariadb-test-debuginfo
galera
Amazon Linux AMI
SUSE CaaS Platform
SUSE Manager Proxy
SUSE Manager Server
SUSE Manager Retail Branch Server
SUSE Enterprise Storage
Red Hat Enterprise Linux for x86_64
Red Hat Enterprise Linux for IBM z Systems
Red Hat Enterprise Linux for Power, little endian
Red Hat Enterprise Linux for ARM 64
Anolis OS
Red Hat Enterprise Linux for x86_64 - Extended Update Support
Red Hat Enterprise Linux Server - AUS
Red Hat Enterprise Linux for IBM z Systems - Extended Update Support
Red Hat Enterprise Linux for Power, little endian - Extended Update Support
Red Hat Enterprise Linux Server - TUS
Red Hat Enterprise Linux for ARM 64 - Extended Update Support
SUSE Linux Enterprise High Performance Computing
SUSE Linux Enterprise Server
SUSE Linux Enterprise Server for SAP
SUSE Linux Enterprise Realtime Extension
SUSE Linux Enterprise Server for SAP Applications
SUSE Linux Enterprise Module for Server Applications
openSUSE Leap
openEuler
Fedora
Red Hat Enterprise Linux Server for Power LE - Update Services for SAP Solutions
Red Hat Enterprise Linux Server for x86_64 - Update Services for SAP Solutions
Judy
Judy-devel
asio-devel
mariadb-debugsource
libmysqld-devel
libmysqld19
libmysqld19-debuginfo
mariadb
mariadb-client
mariadb-client-debuginfo
mariadb-debuginfo
mariadb-tools
mariadb-tools-debuginfo
mariadb-errormessages
mariadb-server
mariadb-server-utils
mariadb-server-galera
mariadb-oqgraph-engine
mariadb-gssapi-server
mariadb-errmsg
mariadb-embedded-devel
mariadb-embedded
mariadb-devel
mariadb-common
mariadb-backup
mariadb-test
libmariadbd19-debuginfo
libmariadbd19
libmariadbd-devel
mariadb-pam
mariadb-config
mariadb-rocksdb-engine
mariadb-galera
mariadb105
mariadb-bench
mariadb-bench-debuginfo
mariadb-rpm-macros
mariadb-test-debuginfo
galera
How to mitigate CVE-2021-46658
Install updates from vendor's website.
MariaDB - addressed in versions 10.2.40, 10.3.31, 10.4.21, 10.5.12, 10.6.3
Judy - update to 1.0.5-18
Judy-devel - update to 1.0.5-18
asio-devel - update to 1.10.8-7
mariadb-debugsource - addressed in versions 10.2.43-3.51.1, 10.4.24-3.25.1, 10.5.15-150300.3.15.1, 10.6.8-150400.3.7.1
libmysqld-devel - update to 10.2.43-3.51.1
libmysqld19 - update to 10.2.43-3.51.1
libmysqld19-debuginfo - update to 10.2.43-3.51.1
mariadb - addressed in versions 10.2.43-3.51.1, 10.4.24-3.25.1, 10.5.15-150300.3.15.1, 10.6.8-150400.3.7.1
mariadb-client - addressed in versions 10.2.43-3.51.1, 10.4.24-3.25.1, 10.5.15-150300.3.15.1, 10.6.8-150400.3.7.1
mariadb-client-debuginfo - addressed in versions 10.2.43-3.51.1, 10.4.24-3.25.1, 10.5.15-150300.3.15.1, 10.6.8-150400.3.7.1
mariadb-debuginfo - addressed in versions 10.2.43-3.51.1, 10.4.24-3.25.1, 10.5.15-150300.3.15.1, 10.6.8-150400.3.7.1
mariadb-tools - addressed in versions 10.2.43-3.51.1, 10.4.24-3.25.1, 10.5.15-150300.3.15.1, 10.6.8-150400.3.7.1
mariadb-tools-debuginfo - addressed in versions 10.2.43-3.51.1, 10.4.24-3.25.1, 10.5.15-150300.3.15.1, 10.6.8-150400.3.7.1
mariadb-errormessages - addressed in versions 10.2.43-3.51.1, 10.4.24-3.25.1, 10.5.15-150300.3.15.1, 10.6.8-150400.3.7.1
mariadb-server - addressed in versions 10.3.32-2, 10.5.13-1
mariadb-server-utils - addressed in versions 10.3.32-2, 10.5.13-1
mariadb-server-galera - addressed in versions 10.3.32-2, 10.5.13-1
mariadb-oqgraph-engine - addressed in versions 10.3.32-2, 10.5.13-1
mariadb-gssapi-server - addressed in versions 10.3.32-2, 10.5.13-1
mariadb-errmsg - addressed in versions 10.3.32-2, 10.5.13-1
mariadb-embedded-devel - addressed in versions 10.3.32-2, 10.5.13-1
mariadb-embedded - addressed in versions 10.3.32-2, 10.5.13-1
mariadb-devel - addressed in versions 10.3.32-2, 10.5.13-1
mariadb-common - addressed in versions 10.3.32-2, 10.5.13-1
mariadb-backup - addressed in versions 10.3.32-2, 10.5.13-1
mariadb - addressed in versions 10.3.32-2, 10.5.13-1
mariadb-test - addressed in versions 10.3.32-2, 10.5.13-1
mariadb - addressed in versions 10.3-3520220716094844.f27b74a8, 10.4-3520220717092835.f27b74a8
libmariadbd19-debuginfo - addressed in versions 10.4.24-3.25.1, 10.5.15-150300.3.15.1, 10.6.8-150400.3.7.1
libmariadbd19 - addressed in versions 10.4.24-3.25.1, 10.5.15-150300.3.15.1, 10.6.8-150400.3.7.1
libmariadbd-devel - addressed in versions 10.4.24-3.25.1, 10.5.15-150300.3.15.1, 10.6.8-150400.3.7.1
mariadb-pam - update to 10.5.13-1
mariadb-config - update to 10.5.15-2
mariadb-server-utils - update to 10.5.15-2
mariadb-rocksdb-engine - update to 10.5.15-2
mariadb-pam - update to 10.5.15-2
mariadb-oqgraph-engine - update to 10.5.15-2
mariadb-debuginfo - update to 10.5.15-2
mariadb-debugsource - update to 10.5.15-2
mariadb-gssapi-server - update to 10.5.15-2
mariadb-errmsg - update to 10.5.15-2
mariadb - update to 10.5.15-2
mariadb-common - update to 10.5.15-2
mariadb-embedded-devel - update to 10.5.15-2
mariadb-test - update to 10.5.15-2
mariadb-server - update to 10.5.15-2
mariadb-devel - update to 10.5.15-2
mariadb-server-galera - update to 10.5.15-2
mariadb-embedded - update to 10.5.15-2
mariadb-backup - update to 10.5.15-2
mariadb-galera - addressed in versions 10.5.15-150300.3.15.1, 10.6.8-150400.3.7.1
mariadb105 - update to 10.5.16-1
mariadb-bench - update to 10.6.8-150400.3.7.1
mariadb-bench-debuginfo - update to 10.6.8-150400.3.7.1
mariadb-rpm-macros - update to 10.6.8-150400.3.7.1
mariadb-test - update to 10.6.8-150400.3.7.1
mariadb-test-debuginfo - update to 10.6.8-150400.3.7.1
galera - addressed in versions 25.3.34-4, 26.4.9-4
Judy - update to 1.0.5-18
Judy-devel - update to 1.0.5-18
asio-devel - update to 1.10.8-7
mariadb-debugsource - addressed in versions 10.2.43-3.51.1, 10.4.24-3.25.1, 10.5.15-150300.3.15.1, 10.6.8-150400.3.7.1
libmysqld-devel - update to 10.2.43-3.51.1
libmysqld19 - update to 10.2.43-3.51.1
libmysqld19-debuginfo - update to 10.2.43-3.51.1
mariadb - addressed in versions 10.2.43-3.51.1, 10.4.24-3.25.1, 10.5.15-150300.3.15.1, 10.6.8-150400.3.7.1
mariadb-client - addressed in versions 10.2.43-3.51.1, 10.4.24-3.25.1, 10.5.15-150300.3.15.1, 10.6.8-150400.3.7.1
mariadb-client-debuginfo - addressed in versions 10.2.43-3.51.1, 10.4.24-3.25.1, 10.5.15-150300.3.15.1, 10.6.8-150400.3.7.1
mariadb-debuginfo - addressed in versions 10.2.43-3.51.1, 10.4.24-3.25.1, 10.5.15-150300.3.15.1, 10.6.8-150400.3.7.1
mariadb-tools - addressed in versions 10.2.43-3.51.1, 10.4.24-3.25.1, 10.5.15-150300.3.15.1, 10.6.8-150400.3.7.1
mariadb-tools-debuginfo - addressed in versions 10.2.43-3.51.1, 10.4.24-3.25.1, 10.5.15-150300.3.15.1, 10.6.8-150400.3.7.1
mariadb-errormessages - addressed in versions 10.2.43-3.51.1, 10.4.24-3.25.1, 10.5.15-150300.3.15.1, 10.6.8-150400.3.7.1
mariadb-server - addressed in versions 10.3.32-2, 10.5.13-1
mariadb-server-utils - addressed in versions 10.3.32-2, 10.5.13-1
mariadb-server-galera - addressed in versions 10.3.32-2, 10.5.13-1
mariadb-oqgraph-engine - addressed in versions 10.3.32-2, 10.5.13-1
mariadb-gssapi-server - addressed in versions 10.3.32-2, 10.5.13-1
mariadb-errmsg - addressed in versions 10.3.32-2, 10.5.13-1
mariadb-embedded-devel - addressed in versions 10.3.32-2, 10.5.13-1
mariadb-embedded - addressed in versions 10.3.32-2, 10.5.13-1
mariadb-devel - addressed in versions 10.3.32-2, 10.5.13-1
mariadb-common - addressed in versions 10.3.32-2, 10.5.13-1
mariadb-backup - addressed in versions 10.3.32-2, 10.5.13-1
mariadb - addressed in versions 10.3.32-2, 10.5.13-1
mariadb-test - addressed in versions 10.3.32-2, 10.5.13-1
mariadb - addressed in versions 10.3-3520220716094844.f27b74a8, 10.4-3520220717092835.f27b74a8
libmariadbd19-debuginfo - addressed in versions 10.4.24-3.25.1, 10.5.15-150300.3.15.1, 10.6.8-150400.3.7.1
libmariadbd19 - addressed in versions 10.4.24-3.25.1, 10.5.15-150300.3.15.1, 10.6.8-150400.3.7.1
libmariadbd-devel - addressed in versions 10.4.24-3.25.1, 10.5.15-150300.3.15.1, 10.6.8-150400.3.7.1
mariadb-pam - update to 10.5.13-1
mariadb-config - update to 10.5.15-2
mariadb-server-utils - update to 10.5.15-2
mariadb-rocksdb-engine - update to 10.5.15-2
mariadb-pam - update to 10.5.15-2
mariadb-oqgraph-engine - update to 10.5.15-2
mariadb-debuginfo - update to 10.5.15-2
mariadb-debugsource - update to 10.5.15-2
mariadb-gssapi-server - update to 10.5.15-2
mariadb-errmsg - update to 10.5.15-2
mariadb - update to 10.5.15-2
mariadb-common - update to 10.5.15-2
mariadb-embedded-devel - update to 10.5.15-2
mariadb-test - update to 10.5.15-2
mariadb-server - update to 10.5.15-2
mariadb-devel - update to 10.5.15-2
mariadb-server-galera - update to 10.5.15-2
mariadb-embedded - update to 10.5.15-2
mariadb-backup - update to 10.5.15-2
mariadb-galera - addressed in versions 10.5.15-150300.3.15.1, 10.6.8-150400.3.7.1
mariadb105 - update to 10.5.16-1
mariadb-bench - update to 10.6.8-150400.3.7.1
mariadb-bench-debuginfo - update to 10.6.8-150400.3.7.1
mariadb-rpm-macros - update to 10.6.8-150400.3.7.1
mariadb-test - update to 10.6.8-150400.3.7.1
mariadb-test-debuginfo - update to 10.6.8-150400.3.7.1
galera - addressed in versions 25.3.34-4, 26.4.9-4
External References
Related Security Bulletins
- Red Hat Enterprise Linux 8.4 Extended Update Support update for the mariadb:10.3 module
- SUSE update for mariadb
- SUSE update for mariadb
- SUSE update for mariadb
- SUSE update for mariadb
- SUSE update for mariadb
- openEuler 22.03 LTS update for mariadb
- Amazon Linux AMI update for mariadb105
- Red Hat Enterprise Linux 8 update for the mariadb:10.3 module
- Red Hat Enterprise Linux 8 update for the mariadb:10.5 module
- Fedora 35 Modular update for mariadb
- Fedora 35 Modular update for mariadb
- Anolis OS update for mariadb:10.3 module
- Anolis OS update for mariadb:10.5 module