Buffer overflow in MariaDB - CVE-2022-32084
Published: August 3, 2022 / Updated: August 16, 2022
Vulnerability identifier: #VU66024
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-32084
CWE-ID: CWE-119
Exploitation vector: Local access
Exploit availability:
No public exploit available
Vulnerability details
The vulnerability allows a local user to escalate privileges on the system.
The vulnerability exists due to a segmentation fault via the component sub_select. A local user can send a specially crafted file and escalate privileges on the system.
Affected software
MariaDB
Oracle Linux
Gentoo Linux
Amazon Linux AMI
SUSE Linux Enterprise High Performance Computing 15
SUSE Linux Enterprise Server 15
SUSE Linux Enterprise Server for SAP Applications 15
SUSE Linux Enterprise Server for SAP Applications 12
SUSE Linux Enterprise High Performance Computing 12
SUSE Linux Enterprise Server 12
SUSE CaaS Platform
SUSE Manager Proxy
SUSE Manager Retail Branch Server
SUSE Manager Server
SUSE Linux Enterprise Storage
SUSE Enterprise Storage
Red Hat Enterprise Linux for ARM 64
Red Hat Enterprise Linux for Power, little endian
Red Hat Enterprise Linux for IBM z Systems
Anolis OS
Red Hat Enterprise Linux for x86_64
SUSE OpenStack Cloud
SUSE OpenStack Cloud Crowbar
SUSE Linux Enterprise Server 12 SP4 LTSS
SUSE Linux Enterprise Server 12 SP4 ESPOS
Slackware Linux
SUSE Linux Enterprise Server 15 SP1 LTSS
SUSE Linux Enterprise High Performance Computing 15 SP1 LTSS
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
RecoverPoint for Virtual Machines
SUSE Linux Enterprise Module for Packagehub Subpackages
Judy-devel
Judy
asio-devel
mariadb-errormessages
mariadb-tools
mariadb-debuginfo
mariadb-tools-debuginfo
mariadb-client
mariadb-galera
mariadb
mariadb-client-debuginfo
mariadb-debugsource
libmysqld-devel
libmysqld19-debuginfo
libmysqld19
mariadb-server (Ubuntu package)
mariadb-errmsg
mariadb-backup
mariadb-common
mariadb-devel
mariadb-embedded
mariadb-embedded-devel
mariadb-gssapi-server
mariadb-oqgraph-engine
mariadb-server
mariadb-server-galera
mariadb-server-utils
mariadb-test
libmariadbd-devel
libmariadbd19
libmariadbd19-debuginfo
mariadb105
mariadb-rpm-macros
mariadb-bench-debuginfo
mariadb-bench
mariadb-test-debuginfo
rh-mariadb105-mariadb (Red Hat package)
mariadb (Red Hat package)
mariadb-pam
galera
rh-mariadb105-galera (Red Hat package)
galera (Red Hat package)
IBM Cloud Object Storage Systems
Oracle Linux
Gentoo Linux
Amazon Linux AMI
SUSE Linux Enterprise High Performance Computing 15
SUSE Linux Enterprise Server 15
SUSE Linux Enterprise Server for SAP Applications 15
SUSE Linux Enterprise Server for SAP Applications 12
SUSE Linux Enterprise High Performance Computing 12
SUSE Linux Enterprise Server 12
SUSE CaaS Platform
SUSE Manager Proxy
SUSE Manager Retail Branch Server
SUSE Manager Server
SUSE Linux Enterprise Storage
SUSE Enterprise Storage
Red Hat Enterprise Linux for ARM 64
Red Hat Enterprise Linux for Power, little endian
Red Hat Enterprise Linux for IBM z Systems
Anolis OS
Red Hat Enterprise Linux for x86_64
SUSE OpenStack Cloud
SUSE OpenStack Cloud Crowbar
SUSE Linux Enterprise Server 12 SP4 LTSS
SUSE Linux Enterprise Server 12 SP4 ESPOS
Slackware Linux
SUSE Linux Enterprise Server 15 SP1 LTSS
SUSE Linux Enterprise High Performance Computing 15 SP1 LTSS
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
RecoverPoint for Virtual Machines
SUSE Linux Enterprise Module for Packagehub Subpackages
Judy-devel
Judy
asio-devel
mariadb-errormessages
mariadb-tools
mariadb-debuginfo
mariadb-tools-debuginfo
mariadb-client
mariadb-galera
mariadb
mariadb-client-debuginfo
mariadb-debugsource
libmysqld-devel
libmysqld19-debuginfo
libmysqld19
mariadb-server (Ubuntu package)
mariadb-errmsg
mariadb-backup
mariadb-common
mariadb-devel
mariadb-embedded
mariadb-embedded-devel
mariadb-gssapi-server
mariadb-oqgraph-engine
mariadb-server
mariadb-server-galera
mariadb-server-utils
mariadb-test
libmariadbd-devel
libmariadbd19
libmariadbd19-debuginfo
mariadb105
mariadb-rpm-macros
mariadb-bench-debuginfo
mariadb-bench
mariadb-test-debuginfo
rh-mariadb105-mariadb (Red Hat package)
mariadb (Red Hat package)
mariadb-pam
galera
rh-mariadb105-galera (Red Hat package)
galera (Red Hat package)
IBM Cloud Object Storage Systems
How to mitigate CVE-2022-32084
Install update from vendor's website.
MariaDB - addressed in versions 10.3.36, 10.4.26, 10.5.17, 10.6.9, 10.7.5, 10.8.4
RecoverPoint for Virtual Machines - update to 6.0 SP2 P1
Judy-devel - update to 1.0.5-18
Judy - 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
mariadb-errormessages - addressed in versions 10.2.44-3.53.1, 10.2.44-150000.3.57.1, 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.2.44-3.53.1, 10.2.44-150000.3.57.1, 10.4.26-150200.3.31.1, 10.5.17-150300.3.21.1, 10.6.9-150400.3.12.1
mariadb-debuginfo - addressed in versions 10.2.44-3.53.1, 10.2.44-150000.3.57.1, 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.2.44-3.53.1, 10.2.44-150000.3.57.1, 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.2.44-3.53.1, 10.2.44-150000.3.57.1, 10.4.26-150200.3.31.1, 10.5.17-150300.3.21.1, 10.6.9-150400.3.12.1
mariadb-galera - addressed in versions 10.2.44-3.53.1, 10.5.17-150300.3.21.1, 10.6.9-150400.3.12.1
mariadb - addressed in versions 10.2.44-3.53.1, 10.2.44-150000.3.57.1, 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.2.44-3.53.1, 10.2.44-150000.3.57.1, 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.2.44-3.53.1, 10.2.44-150000.3.57.1, 10.4.26-150200.3.31.1, 10.5.17-150300.3.21.1, 10.6.9-150400.3.12.1
libmysqld-devel - update to 10.2.44-150000.3.57.1
libmysqld19-debuginfo - update to 10.2.44-150000.3.57.1
libmysqld19 - update to 10.2.44-150000.3.57.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-errmsg - addressed in versions 10.3.39-1.0.1, 10.5.22-1.0.1
mariadb - addressed in versions 10.3.39-1.0.1, 10.5.22-1.0.1
mariadb-backup - addressed in versions 10.3.39-1.0.1, 10.5.22-1.0.1
mariadb-common - addressed in versions 10.3.39-1.0.1, 10.5.22-1.0.1
mariadb-devel - addressed in versions 10.3.39-1.0.1, 10.5.22-1.0.1
mariadb-embedded - addressed in versions 10.3.39-1.0.1, 10.5.22-1.0.1
mariadb-embedded-devel - addressed in versions 10.3.39-1.0.1, 10.5.22-1.0.1
mariadb-gssapi-server - addressed in versions 10.3.39-1.0.1, 10.5.22-1.0.1
mariadb-oqgraph-engine - addressed in versions 10.3.39-1.0.1, 10.5.22-1.0.1
mariadb-server - addressed in versions 10.3.39-1.0.1, 10.5.22-1.0.1
mariadb-server-galera - addressed in versions 10.3.39-1.0.1, 10.5.22-1.0.1
mariadb-server-utils - addressed in versions 10.3.39-1.0.1, 10.5.22-1.0.1
mariadb-test - addressed in versions 10.3.39-1.0.1, 10.5.22-1.0.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
mariadb105 - update to 10.5.16-1
mariadb - update to 10.5.17
mariadb-rpm-macros - addressed in versions 10.5.17-150300.3.21.1, 10.6.9-150400.3.12.1
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-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 - 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-pam - update to 10.5.22-1.0.1
galera - addressed in versions 25.3.37-1, 26.4.14-1
galera - addressed in versions 26.4.13-1.fc35, 26.4.13-1.fc36, 26.4.13-1.fc37
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
RecoverPoint for Virtual Machines - update to 6.0 SP2 P1
Judy-devel - update to 1.0.5-18
Judy - 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
mariadb-errormessages - addressed in versions 10.2.44-3.53.1, 10.2.44-150000.3.57.1, 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.2.44-3.53.1, 10.2.44-150000.3.57.1, 10.4.26-150200.3.31.1, 10.5.17-150300.3.21.1, 10.6.9-150400.3.12.1
mariadb-debuginfo - addressed in versions 10.2.44-3.53.1, 10.2.44-150000.3.57.1, 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.2.44-3.53.1, 10.2.44-150000.3.57.1, 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.2.44-3.53.1, 10.2.44-150000.3.57.1, 10.4.26-150200.3.31.1, 10.5.17-150300.3.21.1, 10.6.9-150400.3.12.1
mariadb-galera - addressed in versions 10.2.44-3.53.1, 10.5.17-150300.3.21.1, 10.6.9-150400.3.12.1
mariadb - addressed in versions 10.2.44-3.53.1, 10.2.44-150000.3.57.1, 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.2.44-3.53.1, 10.2.44-150000.3.57.1, 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.2.44-3.53.1, 10.2.44-150000.3.57.1, 10.4.26-150200.3.31.1, 10.5.17-150300.3.21.1, 10.6.9-150400.3.12.1
libmysqld-devel - update to 10.2.44-150000.3.57.1
libmysqld19-debuginfo - update to 10.2.44-150000.3.57.1
libmysqld19 - update to 10.2.44-150000.3.57.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-errmsg - addressed in versions 10.3.39-1.0.1, 10.5.22-1.0.1
mariadb - addressed in versions 10.3.39-1.0.1, 10.5.22-1.0.1
mariadb-backup - addressed in versions 10.3.39-1.0.1, 10.5.22-1.0.1
mariadb-common - addressed in versions 10.3.39-1.0.1, 10.5.22-1.0.1
mariadb-devel - addressed in versions 10.3.39-1.0.1, 10.5.22-1.0.1
mariadb-embedded - addressed in versions 10.3.39-1.0.1, 10.5.22-1.0.1
mariadb-embedded-devel - addressed in versions 10.3.39-1.0.1, 10.5.22-1.0.1
mariadb-gssapi-server - addressed in versions 10.3.39-1.0.1, 10.5.22-1.0.1
mariadb-oqgraph-engine - addressed in versions 10.3.39-1.0.1, 10.5.22-1.0.1
mariadb-server - addressed in versions 10.3.39-1.0.1, 10.5.22-1.0.1
mariadb-server-galera - addressed in versions 10.3.39-1.0.1, 10.5.22-1.0.1
mariadb-server-utils - addressed in versions 10.3.39-1.0.1, 10.5.22-1.0.1
mariadb-test - addressed in versions 10.3.39-1.0.1, 10.5.22-1.0.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
mariadb105 - update to 10.5.16-1
mariadb - update to 10.5.17
mariadb-rpm-macros - addressed in versions 10.5.17-150300.3.21.1, 10.6.9-150400.3.12.1
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-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 - 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-pam - update to 10.5.22-1.0.1
galera - addressed in versions 25.3.37-1, 26.4.14-1
galera - addressed in versions 26.4.13-1.fc35, 26.4.13-1.fc36, 26.4.13-1.fc37
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
- Buffer overflow in MariaDB
- Buffer overflow in MariaDB
- Slackware Linux update for mariadb
- SUSE update for mariadb
- SUSE update for mariadb
- SUSE update for mariadb
- Ubuntu update for mariadb-10.3
- Multiple vulnerabilities in IBM Cloud Object Storage Systems
- SUSE update for mariadb
- SUSE update for mariadb
- Red Hat Enterprise Linux 8 update for the mariadb:10.3 module
- 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
- Anolis OS update for mariadb:10.3 module
- Dell RecoverPoint for Virtual Machines update for third-party components