Buffer overflow in MariaDB - CVE-2022-32086

 

Buffer overflow in MariaDB - CVE-2022-32086

Published: July 25, 2022


Vulnerability identifier: #VU65758
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-32086
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_field::fix_outer_field. 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 Retail Branch Server
SUSE Manager Server
SUSE Manager Proxy
SUSE Enterprise Storage
SUSE Linux Enterprise Storage
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
Red Hat Software Collections
SUSE Linux Enterprise Module for Packagehub Subpackages
mariadb-server (Ubuntu package)
mariadb-debugsource
mariadb-errormessages
mariadb-tools-debuginfo
mariadb-tools
mariadb-debuginfo
mariadb-client-debuginfo
mariadb-client
mariadb
libmariadbd19-debuginfo
libmariadbd19
libmariadbd-devel
mariadb105
rh-mariadb105-mariadb (Red Hat package)
mariadb-bench
mariadb-bench-debuginfo
mariadb-rpm-macros
mariadb-test
mariadb-test-debuginfo
mariadb-galera
rh-mariadb105-galera (Red Hat package)
Unified Security Management

How to mitigate CVE-2022-32086

Install updates from vendor's website.

MariaDB - addressed in versions 10.4.25, 10.5.16, 10.6.8, 10.7.4, 10.8.3
Unified Security Management - update to 5.8.12
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-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-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-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
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
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
rh-mariadb105-galera (Red Hat package) - update to 26.4.11-1.el7

External References

Related Security Bulletins