Buffer overflow in MariaDB - CVE-2022-24048

 

Buffer overflow in MariaDB - CVE-2022-24048

Published: February 12, 2022 / Updated: February 16, 2022


Vulnerability identifier: #VU60555
CSH Severity: Medium
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Green
CVE-ID: CVE-2022-24048
CWE-ID: CWE-119
Exploitation vector: Remote access
Exploit availability: No public exploit available
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
Anolis OS
Red Hat Enterprise Linux for ARM 64
Red Hat Enterprise Linux for Power, little endian
Red Hat Enterprise Linux for IBM z Systems
Red Hat Enterprise Linux for x86_64
Red Hat Enterprise Linux for x86_64 - 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 IBM z Systems - Extended Update Support
SUSE Linux Enterprise High Performance Computing
SUSE Linux Enterprise Server
SUSE Linux Enterprise Server for SAP
SUSE Linux Enterprise Realtime Extension
SUSE Linux Enterprise Server for SAP Applications
SUSE Linux Enterprise Module for Server Applications
openSUSE Leap
Ubuntu
openEuler
Fedora
Red Hat Software Collections
Red Hat Enterprise Linux Server for Power LE - Update Services for SAP Solutions
rh-mariadb103-mariadb (Red Hat package)
rh-mariadb103-galera (Red Hat package)
mysql-selinux (Red Hat package)
Judy-devel
Judy
asio-devel
libmysqld19-debuginfo
libmysqld19
libmysqld-devel
mariadb-tools
mariadb
mariadb-tools-debuginfo
mariadb-errormessages
mariadb-client
mariadb-client-debuginfo
mariadb-debuginfo
mariadb-debugsource
mariadb-server (Ubuntu package)
mariadb-backup
mariadb-common
mariadb-devel
mariadb-embedded
mariadb-embedded-devel
mariadb-errmsg
mariadb-gssapi-server
mariadb-oqgraph-engine
mariadb-server
mariadb-server-galera
mariadb-server-utils
mariadb-test
libmariadbd-devel
libmariadbd19
libmariadbd19-debuginfo
mariadb-config
mariadb-pam
mariadb-rocksdb-engine
mariadb-galera
mariadb105
rh-mariadb105-mariadb (Red Hat package)
mariadb (Red Hat package)
mariadb-bench
mariadb-bench-debuginfo
mariadb-rpm-macros
mariadb-test-debuginfo
galera
rh-mariadb105-galera (Red Hat package)
galera (Red Hat package)
PowerVC

Detailed vulnerability description

The vulnerability allows a remote user to execute arbitrary code on the target system.

The vulnerability exists due to a boundary error in the storage engine when processing CONNECT queries. A remote authenticated user can send a specially crafted SQL query to the affected database instance, trigger a memory corruption and execute arbitrary code on the target system.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.


How to mitigate CVE-2022-24048

Install update from vendor's website.

Sources