Use-after-free in MariaDB - CVE-2021-46669
Published: May 31, 2022 / Updated: May 31, 2022
Vulnerability identifier: #VU63827
CSH Severity: Medium
CVSS v4: 8.7 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2021-46669
CWE-ID: CWE-416
Exploitation vector: Remote access
Exploit availability:
No public exploit available
Vulnerability details
The vulnerability allows a remote attacker to perform a denial of service attack.
The vulnerability exists due to a use-after-free error in the convert_const_to_int() function when processing BIGINT data type. A remote attacker can trigger use-after-free error and perform a denial of service attack.
Affected software
MariaDB
Red Hat Enterprise Linux Server for Power LE - Update Services for SAP Solutions
rh-mariadb103-mariadb (Red Hat package)
SUSE Linux Enterprise Module for Packagehub Subpackages
rh-mariadb103-galera (Red Hat package)
mysql-selinux (Red Hat package)
Judy-devel
Judy
asio-devel
mariadb-tools
mariadb-galera
mariadb-debugsource
mariadb-debuginfo
mariadb-tools-debuginfo
mariadb-client-debuginfo
mariadb-client
mariadb
mariadb-errormessages
libmysqld19-debuginfo
libmysqld19
libmysqld-devel
mariadb-common
mariadb-server
mariadb-devel
mariadb-backup
mariadb-cracklib
mariadb-oqgraph-engine
mariadb-embedded-devel
mariadb-gssapi-server
mariadb-errmessage
mariadb-test
mariadb-embedded
mariadb-server-galera
mariadb-errmsg
mariadb-server-utils
mariadb-server (Ubuntu package)
libmariadbd19-debuginfo
libmariadbd19
libmariadbd-devel
mariadb105
rh-mariadb105-mariadb (Red Hat package)
mariadb (Red Hat package)
mariadb-pam
mariadb-bench-debuginfo
mariadb-bench
mariadb-rpm-macros
mariadb-test-debuginfo
galera
rh-mariadb105-galera (Red Hat package)
galera (Red Hat package)
Gentoo Linux
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
Anolis OS
Red Hat Enterprise Linux for IBM z Systems
Red Hat Enterprise Linux for Power, little endian
Red Hat Enterprise Linux for ARM 64
Red Hat Enterprise Linux for x86_64 - Extended Update Support
Red Hat Enterprise Linux for ARM 64 - Extended Update Support
Red Hat Enterprise Linux Server - TUS
Red Hat Enterprise Linux for Power, little endian - Extended Update Support
Red Hat Enterprise Linux for IBM z Systems - Extended Update Support
Red Hat Enterprise Linux Server - AUS
SUSE OpenStack Cloud
SUSE OpenStack Cloud Crowbar
SUSE Linux Enterprise Server for SAP
SUSE Linux Enterprise Server
SUSE Linux Enterprise High Performance Computing
SUSE Linux Enterprise Server for SAP Applications
SUSE Linux Enterprise Module for Server Applications
openSUSE Leap
openEuler
Ubuntu
Fedora
Red Hat Software Collections
RecoverPoint for Virtual Machines
Unified Security Management
PowerVC
IBM Cloud Object Storage Systems
IBM Cloud Pak for Business Automation
Red Hat Enterprise Linux Server for Power LE - Update Services for SAP Solutions
rh-mariadb103-mariadb (Red Hat package)
SUSE Linux Enterprise Module for Packagehub Subpackages
rh-mariadb103-galera (Red Hat package)
mysql-selinux (Red Hat package)
Judy-devel
Judy
asio-devel
mariadb-tools
mariadb-galera
mariadb-debugsource
mariadb-debuginfo
mariadb-tools-debuginfo
mariadb-client-debuginfo
mariadb-client
mariadb
mariadb-errormessages
libmysqld19-debuginfo
libmysqld19
libmysqld-devel
mariadb-common
mariadb-server
mariadb-devel
mariadb-backup
mariadb-cracklib
mariadb-oqgraph-engine
mariadb-embedded-devel
mariadb-gssapi-server
mariadb-errmessage
mariadb-test
mariadb-embedded
mariadb-server-galera
mariadb-errmsg
mariadb-server-utils
mariadb-server (Ubuntu package)
libmariadbd19-debuginfo
libmariadbd19
libmariadbd-devel
mariadb105
rh-mariadb105-mariadb (Red Hat package)
mariadb (Red Hat package)
mariadb-pam
mariadb-bench-debuginfo
mariadb-bench
mariadb-rpm-macros
mariadb-test-debuginfo
galera
rh-mariadb105-galera (Red Hat package)
galera (Red Hat package)
Gentoo Linux
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
Anolis OS
Red Hat Enterprise Linux for IBM z Systems
Red Hat Enterprise Linux for Power, little endian
Red Hat Enterprise Linux for ARM 64
Red Hat Enterprise Linux for x86_64 - Extended Update Support
Red Hat Enterprise Linux for ARM 64 - Extended Update Support
Red Hat Enterprise Linux Server - TUS
Red Hat Enterprise Linux for Power, little endian - Extended Update Support
Red Hat Enterprise Linux for IBM z Systems - Extended Update Support
Red Hat Enterprise Linux Server - AUS
SUSE OpenStack Cloud
SUSE OpenStack Cloud Crowbar
SUSE Linux Enterprise Server for SAP
SUSE Linux Enterprise Server
SUSE Linux Enterprise High Performance Computing
SUSE Linux Enterprise Server for SAP Applications
SUSE Linux Enterprise Module for Server Applications
openSUSE Leap
openEuler
Ubuntu
Fedora
Red Hat Software Collections
RecoverPoint for Virtual Machines
Unified Security Management
PowerVC
IBM Cloud Object Storage Systems
IBM Cloud Pak for Business Automation
How to mitigate CVE-2021-46669
Install updates from vendor's website.
MariaDB - addressed in versions 10.2.44, 10.3.35, 10.4.25, 10.5.16, 10.6.8, 10.7.4
RecoverPoint for Virtual Machines - update to 6.0 SP2 P1
rh-mariadb103-mariadb (Red Hat package) - update to 10.3.35-1.el7
rh-mariadb103-galera (Red Hat package) - update to 25.3.35-1.el7
mysql-selinux (Red Hat package) - update to 1.0.5-1.el9_0
Judy-devel - update to 1.0.5-18
Judy - update to 1.0.5-18
asio-devel - update to 1.10.8-7
PowerVC - update to 2.0.2.1
IBM Cloud Object Storage Systems - update to 3.16.0.127
Unified Security Management - update to 5.8.12
mariadb-tools - addressed in versions 10.2.44-3.50.1, 10.2.44-150000.3.54.1, 10.4.25-150200.3.28.1, 10.5.16-150300.3.18.1, 10.6.8-150400.3.7.1
mariadb-galera - addressed in versions 10.2.44-3.50.1, 10.5.16-150300.3.18.1, 10.6.8-150400.3.7.1
mariadb-debugsource - addressed in versions 10.2.44-3.50.1, 10.2.44-150000.3.54.1, 10.4.25-150200.3.28.1, 10.5.16-150300.3.18.1, 10.6.8-150400.3.7.1
mariadb-debuginfo - addressed in versions 10.2.44-3.50.1, 10.2.44-150000.3.54.1, 10.4.25-150200.3.28.1, 10.5.16-150300.3.18.1, 10.6.8-150400.3.7.1
mariadb-tools-debuginfo - addressed in versions 10.2.44-3.50.1, 10.2.44-150000.3.54.1, 10.4.25-150200.3.28.1, 10.5.16-150300.3.18.1, 10.6.8-150400.3.7.1
mariadb-client-debuginfo - addressed in versions 10.2.44-3.50.1, 10.2.44-150000.3.54.1, 10.4.25-150200.3.28.1, 10.5.16-150300.3.18.1, 10.6.8-150400.3.7.1
mariadb-client - addressed in versions 10.2.44-3.50.1, 10.2.44-150000.3.54.1, 10.4.25-150200.3.28.1, 10.5.16-150300.3.18.1, 10.6.8-150400.3.7.1
mariadb - addressed in versions 10.2.44-3.50.1, 10.2.44-150000.3.54.1, 10.4.25-150200.3.28.1, 10.5.16-150300.3.18.1, 10.6.8-150400.3.7.1
mariadb-errormessages - addressed in versions 10.2.44-3.50.1, 10.2.44-150000.3.54.1, 10.4.25-150200.3.28.1, 10.5.16-150300.3.18.1, 10.6.8-150400.3.7.1
libmysqld19-debuginfo - update to 10.2.44-150000.3.54.1
libmysqld19 - update to 10.2.44-150000.3.54.1
libmysqld-devel - update to 10.2.44-150000.3.54.1
mariadb-debuginfo - update to 10.3.34-1
mariadb-debugsource - update to 10.3.34-1
mariadb-common - update to 10.3.34-1
mariadb-server - update to 10.3.34-1
mariadb-devel - update to 10.3.34-1
mariadb-backup - update to 10.3.34-1
mariadb-cracklib - update to 10.3.34-1
mariadb-oqgraph-engine - update to 10.3.34-1
mariadb-embedded-devel - update to 10.3.34-1
mariadb - update to 10.3.34-1
mariadb-gssapi-server - update to 10.3.34-1
mariadb-errmessage - update to 10.3.34-1
mariadb-test - update to 10.3.34-1
mariadb-embedded - update to 10.3.34-1
mariadb-server-galera - update to 10.3.34-1
mariadb-server-galera - addressed in versions 10.3.35-1.0.1, 10.5.16-2.0.1
mariadb-oqgraph-engine - addressed in versions 10.3.35-1.0.1, 10.5.16-2.0.1
mariadb-gssapi-server - addressed in versions 10.3.35-1.0.1, 10.5.16-2.0.1
mariadb-errmsg - addressed in versions 10.3.35-1.0.1, 10.5.16-2.0.1
mariadb-embedded-devel - addressed in versions 10.3.35-1.0.1, 10.5.16-2.0.1
mariadb-embedded - addressed in versions 10.3.35-1.0.1, 10.5.16-2.0.1
mariadb-devel - addressed in versions 10.3.35-1.0.1, 10.5.16-2.0.1
mariadb-common - addressed in versions 10.3.35-1.0.1, 10.5.16-2.0.1
mariadb-backup - addressed in versions 10.3.35-1.0.1, 10.5.16-2.0.1
mariadb - addressed in versions 10.3.35-1.0.1, 10.5.16-2.0.1
mariadb-server-utils - addressed in versions 10.3.35-1.0.1, 10.5.16-2.0.1
mariadb-test - addressed in versions 10.3.35-1.0.1, 10.5.16-2.0.1
mariadb-server - addressed in versions 10.3.35-1.0.1, 10.5.16-2.0.1
mariadb-server (Ubuntu package) - addressed in versions 1:10.3.37-0ubuntu0.20.04.1, 1:10.6.11-0ubuntu0.22.04.1, 1:10.6.11-0ubuntu0.22.10.1
mariadb - addressed in versions 10.3-3520220716094844.f27b74a8, 10.4-3520220717092835.f27b74a8, 10.5.16-1.fc35, 10.5.16-1.fc36, 10.5-3420220523183744.058368ca, 10.5-3520220523183744.f27b74a8, 10.5-3620220523183744.5e5ad4a0
libmariadbd19-debuginfo - addressed in versions 10.4.25-150200.3.28.1, 10.5.16-150300.3.18.1, 10.6.8-150400.3.7.1
libmariadbd19 - addressed in versions 10.4.25-150200.3.28.1, 10.5.16-150300.3.18.1, 10.6.8-150400.3.7.1
libmariadbd-devel - addressed in versions 10.4.25-150200.3.28.1, 10.5.16-150300.3.18.1, 10.6.8-150400.3.7.1
mariadb105 - update to 10.5.16-1
rh-mariadb105-mariadb (Red Hat package) - update to 10.5.16-2.el7
mariadb (Red Hat package) - update to 10.5.16-2.el9_0
mariadb-pam - update to 10.5.16-2.0.1
mariadb-bench-debuginfo - addressed in versions 10.5.16-150300.3.18.1, 10.6.8-150400.3.7.1
mariadb-bench - addressed in versions 10.5.16-150300.3.18.1, 10.6.8-150400.3.7.1
mariadb-rpm-macros - addressed in versions 10.5.16-150300.3.18.1, 10.6.8-150400.3.7.1
mariadb-test - addressed in versions 10.5.16-150300.3.18.1, 10.6.8-150400.3.7.1
mariadb-test-debuginfo - addressed in versions 10.5.16-150300.3.18.1, 10.6.8-150400.3.7.1
IBM Cloud Pak for Business Automation - addressed in versions 21.0.3.15, 22.0.1.5
galera - addressed in versions 25.3.35-1, 26.4.11-1
rh-mariadb105-galera (Red Hat package) - update to 26.4.11-1.el7
galera (Red Hat package) - update to 26.4.11-1.el9_0
RecoverPoint for Virtual Machines - update to 6.0 SP2 P1
rh-mariadb103-mariadb (Red Hat package) - update to 10.3.35-1.el7
rh-mariadb103-galera (Red Hat package) - update to 25.3.35-1.el7
mysql-selinux (Red Hat package) - update to 1.0.5-1.el9_0
Judy-devel - update to 1.0.5-18
Judy - update to 1.0.5-18
asio-devel - update to 1.10.8-7
PowerVC - update to 2.0.2.1
IBM Cloud Object Storage Systems - update to 3.16.0.127
Unified Security Management - update to 5.8.12
mariadb-tools - addressed in versions 10.2.44-3.50.1, 10.2.44-150000.3.54.1, 10.4.25-150200.3.28.1, 10.5.16-150300.3.18.1, 10.6.8-150400.3.7.1
mariadb-galera - addressed in versions 10.2.44-3.50.1, 10.5.16-150300.3.18.1, 10.6.8-150400.3.7.1
mariadb-debugsource - addressed in versions 10.2.44-3.50.1, 10.2.44-150000.3.54.1, 10.4.25-150200.3.28.1, 10.5.16-150300.3.18.1, 10.6.8-150400.3.7.1
mariadb-debuginfo - addressed in versions 10.2.44-3.50.1, 10.2.44-150000.3.54.1, 10.4.25-150200.3.28.1, 10.5.16-150300.3.18.1, 10.6.8-150400.3.7.1
mariadb-tools-debuginfo - addressed in versions 10.2.44-3.50.1, 10.2.44-150000.3.54.1, 10.4.25-150200.3.28.1, 10.5.16-150300.3.18.1, 10.6.8-150400.3.7.1
mariadb-client-debuginfo - addressed in versions 10.2.44-3.50.1, 10.2.44-150000.3.54.1, 10.4.25-150200.3.28.1, 10.5.16-150300.3.18.1, 10.6.8-150400.3.7.1
mariadb-client - addressed in versions 10.2.44-3.50.1, 10.2.44-150000.3.54.1, 10.4.25-150200.3.28.1, 10.5.16-150300.3.18.1, 10.6.8-150400.3.7.1
mariadb - addressed in versions 10.2.44-3.50.1, 10.2.44-150000.3.54.1, 10.4.25-150200.3.28.1, 10.5.16-150300.3.18.1, 10.6.8-150400.3.7.1
mariadb-errormessages - addressed in versions 10.2.44-3.50.1, 10.2.44-150000.3.54.1, 10.4.25-150200.3.28.1, 10.5.16-150300.3.18.1, 10.6.8-150400.3.7.1
libmysqld19-debuginfo - update to 10.2.44-150000.3.54.1
libmysqld19 - update to 10.2.44-150000.3.54.1
libmysqld-devel - update to 10.2.44-150000.3.54.1
mariadb-debuginfo - update to 10.3.34-1
mariadb-debugsource - update to 10.3.34-1
mariadb-common - update to 10.3.34-1
mariadb-server - update to 10.3.34-1
mariadb-devel - update to 10.3.34-1
mariadb-backup - update to 10.3.34-1
mariadb-cracklib - update to 10.3.34-1
mariadb-oqgraph-engine - update to 10.3.34-1
mariadb-embedded-devel - update to 10.3.34-1
mariadb - update to 10.3.34-1
mariadb-gssapi-server - update to 10.3.34-1
mariadb-errmessage - update to 10.3.34-1
mariadb-test - update to 10.3.34-1
mariadb-embedded - update to 10.3.34-1
mariadb-server-galera - update to 10.3.34-1
mariadb-server-galera - addressed in versions 10.3.35-1.0.1, 10.5.16-2.0.1
mariadb-oqgraph-engine - addressed in versions 10.3.35-1.0.1, 10.5.16-2.0.1
mariadb-gssapi-server - addressed in versions 10.3.35-1.0.1, 10.5.16-2.0.1
mariadb-errmsg - addressed in versions 10.3.35-1.0.1, 10.5.16-2.0.1
mariadb-embedded-devel - addressed in versions 10.3.35-1.0.1, 10.5.16-2.0.1
mariadb-embedded - addressed in versions 10.3.35-1.0.1, 10.5.16-2.0.1
mariadb-devel - addressed in versions 10.3.35-1.0.1, 10.5.16-2.0.1
mariadb-common - addressed in versions 10.3.35-1.0.1, 10.5.16-2.0.1
mariadb-backup - addressed in versions 10.3.35-1.0.1, 10.5.16-2.0.1
mariadb - addressed in versions 10.3.35-1.0.1, 10.5.16-2.0.1
mariadb-server-utils - addressed in versions 10.3.35-1.0.1, 10.5.16-2.0.1
mariadb-test - addressed in versions 10.3.35-1.0.1, 10.5.16-2.0.1
mariadb-server - addressed in versions 10.3.35-1.0.1, 10.5.16-2.0.1
mariadb-server (Ubuntu package) - addressed in versions 1:10.3.37-0ubuntu0.20.04.1, 1:10.6.11-0ubuntu0.22.04.1, 1:10.6.11-0ubuntu0.22.10.1
mariadb - addressed in versions 10.3-3520220716094844.f27b74a8, 10.4-3520220717092835.f27b74a8, 10.5.16-1.fc35, 10.5.16-1.fc36, 10.5-3420220523183744.058368ca, 10.5-3520220523183744.f27b74a8, 10.5-3620220523183744.5e5ad4a0
libmariadbd19-debuginfo - addressed in versions 10.4.25-150200.3.28.1, 10.5.16-150300.3.18.1, 10.6.8-150400.3.7.1
libmariadbd19 - addressed in versions 10.4.25-150200.3.28.1, 10.5.16-150300.3.18.1, 10.6.8-150400.3.7.1
libmariadbd-devel - addressed in versions 10.4.25-150200.3.28.1, 10.5.16-150300.3.18.1, 10.6.8-150400.3.7.1
mariadb105 - update to 10.5.16-1
rh-mariadb105-mariadb (Red Hat package) - update to 10.5.16-2.el7
mariadb (Red Hat package) - update to 10.5.16-2.el9_0
mariadb-pam - update to 10.5.16-2.0.1
mariadb-bench-debuginfo - addressed in versions 10.5.16-150300.3.18.1, 10.6.8-150400.3.7.1
mariadb-bench - addressed in versions 10.5.16-150300.3.18.1, 10.6.8-150400.3.7.1
mariadb-rpm-macros - addressed in versions 10.5.16-150300.3.18.1, 10.6.8-150400.3.7.1
mariadb-test - addressed in versions 10.5.16-150300.3.18.1, 10.6.8-150400.3.7.1
mariadb-test-debuginfo - addressed in versions 10.5.16-150300.3.18.1, 10.6.8-150400.3.7.1
IBM Cloud Pak for Business Automation - addressed in versions 21.0.3.15, 22.0.1.5
galera - addressed in versions 25.3.35-1, 26.4.11-1
rh-mariadb105-galera (Red Hat package) - update to 26.4.11-1.el7
galera (Red Hat package) - update to 26.4.11-1.el9_0
External References
Related Security Bulletins
- SUSE update for mariadb
- SUSE update for mariadb
- SUSE update for mariadb
- SUSE update for mariadb
- SUSE update for mariadb
- Red Hat Software Collections update for rh-mariadb105-galera and rh-mariadb105-mariadb
- Red Hat Enterprise Linux 8 update for the mariadb:10.5 module
- Multiple vulnerabilities in MariaDB
- Multiple vulnerabilities in MariaDB
- Red Hat Enterprise Linux 9 update for galera, mariadb, and mysql-selinux
- Red Hat Software Collections update for rh-mariadb103-galera and rh-mariadb103-mariadb
- Red Hat Enterprise Linux 8 update for the mariadb:10.3 module
- Ubuntu update for mariadb-10.3
- Multiple vulnerabilities in IBM Cloud Object Storage Systems
- Multiple vulnerabilities in IBM Cloud Pak for Business Automation
- openEuler update for mariadb
- Gentoo update for MariaDB
- Amazon Linux AMI update for mariadb105
- Fedora 36 Modular update for mariadb
- Fedora 35 update for mariadb
- Fedora 34 Modular update for mariadb
- Fedora 35 Modular update for mariadb
- Fedora 36 update for mariadb
- Fedora 35 Modular update for mariadb
- Fedora 35 Modular update for mariadb
- Multiple vulnerabilities in IBM PowerVC
- Anolis OS update for mariadb:10.5 module
- Anolis OS update for mariadb:10.3 module
- Dell RecoverPoint for Virtual Machines update for third-party components
- AlienVault USM update for third-party components