Buffer overflow in MariaDB - CVE-2022-27382

 

Buffer overflow in MariaDB - CVE-2022-27382

Published: May 23, 2022 / Updated: May 23, 2022


Vulnerability identifier: #VU63516
CSH Severity: Low
CVSS v4: 5.3 [CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N]
CVE-ID: CVE-2022-27382
CWE-ID: CWE-119
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote user to perform a denial of service (DoS) attack.

The vulnerability exists due to a segmentation fault via the Item_field::used_tables/update_depend_map_for_order() function. A remote user can send specially crafted data and perform a denial of service (DoS) attack.


Affected software

MariaDB
Amazon Linux AMI
Gentoo Linux
SUSE Manager Server
SUSE Manager Retail Branch Server
SUSE Manager Proxy
SUSE Enterprise Storage
Anolis OS
Red Hat Enterprise Linux for x86_64
Red Hat Enterprise Linux Server - TUS
Red Hat Enterprise Linux for x86_64 - Extended Update Support
Red Hat Enterprise Linux for ARM 64 - Extended Update Support
Red Hat Enterprise Linux for ARM 64
Red Hat Enterprise Linux for Power, little endian - Extended Update Support
Red Hat Enterprise Linux for Power, little endian
Red Hat Enterprise Linux for IBM z Systems - Extended Update Support
Red Hat Enterprise Linux for IBM z Systems
Slackware Linux
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
Fedora
Red Hat Enterprise Linux Server for Power LE - Update Services for SAP Solutions
SUSE Linux Enterprise Module for Packagehub Subpackages
mysql-selinux (Red Hat package)
Judy-devel
Judy
asio-devel
mariadb-cracklib
mariadb-errmessage
mariadb-oqgraph-engine
mariadb-embedded
mariadb-backup
mariadb-common
mariadb-devel
mariadb-debuginfo
mariadb-debugsource
mariadb-embedded-devel
mariadb-gssapi-server
mariadb-server-galera
mariadb-server
mariadb
mariadb-test
libmariadbd-devel
mariadb-errormessages
mariadb-tools-debuginfo
mariadb-tools
mariadb-client-debuginfo
mariadb-client
libmariadbd19-debuginfo
libmariadbd19
mariadb105
rh-mariadb105-mariadb (Red Hat package)
mariadb (Red Hat package)
mariadb-pam
mariadb-server-utils
mariadb-errmsg
mariadb-galera
mariadb-test-debuginfo
mariadb-rpm-macros
mariadb-bench-debuginfo
mariadb-bench
galera
rh-mariadb105-galera (Red Hat package)
galera (Red Hat package)
mariadb-server (Ubuntu package)
Red Hat Software Collections
Unified Security Management
IBM Cloud Pak for Business Automation

