Buffer overflow in MariaDB - CVE-2022-32085
Published: July 25, 2022
Vulnerability identifier: #VU65764
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-32085
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 Item_func_in::cleanup/Item::cleanup_processor. A local user can send a specially crafted file, trigger memory corruption and escalate privileges on the system.
Affected software
MariaDB
Amazon Linux AMI
Gentoo Linux
SUSE Manager Server
SUSE Manager Retail Branch Server
SUSE Manager Proxy
SUSE Linux Enterprise Storage
SUSE Enterprise Storage
Anolis OS
Red Hat Enterprise Linux for x86_64
Red Hat Enterprise Linux for ARM 64
Red Hat Enterprise Linux for IBM z Systems
Red Hat Enterprise Linux for Power, little endian
Red Hat Enterprise Linux for IBM z Systems - 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 Server - AUS
Red Hat Enterprise Linux for x86_64 - Extended Update Support
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
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)
Judy
Judy-devel
asio-devel
mariadb-server-utils
mariadb-server-galera
mariadb-server
mariadb-oqgraph-engine
mariadb-gssapi-server
mariadb-errmsg
mariadb-embedded-devel
mariadb-embedded
mariadb-devel
mariadb-common
mariadb-backup
mariadb
mariadb-test
mariadb-server (Ubuntu package)
mariadb-debugsource
mariadb-debuginfo
mariadb-cracklib
mariadb-errmessage
libmariadbd19
mariadb-errormessages
mariadb-tools-debuginfo
mariadb-tools
mariadb-client-debuginfo
mariadb-client
libmariadbd19-debuginfo
libmariadbd-devel
mariadb105
rh-mariadb105-mariadb (Red Hat package)
mariadb-bench
mariadb-bench-debuginfo
mariadb-rpm-macros
mariadb-test-debuginfo
mariadb-galera
galera
rh-mariadb105-galera (Red Hat package)
IBM Cloud Object Storage Systems
Amazon Linux AMI
Gentoo Linux
SUSE Manager Server
SUSE Manager Retail Branch Server
SUSE Manager Proxy
SUSE Linux Enterprise Storage
SUSE Enterprise Storage
Anolis OS
Red Hat Enterprise Linux for x86_64
Red Hat Enterprise Linux for ARM 64
Red Hat Enterprise Linux for IBM z Systems
Red Hat Enterprise Linux for Power, little endian
Red Hat Enterprise Linux for IBM z Systems - 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 Server - AUS
Red Hat Enterprise Linux for x86_64 - Extended Update Support
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
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)
Judy
Judy-devel
asio-devel
mariadb-server-utils
mariadb-server-galera
mariadb-server
mariadb-oqgraph-engine
mariadb-gssapi-server
mariadb-errmsg
mariadb-embedded-devel
mariadb-embedded
mariadb-devel
mariadb-common
mariadb-backup
mariadb
mariadb-test
mariadb-server (Ubuntu package)
mariadb-debugsource
mariadb-debuginfo
mariadb-cracklib
mariadb-errmessage
libmariadbd19
mariadb-errormessages
mariadb-tools-debuginfo
mariadb-tools
mariadb-client-debuginfo
mariadb-client
libmariadbd19-debuginfo
libmariadbd-devel
mariadb105
rh-mariadb105-mariadb (Red Hat package)
mariadb-bench
mariadb-bench-debuginfo
mariadb-rpm-macros
mariadb-test-debuginfo
mariadb-galera
galera
rh-mariadb105-galera (Red Hat package)
IBM Cloud Object Storage Systems
How to mitigate CVE-2022-32085
Install updates from vendor's website.
MariaDB - addressed in versions 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
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-server-utils - update to 10.3.35-1.0.1
mariadb-server-galera - update to 10.3.35-1.0.1
mariadb-server - update to 10.3.35-1.0.1
mariadb-oqgraph-engine - update to 10.3.35-1.0.1
mariadb-gssapi-server - update to 10.3.35-1.0.1
mariadb-errmsg - update to 10.3.35-1.0.1
mariadb-embedded-devel - update to 10.3.35-1.0.1
mariadb-embedded - update to 10.3.35-1.0.1
mariadb-devel - update to 10.3.35-1.0.1
mariadb-common - update to 10.3.35-1.0.1
mariadb-backup - update to 10.3.35-1.0.1
mariadb - update to 10.3.35-1.0.1
mariadb-test - update to 10.3.35-1.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 - update to 10.3.39-1
mariadb-debugsource - update to 10.3.39-1
mariadb-server-galera - update to 10.3.39-1
mariadb-server - update to 10.3.39-1
mariadb-debuginfo - update to 10.3.39-1
mariadb-gssapi-server - update to 10.3.39-1
mariadb-embedded - update to 10.3.39-1
mariadb-test - update to 10.3.39-1
mariadb-oqgraph-engine - update to 10.3.39-1
mariadb-cracklib - update to 10.3.39-1
mariadb-devel - update to 10.3.39-1
mariadb-backup - update to 10.3.39-1
mariadb-embedded-devel - update to 10.3.39-1
mariadb-common - update to 10.3.39-1
mariadb-errmessage - update to 10.3.39-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
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
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-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-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-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-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-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 - 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
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
mariadb105 - update to 10.5.16-1
rh-mariadb105-mariadb (Red Hat package) - update to 10.5.16-2.el7
mariadb-bench - 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-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
galera - update to 25.3.35-1
rh-mariadb105-galera (Red Hat package) - update to 26.4.11-1.el7
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
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-server-utils - update to 10.3.35-1.0.1
mariadb-server-galera - update to 10.3.35-1.0.1
mariadb-server - update to 10.3.35-1.0.1
mariadb-oqgraph-engine - update to 10.3.35-1.0.1
mariadb-gssapi-server - update to 10.3.35-1.0.1
mariadb-errmsg - update to 10.3.35-1.0.1
mariadb-embedded-devel - update to 10.3.35-1.0.1
mariadb-embedded - update to 10.3.35-1.0.1
mariadb-devel - update to 10.3.35-1.0.1
mariadb-common - update to 10.3.35-1.0.1
mariadb-backup - update to 10.3.35-1.0.1
mariadb - update to 10.3.35-1.0.1
mariadb-test - update to 10.3.35-1.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 - update to 10.3.39-1
mariadb-debugsource - update to 10.3.39-1
mariadb-server-galera - update to 10.3.39-1
mariadb-server - update to 10.3.39-1
mariadb-debuginfo - update to 10.3.39-1
mariadb-gssapi-server - update to 10.3.39-1
mariadb-embedded - update to 10.3.39-1
mariadb-test - update to 10.3.39-1
mariadb-oqgraph-engine - update to 10.3.39-1
mariadb-cracklib - update to 10.3.39-1
mariadb-devel - update to 10.3.39-1
mariadb-backup - update to 10.3.39-1
mariadb-embedded-devel - update to 10.3.39-1
mariadb-common - update to 10.3.39-1
mariadb-errmessage - update to 10.3.39-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
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
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-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-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-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-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-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 - 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
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
mariadb105 - update to 10.5.16-1
rh-mariadb105-mariadb (Red Hat package) - update to 10.5.16-2.el7
mariadb-bench - 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-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
galera - update to 25.3.35-1
rh-mariadb105-galera (Red Hat package) - update to 26.4.11-1.el7
External References
Related Security Bulletins
- Red Hat Software Collections update for rh-mariadb105-galera and rh-mariadb105-mariadb
- Red Hat Software Collections update for rh-mariadb103-galera and rh-mariadb103-mariadb
- SUSE update for mariadb
- SUSE update for mariadb
- Red Hat Enterprise Linux 8 update for the mariadb:10.3 module
- SUSE update for mariadb
- Ubuntu update for mariadb-10.3
- Multiple vulnerabilities in IBM Cloud Object Storage Systems
- openEuler update for mariadb
- Gentoo update for MariaDB
- Amazon Linux AMI update for mariadb105
- 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