Buffer overflow in MariaDB - CVE-2022-32089
Published: July 27, 2022
Vulnerability identifier: #VU65822
CSH Severity: Low
CVSS v4: 8.5 [CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2022-32089
CWE-ID: CWE-119
Exploitation vector: Local access
Exploit availability:
No public exploit available
Vulnerability details
The vulnerability allows a local user to execute arbitrary code on the target system.
The vulnerability exists due to a segmentation fault via the component st_select_lex_unit::exclude_level. A local user can send a specially crafted file and execute arbitrary code on the target system.
Affected software
MariaDB
Amazon Linux AMI
Gentoo Linux
Oracle Linux
SUSE Manager Server
SUSE Manager Retail Branch Server
SUSE Manager Proxy
SUSE Enterprise Storage
SUSE Linux 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
Anolis OS
Red Hat Enterprise Linux for ARM 64
Slackware Linux
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
Ubuntu
Fedora
SUSE Linux Enterprise Module for Packagehub Subpackages
Judy
Judy-devel
asio-devel
mariadb-server (Ubuntu package)
mariadb-debuginfo
libmariadbd-devel
libmariadbd19
libmariadbd19-debuginfo
mariadb
mariadb-client
mariadb-client-debuginfo
mariadb-debugsource
mariadb-tools
mariadb-tools-debuginfo
mariadb-errormessages
mariadb105
mariadb-bench-debuginfo
mariadb-bench
mariadb-rpm-macros
mariadb-test
mariadb-test-debuginfo
mariadb-galera
rh-mariadb105-mariadb (Red Hat package)
mariadb (Red Hat package)
mariadb-server
mariadb-backup
mariadb-common
mariadb-server-utils
mariadb-devel
mariadb-embedded
mariadb-embedded-devel
mariadb-errmsg
mariadb-gssapi-server
mariadb-oqgraph-engine
mariadb-pam
mariadb-server-galera
galera
rh-mariadb105-galera (Red Hat package)
galera (Red Hat package)
Amazon Linux AMI
Gentoo Linux
Oracle Linux
SUSE Manager Server
SUSE Manager Retail Branch Server
SUSE Manager Proxy
SUSE Enterprise Storage
SUSE Linux 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
Anolis OS
Red Hat Enterprise Linux for ARM 64
Slackware Linux
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
Ubuntu
Fedora
SUSE Linux Enterprise Module for Packagehub Subpackages
Judy
Judy-devel
asio-devel
mariadb-server (Ubuntu package)
mariadb-debuginfo
libmariadbd-devel
libmariadbd19
libmariadbd19-debuginfo
mariadb
mariadb-client
mariadb-client-debuginfo
mariadb-debugsource
mariadb-tools
mariadb-tools-debuginfo
mariadb-errormessages
mariadb105
mariadb-bench-debuginfo
mariadb-bench
mariadb-rpm-macros
mariadb-test
mariadb-test-debuginfo
mariadb-galera
rh-mariadb105-mariadb (Red Hat package)
mariadb (Red Hat package)
mariadb-server
mariadb-backup
mariadb-common
mariadb-server-utils
mariadb-devel
mariadb-embedded
mariadb-embedded-devel
mariadb-errmsg
mariadb-gssapi-server
mariadb-oqgraph-engine
mariadb-pam
mariadb-server-galera
galera
rh-mariadb105-galera (Red Hat package)
galera (Red Hat package)
How to mitigate CVE-2022-32089
Install updates from vendor's website.
MariaDB - addressed in versions 10.5.16, 10.6.8, 10.7.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-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-debuginfo - addressed in versions 10.4.26-150200.3.31.1, 10.5.17-150300.3.21.1, 10.6.9-150400.3.12.1
libmariadbd-devel - addressed in versions 10.4.26-150200.3.31.1, 10.5.17-150300.3.21.1, 10.6.9-150400.3.12.1
libmariadbd19 - addressed in versions 10.4.26-150200.3.31.1, 10.5.17-150300.3.21.1, 10.6.9-150400.3.12.1
libmariadbd19-debuginfo - addressed in versions 10.4.26-150200.3.31.1, 10.5.17-150300.3.21.1, 10.6.9-150400.3.12.1
mariadb - addressed in versions 10.4.26-150200.3.31.1, 10.5.17-150300.3.21.1, 10.6.9-150400.3.12.1
mariadb-client - addressed in versions 10.4.26-150200.3.31.1, 10.5.17-150300.3.21.1, 10.6.9-150400.3.12.1
mariadb-client-debuginfo - addressed in versions 10.4.26-150200.3.31.1, 10.5.17-150300.3.21.1, 10.6.9-150400.3.12.1
mariadb-debugsource - addressed in versions 10.4.26-150200.3.31.1, 10.5.17-150300.3.21.1, 10.6.9-150400.3.12.1
mariadb-tools - addressed in versions 10.4.26-150200.3.31.1, 10.5.17-150300.3.21.1, 10.6.9-150400.3.12.1
mariadb-tools-debuginfo - addressed in versions 10.4.26-150200.3.31.1, 10.5.17-150300.3.21.1, 10.6.9-150400.3.12.1
mariadb-errormessages - addressed in versions 10.4.26-150200.3.31.1, 10.5.17-150300.3.21.1, 10.6.9-150400.3.12.1
mariadb105 - update to 10.5.16-1
mariadb - update to 10.5.17
mariadb-bench-debuginfo - addressed in versions 10.5.17-150300.3.21.1, 10.6.9-150400.3.12.1
mariadb-bench - addressed in versions 10.5.17-150300.3.21.1, 10.6.9-150400.3.12.1
mariadb-rpm-macros - addressed in versions 10.5.17-150300.3.21.1, 10.6.9-150400.3.12.1
mariadb-test - addressed in versions 10.5.17-150300.3.21.1, 10.6.9-150400.3.12.1
mariadb-test-debuginfo - addressed in versions 10.5.17-150300.3.21.1, 10.6.9-150400.3.12.1
mariadb-galera - addressed in versions 10.5.17-150300.3.21.1, 10.6.9-150400.3.12.1
mariadb - addressed in versions 10.5.18-1.fc35, 10.5.18-1.fc36, 10.5.18-1.fc37, 10.5-3520221121091939.f27b74a8, 10.5-3620221121091939.5e5ad4a0, 10.5-3720221121091939.9e842022, 10.6-3520221123042913.f27b74a8, 10.6-3620221123042913.5e5ad4a0, 10.6-3720221123042913.9e842022, 10.7-3520221023114951.f27b74a8, 10.7-3620221023114951.5e5ad4a0, 10.7-3720221023114951.9e842022, 10.8-3520221023061040.f27b74a8, 10.8-3620221023061040.5e5ad4a0, 10.8-3720221023061040.9e842022, 10.9-3520221023053557.F35, 10.9-3620221023053557.F36, 10.9-3720221023053557.F37
rh-mariadb105-mariadb (Red Hat package) - update to 10.5.22-1.el7
mariadb (Red Hat package) - update to 10.5.22-1.el9_2
mariadb-server - update to 10.5.22-1.0.1
mariadb - update to 10.5.22-1.0.1
mariadb-backup - update to 10.5.22-1.0.1
mariadb-common - update to 10.5.22-1.0.1
mariadb-test - update to 10.5.22-1.0.1
mariadb-server-utils - update to 10.5.22-1.0.1
mariadb-devel - update to 10.5.22-1.0.1
mariadb-embedded - update to 10.5.22-1.0.1
mariadb-embedded-devel - update to 10.5.22-1.0.1
mariadb-errmsg - update to 10.5.22-1.0.1
mariadb-gssapi-server - update to 10.5.22-1.0.1
mariadb-oqgraph-engine - update to 10.5.22-1.0.1
mariadb-pam - update to 10.5.22-1.0.1
mariadb-server-galera - update to 10.5.22-1.0.1
galera - addressed in versions 26.4.13-1.fc35, 26.4.13-1.fc36, 26.4.13-1.fc37
galera - update to 26.4.14-1
rh-mariadb105-galera (Red Hat package) - update to 26.4.14-1.el7
galera (Red Hat package) - update to 26.4.14-1.el9_2
Judy - update to 1.0.5-18
Judy-devel - update to 1.0.5-18
asio-devel - update to 1.10.8-7
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-debuginfo - addressed in versions 10.4.26-150200.3.31.1, 10.5.17-150300.3.21.1, 10.6.9-150400.3.12.1
libmariadbd-devel - addressed in versions 10.4.26-150200.3.31.1, 10.5.17-150300.3.21.1, 10.6.9-150400.3.12.1
libmariadbd19 - addressed in versions 10.4.26-150200.3.31.1, 10.5.17-150300.3.21.1, 10.6.9-150400.3.12.1
libmariadbd19-debuginfo - addressed in versions 10.4.26-150200.3.31.1, 10.5.17-150300.3.21.1, 10.6.9-150400.3.12.1
mariadb - addressed in versions 10.4.26-150200.3.31.1, 10.5.17-150300.3.21.1, 10.6.9-150400.3.12.1
mariadb-client - addressed in versions 10.4.26-150200.3.31.1, 10.5.17-150300.3.21.1, 10.6.9-150400.3.12.1
mariadb-client-debuginfo - addressed in versions 10.4.26-150200.3.31.1, 10.5.17-150300.3.21.1, 10.6.9-150400.3.12.1
mariadb-debugsource - addressed in versions 10.4.26-150200.3.31.1, 10.5.17-150300.3.21.1, 10.6.9-150400.3.12.1
mariadb-tools - addressed in versions 10.4.26-150200.3.31.1, 10.5.17-150300.3.21.1, 10.6.9-150400.3.12.1
mariadb-tools-debuginfo - addressed in versions 10.4.26-150200.3.31.1, 10.5.17-150300.3.21.1, 10.6.9-150400.3.12.1
mariadb-errormessages - addressed in versions 10.4.26-150200.3.31.1, 10.5.17-150300.3.21.1, 10.6.9-150400.3.12.1
mariadb105 - update to 10.5.16-1
mariadb - update to 10.5.17
mariadb-bench-debuginfo - addressed in versions 10.5.17-150300.3.21.1, 10.6.9-150400.3.12.1
mariadb-bench - addressed in versions 10.5.17-150300.3.21.1, 10.6.9-150400.3.12.1
mariadb-rpm-macros - addressed in versions 10.5.17-150300.3.21.1, 10.6.9-150400.3.12.1
mariadb-test - addressed in versions 10.5.17-150300.3.21.1, 10.6.9-150400.3.12.1
mariadb-test-debuginfo - addressed in versions 10.5.17-150300.3.21.1, 10.6.9-150400.3.12.1
mariadb-galera - addressed in versions 10.5.17-150300.3.21.1, 10.6.9-150400.3.12.1
mariadb - addressed in versions 10.5.18-1.fc35, 10.5.18-1.fc36, 10.5.18-1.fc37, 10.5-3520221121091939.f27b74a8, 10.5-3620221121091939.5e5ad4a0, 10.5-3720221121091939.9e842022, 10.6-3520221123042913.f27b74a8, 10.6-3620221123042913.5e5ad4a0, 10.6-3720221123042913.9e842022, 10.7-3520221023114951.f27b74a8, 10.7-3620221023114951.5e5ad4a0, 10.7-3720221023114951.9e842022, 10.8-3520221023061040.f27b74a8, 10.8-3620221023061040.5e5ad4a0, 10.8-3720221023061040.9e842022, 10.9-3520221023053557.F35, 10.9-3620221023053557.F36, 10.9-3720221023053557.F37
rh-mariadb105-mariadb (Red Hat package) - update to 10.5.22-1.el7
mariadb (Red Hat package) - update to 10.5.22-1.el9_2
mariadb-server - update to 10.5.22-1.0.1
mariadb - update to 10.5.22-1.0.1
mariadb-backup - update to 10.5.22-1.0.1
mariadb-common - update to 10.5.22-1.0.1
mariadb-test - update to 10.5.22-1.0.1
mariadb-server-utils - update to 10.5.22-1.0.1
mariadb-devel - update to 10.5.22-1.0.1
mariadb-embedded - update to 10.5.22-1.0.1
mariadb-embedded-devel - update to 10.5.22-1.0.1
mariadb-errmsg - update to 10.5.22-1.0.1
mariadb-gssapi-server - update to 10.5.22-1.0.1
mariadb-oqgraph-engine - update to 10.5.22-1.0.1
mariadb-pam - update to 10.5.22-1.0.1
mariadb-server-galera - update to 10.5.22-1.0.1
galera - addressed in versions 26.4.13-1.fc35, 26.4.13-1.fc36, 26.4.13-1.fc37
galera - update to 26.4.14-1
rh-mariadb105-galera (Red Hat package) - update to 26.4.14-1.el7
galera (Red Hat package) - update to 26.4.14-1.el9_2
External References
Related Security Bulletins
- Slackware Linux update for mariadb
- SUSE update for mariadb
- SUSE update for mariadb
- SUSE update for mariadb
- Ubuntu update for mariadb-10.3
- Red Hat Enterprise Linux 9 update for galera and mariadb
- Red Hat Enterprise Linux 8 update for the mariadb:10.5 module
- Multiple vulnerabilities in Oracle Linux
- Red Hat Software Collections update for rh-mariadb105-galera and rh-mariadb105-mariadb
- Gentoo update for MariaDB
- Amazon Linux AMI update for mariadb105
- Fedora 36 Modular update for mariadb
- Fedora 35 Modular update for mariadb
- Fedora 37 Modular update for mariadb
- Fedora 37 Modular update for mariadb
- Fedora 35 Modular update for mariadb
- Fedora 36 Modular update for mariadb
- Fedora 36 Modular update for mariadb
- Fedora 35 Modular update for mariadb
- Fedora 37 Modular update for mariadb
- Fedora 37 update for galera, mariadb
- Fedora 35 update for galera, mariadb
- Fedora 36 update for galera, mariadb
- Fedora 35 Modular update for mariadb
- Fedora 37 Modular update for mariadb
- Fedora 36 Modular update for mariadb
- Fedora 36 Modular update for mariadb
- Fedora 37 Modular update for mariadb
- Fedora 35 Modular update for mariadb
- Anolis OS update for mariadb:10.5 module