How to mitigate CVE-2022-27382

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, 10.9.1
mysql-selinux (Red Hat package) - update to 1.0.5-1.el9_0
Judy-devel - update to 1.0.5-18
Judy - update to 1.0.5-18
asio-devel - update to 1.10.8-7
mariadb-cracklib - update to 10.3.35-1
mariadb-errmessage - update to 10.3.35-1
mariadb-oqgraph-engine - update to 10.3.35-1
mariadb-embedded - update to 10.3.35-1
mariadb-backup - update to 10.3.35-1
mariadb-common - update to 10.3.35-1
mariadb-devel - update to 10.3.35-1
mariadb-debuginfo - update to 10.3.35-1
mariadb-debugsource - update to 10.3.35-1
mariadb-embedded-devel - update to 10.3.35-1
mariadb-gssapi-server - update to 10.3.35-1
mariadb-server-galera - update to 10.3.35-1
mariadb-server - update to 10.3.35-1
mariadb - update to 10.3.35-1
mariadb-test - update to 10.3.35-1
mariadb - update to 10.4-3520220717092835.f27b74a8
libmariadbd-devel - addressed in versions 10.4.25-150200.3.28.1, 10.5.16-150300.3.18.1, 10.6.8-150400.3.7.1
mariadb-errormessages - addressed in versions 10.4.25-150200.3.28.1, 10.5.16-150300.3.18.1, 10.6.8-150400.3.7.1
mariadb-tools-debuginfo - addressed in versions 10.4.25-150200.3.28.1, 10.5.16-150300.3.18.1, 10.6.8-150400.3.7.1
mariadb-tools - addressed in versions 10.4.25-150200.3.28.1, 10.5.16-150300.3.18.1, 10.6.8-150400.3.7.1
mariadb-debugsource - addressed in versions 10.4.25-150200.3.28.1, 10.5.16-150300.3.18.1, 10.6.8-150400.3.7.1
mariadb-debuginfo - addressed in versions 10.4.25-150200.3.28.1, 10.5.16-150300.3.18.1, 10.6.8-150400.3.7.1
mariadb-client-debuginfo - addressed in versions 10.4.25-150200.3.28.1, 10.5.16-150300.3.18.1, 10.6.8-150400.3.7.1
mariadb-client - addressed in versions 10.4.25-150200.3.28.1, 10.5.16-150300.3.18.1, 10.6.8-150400.3.7.1
mariadb - addressed in versions 10.4.25-150200.3.28.1, 10.5.16-150300.3.18.1, 10.6.8-150400.3.7.1
libmariadbd19-debuginfo - addressed in versions 10.4.25-150200.3.28.1, 10.5.16-150300.3.18.1, 10.6.8-150400.3.7.1
libmariadbd19 - addressed in versions 10.4.25-150200.3.28.1, 10.5.16-150300.3.18.1, 10.6.8-150400.3.7.1
mariadb105 - update to 10.5.16-1
rh-mariadb105-mariadb (Red Hat package) - update to 10.5.16-2.el7
mariadb (Red Hat package) - update to 10.5.16-2.el9_0
mariadb - update to 10.5.16-2.0.1
mariadb-backup - update to 10.5.16-2.0.1
mariadb-common - update to 10.5.16-2.0.1
mariadb-devel - update to 10.5.16-2.0.1
mariadb-embedded - update to 10.5.16-2.0.1
mariadb-embedded-devel - update to 10.5.16-2.0.1
mariadb-oqgraph-engine - update to 10.5.16-2.0.1
mariadb-pam - update to 10.5.16-2.0.1
mariadb-server - update to 10.5.16-2.0.1
mariadb-server-galera - update to 10.5.16-2.0.1
mariadb-server-utils - update to 10.5.16-2.0.1
mariadb-errmsg - update to 10.5.16-2.0.1
mariadb-gssapi-server - update to 10.5.16-2.0.1
mariadb-test - update to 10.5.16-2.0.1
mariadb-galera - addressed in versions 10.5.16-150300.3.18.1, 10.6.8-150400.3.7.1
mariadb-test-debuginfo - addressed in versions 10.5.16-150300.3.18.1, 10.6.8-150400.3.7.1
mariadb-test - addressed in versions 10.5.16-150300.3.18.1, 10.6.8-150400.3.7.1
mariadb-rpm-macros - addressed in versions 10.5.16-150300.3.18.1, 10.6.8-150400.3.7.1
mariadb-bench-debuginfo - addressed in versions 10.5.16-150300.3.18.1, 10.6.8-150400.3.7.1
mariadb-bench - addressed in versions 10.5.16-150300.3.18.1, 10.6.8-150400.3.7.1
galera - update to 26.4.11-1
rh-mariadb105-galera (Red Hat package) - update to 26.4.11-1.el7
galera (Red Hat package) - update to 26.4.11-1.el9_0
Unified Security Management - update to 5.8.12
IBM Cloud Pak for Business Automation - addressed in versions 21.0.3.15, 22.0.1.5
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

External References

Related Security Bulletins