Format string error in MariaDB - CVE-2022-24051

 

Format string error in MariaDB - CVE-2022-24051

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


Vulnerability identifier: #VU60552
CSH Severity: Medium
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Green
CVE-ID: CVE-2022-24051
CWE-ID: CWE-134
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
Judy-devel
asio-devel
mariadb-tools
mariadb-errormessages
mariadb-tools-debuginfo
mariadb-debuginfo
mariadb-debugsource
libmysqld-devel
libmysqld19
libmysqld19-debuginfo
mariadb
mariadb-client
mariadb-client-debuginfo
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)

Detailed vulnerability description

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

The vulnerability exists due to a format string error in the CONNECT function implementation. A remote user with access to database can send a specially crafted SQL query that contains format string specifiers 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-24051

Install update from vendor's website.

Sources