Use-after-free in MariaDB - CVE-2022-27383
Published: May 23, 2022 / Updated: May 23, 2022
Vulnerability identifier: #VU63517
CSH Severity: Low
CVSS v4: 5.3 [CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N]
CVE-ID: CVE-2022-27383
CWE-ID: CWE-416
Exploitation vector: Remote access
Exploit availability:
No public exploit available
Vulnerability details
The vulnerability allows a remote user to perform a denial of service attack.
The vulnerability exists due to a use-after-free error in the my_strcasecmp_8bit component. A remote user can pass specially crafted SQL statements and cause a denial of service.
Affected software
MariaDB
Gentoo Linux
Amazon Linux AMI
SUSE CaaS Platform
SUSE Manager Proxy
SUSE Manager Retail Branch Server
SUSE Manager 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 ARM 64 - Extended Update Support
Red Hat Enterprise Linux for x86_64 - Extended Update Support
Red Hat Enterprise Linux Server - TUS
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
SUSE OpenStack Cloud
SUSE OpenStack Cloud Crowbar
SUSE Linux Enterprise Server for SAP
SUSE Linux Enterprise Server
Slackware Linux
SUSE Linux Enterprise High Performance Computing
SUSE Linux Enterprise Module for Server Applications
SUSE Linux Enterprise Server for SAP Applications
openSUSE Leap
openEuler
Ubuntu
Fedora
Red Hat Software Collections
RecoverPoint for Virtual Machines
Unified Security Management
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
Judy-devel
asio-devel
mariadb-tools-debuginfo
mariadb-tools
mariadb-galera
mariadb-debugsource
mariadb-debuginfo
mariadb-client-debuginfo
mariadb-client
mariadb
mariadb-errormessages
libmysqld19-debuginfo
libmysqld-devel
libmysqld19
mariadb-gssapi-server
mariadb-embedded-devel
mariadb-test
mariadb-devel
mariadb-oqgraph-engine
mariadb-errmessage
mariadb-cracklib
mariadb-common
mariadb-backup
mariadb-embedded
mariadb-server-galera
mariadb-server
mariadb-server-utils
mariadb-errmsg
mariadb-server (Ubuntu package)
libmariadbd19-debuginfo
libmariadbd19
libmariadbd-devel
mariadb105
rh-mariadb105-mariadb (Red Hat package)
mariadb (Red Hat package)
mariadb-pam
mariadb-test-debuginfo
mariadb-rpm-macros
mariadb-bench-debuginfo
mariadb-bench
galera
rh-mariadb105-galera (Red Hat package)
galera (Red Hat package)
IBM Cloud Object Storage Systems
IBM Cloud Pak for Business Automation
Gentoo Linux
Amazon Linux AMI
SUSE CaaS Platform
SUSE Manager Proxy
SUSE Manager Retail Branch Server
SUSE Manager 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 ARM 64 - Extended Update Support
Red Hat Enterprise Linux for x86_64 - Extended Update Support
Red Hat Enterprise Linux Server - TUS
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
SUSE OpenStack Cloud
SUSE OpenStack Cloud Crowbar
SUSE Linux Enterprise Server for SAP
SUSE Linux Enterprise Server
Slackware Linux
SUSE Linux Enterprise High Performance Computing
SUSE Linux Enterprise Module for Server Applications
SUSE Linux Enterprise Server for SAP Applications
openSUSE Leap
openEuler
Ubuntu
Fedora
Red Hat Software Collections
RecoverPoint for Virtual Machines
Unified Security Management
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
Judy-devel
asio-devel
mariadb-tools-debuginfo
mariadb-tools
mariadb-galera
mariadb-debugsource
mariadb-debuginfo
mariadb-client-debuginfo
mariadb-client
mariadb
mariadb-errormessages
libmysqld19-debuginfo
libmysqld-devel
libmysqld19
mariadb-gssapi-server
mariadb-embedded-devel
mariadb-test
mariadb-devel
mariadb-oqgraph-engine
mariadb-errmessage
mariadb-cracklib
mariadb-common
mariadb-backup
mariadb-embedded
mariadb-server-galera
mariadb-server
mariadb-server-utils
mariadb-errmsg
mariadb-server (Ubuntu package)
libmariadbd19-debuginfo
libmariadbd19
libmariadbd-devel
mariadb105
rh-mariadb105-mariadb (Red Hat package)
mariadb (Red Hat package)
mariadb-pam
mariadb-test-debuginfo
mariadb-rpm-macros
mariadb-bench-debuginfo
mariadb-bench
galera
rh-mariadb105-galera (Red Hat package)
galera (Red Hat package)
IBM Cloud Object Storage Systems
IBM Cloud Pak for Business Automation
How to mitigate CVE-2022-27383
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, 10.8.3
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 - update to 1.0.5-18
Judy-devel - update to 1.0.5-18
asio-devel - update to 1.10.8-7
IBM Cloud Object Storage Systems - update to 3.16.0.127
Unified Security Management - update to 5.8.12
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-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-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
libmysqld-devel - update to 10.2.44-150000.3.54.1
libmysqld19 - update to 10.2.44-150000.3.54.1
mariadb-gssapi-server - update to 10.3.35-1
mariadb-embedded-devel - update to 10.3.35-1
mariadb-debugsource - update to 10.3.35-1
mariadb-test - update to 10.3.35-1
mariadb-devel - update to 10.3.35-1
mariadb-oqgraph-engine - update to 10.3.35-1
mariadb-errmessage - update to 10.3.35-1
mariadb-cracklib - update to 10.3.35-1
mariadb-common - update to 10.3.35-1
mariadb-backup - update to 10.3.35-1
mariadb-embedded - update to 10.3.35-1
mariadb-debuginfo - update to 10.3.35-1
mariadb-server-galera - update to 10.3.35-1
mariadb-server - update to 10.3.35-1
mariadb - update to 10.3.35-1
mariadb-gssapi-server - 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-backup - 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-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-embedded-devel - 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-utils - addressed in versions 10.3.35-1.0.1, 10.5.16-2.0.1
mariadb-server-galera - 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-oqgraph-engine - 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-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
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-test-debuginfo - 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-rpm-macros - addressed in versions 10.5.16-150300.3.18.1, 10.6.8-150400.3.7.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
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 - update to 1.0.5-18
Judy-devel - update to 1.0.5-18
asio-devel - update to 1.10.8-7
IBM Cloud Object Storage Systems - update to 3.16.0.127
Unified Security Management - update to 5.8.12
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-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-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
libmysqld-devel - update to 10.2.44-150000.3.54.1
libmysqld19 - update to 10.2.44-150000.3.54.1
mariadb-gssapi-server - update to 10.3.35-1
mariadb-embedded-devel - update to 10.3.35-1
mariadb-debugsource - update to 10.3.35-1
mariadb-test - update to 10.3.35-1
mariadb-devel - update to 10.3.35-1
mariadb-oqgraph-engine - update to 10.3.35-1
mariadb-errmessage - update to 10.3.35-1
mariadb-cracklib - update to 10.3.35-1
mariadb-common - update to 10.3.35-1
mariadb-backup - update to 10.3.35-1
mariadb-embedded - update to 10.3.35-1
mariadb-debuginfo - update to 10.3.35-1
mariadb-server-galera - update to 10.3.35-1
mariadb-server - update to 10.3.35-1
mariadb - update to 10.3.35-1
mariadb-gssapi-server - 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-backup - 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-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-embedded-devel - 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-utils - addressed in versions 10.3.35-1.0.1, 10.5.16-2.0.1
mariadb-server-galera - 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-oqgraph-engine - 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-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
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-test-debuginfo - 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-rpm-macros - addressed in versions 10.5.16-150300.3.18.1, 10.6.8-150400.3.7.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
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
- Multiple vulnerabilities in MariaDB
- Slackware Linux update for mariadb
- 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
- 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 35 Modular update for mariadb
- Fedora 35 Modular update for mariadb
- 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