NULL pointer dereference in MariaDB - CVE-2022-47015
Published: June 11, 2023
Vulnerability identifier: #VU77142
CSH Severity: Medium
CVSS v4: 7.1 [CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2022-47015
CWE-ID: CWE-476
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 NULL pointer dereference error within the spider_db_mbase::print_warnings() function. A remote user can pass specially crafted data to the server and perform a denial of service (DoS) attack.
Affected software
MariaDB
Oracle Linux
Amazon Linux AMI
Gentoo Linux
SUSE Linux Enterprise High Performance Computing 15
SUSE Linux Enterprise Server for SAP Applications 15
SUSE Linux Enterprise Server 15
SUSE Linux Enterprise Real Time 15
SUSE Linux Enterprise High Performance Computing LTSS 15
SUSE Linux Enterprise High Performance Computing ESPOS 15
Galera for Ericsson 15
SUSE Linux Enterprise Desktop 15
SUSE Manager Proxy
SUSE Manager Retail Branch Server
SUSE Manager Server
SUSE Linux Enterprise Micro
SUSE Enterprise Storage
Red Hat Enterprise Linux for IBM z Systems
Red Hat Enterprise Linux for Power, little endian
Red Hat Enterprise Linux for x86_64
Red Hat Enterprise Linux for ARM 64
Anolis OS
SUSE Linux Enterprise High Performance Computing 15 SP2 LTSS
SUSE Linux Enterprise Server 15 SP2 LTSS
SUSE Linux Enterprise Server 15 SP3 LTSS
Server Applications Module
SUSE Package Hub 15
openSUSE Leap
openEuler
Ubuntu
Fedora
Judy
Judy-devel
asio-devel
mariadb-server (Ubuntu package)
mariadb-errmessage
mariadb-common
mariadb-embedded-devel
mariadb-backup
mariadb-devel
mariadb-cracklib
mariadb-oqgraph-engine
mariadb-test
mariadb-embedded
mariadb-gssapi-server
mariadb-debuginfo
mariadb-server
mariadb-server-galera
mariadb-debugsource
mariadb
mariadb-server-utils
mariadb-errmsg
mariadb-client-debuginfo
mariadb-client
mariadb-tools
libmariadbd19-debuginfo
mariadb-tools-debuginfo
libmariadbd19
libmariadbd-devel
mariadb-errormessages
mariadb105
mariadb-galera
rh-mariadb105-mariadb (Red Hat package)
mariadb (Red Hat package)
mariadb-pam
mariadb-test-debuginfo
mariadb-bench
mariadb-rpm-macros
mariadb-bench-debuginfo
galera
rh-mariadb105-galera (Red Hat package)
galera (Red Hat package)
IBM Cloud Object Storage Systems
Oracle Linux
Amazon Linux AMI
Gentoo Linux
SUSE Linux Enterprise High Performance Computing 15
SUSE Linux Enterprise Server for SAP Applications 15
SUSE Linux Enterprise Server 15
SUSE Linux Enterprise Real Time 15
SUSE Linux Enterprise High Performance Computing LTSS 15
SUSE Linux Enterprise High Performance Computing ESPOS 15
Galera for Ericsson 15
SUSE Linux Enterprise Desktop 15
SUSE Manager Proxy
SUSE Manager Retail Branch Server
SUSE Manager Server
SUSE Linux Enterprise Micro
SUSE Enterprise Storage
Red Hat Enterprise Linux for IBM z Systems
Red Hat Enterprise Linux for Power, little endian
Red Hat Enterprise Linux for x86_64
Red Hat Enterprise Linux for ARM 64
Anolis OS
SUSE Linux Enterprise High Performance Computing 15 SP2 LTSS
SUSE Linux Enterprise Server 15 SP2 LTSS
SUSE Linux Enterprise Server 15 SP3 LTSS
Server Applications Module
SUSE Package Hub 15
openSUSE Leap
openEuler
Ubuntu
Fedora
Judy
Judy-devel
asio-devel
mariadb-server (Ubuntu package)
mariadb-errmessage
mariadb-common
mariadb-embedded-devel
mariadb-backup
mariadb-devel
mariadb-cracklib
mariadb-oqgraph-engine
mariadb-test
mariadb-embedded
mariadb-gssapi-server
mariadb-debuginfo
mariadb-server
mariadb-server-galera
mariadb-debugsource
mariadb
mariadb-server-utils
mariadb-errmsg
mariadb-client-debuginfo
mariadb-client
mariadb-tools
libmariadbd19-debuginfo
mariadb-tools-debuginfo
libmariadbd19
libmariadbd-devel
mariadb-errormessages
mariadb105
mariadb-galera
rh-mariadb105-mariadb (Red Hat package)
mariadb (Red Hat package)
mariadb-pam
mariadb-test-debuginfo
mariadb-bench
mariadb-rpm-macros
mariadb-bench-debuginfo
galera
rh-mariadb105-galera (Red Hat package)
galera (Red Hat package)
IBM Cloud Object Storage Systems
How to mitigate CVE-2022-47015
Install updates from vendor's website.
MariaDB - addressed in versions 10.3.39, 10.4.29, 10.5.20, 10.6.13, 10.8.8, 10.9.6, 10.10.4, 10.11.3
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 - addressed in versions 3.17.0.131, 3.18.0.21
mariadb-server (Ubuntu package) - addressed in versions 1:10.3.39-0ubuntu0.20.04.2, 1:10.6.16-0ubuntu0.22.04.1, 1:10.11.6-0ubuntu0.23.10.2
mariadb-errmessage - update to 10.3.39-1
mariadb-common - update to 10.3.39-1
mariadb-embedded-devel - update to 10.3.39-1
mariadb-backup - update to 10.3.39-1
mariadb-devel - update to 10.3.39-1
mariadb-cracklib - update to 10.3.39-1
mariadb-oqgraph-engine - update to 10.3.39-1
mariadb-test - update to 10.3.39-1
mariadb-embedded - update to 10.3.39-1
mariadb-gssapi-server - update to 10.3.39-1
mariadb-debuginfo - update to 10.3.39-1
mariadb-server - update to 10.3.39-1
mariadb-server-galera - update to 10.3.39-1
mariadb-debugsource - update to 10.3.39-1
mariadb - update to 10.3.39-1
mariadb-test - addressed in versions 10.3.39-1.0.1, 10.5.22-1.0.1
mariadb-backup - addressed in versions 10.3.39-1.0.1, 10.5.22-1.0.1
mariadb-server-utils - addressed in versions 10.3.39-1.0.1, 10.5.22-1.0.1
mariadb-server-galera - addressed in versions 10.3.39-1.0.1, 10.5.22-1.0.1
mariadb-server - addressed in versions 10.3.39-1.0.1, 10.5.22-1.0.1
mariadb-oqgraph-engine - addressed in versions 10.3.39-1.0.1, 10.5.22-1.0.1
mariadb-gssapi-server - addressed in versions 10.3.39-1.0.1, 10.5.22-1.0.1
mariadb-embedded-devel - addressed in versions 10.3.39-1.0.1, 10.5.22-1.0.1
mariadb-embedded - addressed in versions 10.3.39-1.0.1, 10.5.22-1.0.1
mariadb-devel - addressed in versions 10.3.39-1.0.1, 10.5.22-1.0.1
mariadb-common - addressed in versions 10.3.39-1.0.1, 10.5.22-1.0.1
mariadb - addressed in versions 10.3.39-1.0.1, 10.5.22-1.0.1
mariadb-errmsg - addressed in versions 10.3.39-1.0.1, 10.5.22-1.0.1
mariadb-client-debuginfo - addressed in versions 10.4.31-150200.3.45.1, 10.5.20-150300.3.28.1, 10.5.21-150300.3.32.5, 10.6.13-150400.3.23.1
mariadb-client - addressed in versions 10.4.31-150200.3.45.1, 10.5.20-150300.3.28.1, 10.5.21-150300.3.32.5, 10.6.13-150400.3.23.1
mariadb-tools - addressed in versions 10.4.31-150200.3.45.1, 10.5.20-150300.3.28.1, 10.5.21-150300.3.32.5, 10.6.13-150400.3.23.1
mariadb-debugsource - addressed in versions 10.4.31-150200.3.45.1, 10.5.20-150300.3.28.1, 10.5.21-150300.3.32.5, 10.6.13-150400.3.23.1
libmariadbd19-debuginfo - addressed in versions 10.4.31-150200.3.45.1, 10.5.20-150300.3.28.1, 10.5.21-150300.3.32.5, 10.6.13-150400.3.23.1
mariadb-tools-debuginfo - addressed in versions 10.4.31-150200.3.45.1, 10.5.20-150300.3.28.1, 10.5.21-150300.3.32.5, 10.6.13-150400.3.23.1
mariadb-debuginfo - addressed in versions 10.4.31-150200.3.45.1, 10.5.20-150300.3.28.1, 10.5.21-150300.3.32.5, 10.6.13-150400.3.23.1
libmariadbd19 - addressed in versions 10.4.31-150200.3.45.1, 10.5.20-150300.3.28.1, 10.5.21-150300.3.32.5, 10.6.13-150400.3.23.1
libmariadbd-devel - addressed in versions 10.4.31-150200.3.45.1, 10.5.20-150300.3.28.1, 10.5.21-150300.3.32.5, 10.6.13-150400.3.23.1
mariadb-errormessages - addressed in versions 10.4.31-150200.3.45.1, 10.5.20-150300.3.28.1, 10.5.21-150300.3.32.5, 10.6.13-150400.3.23.1
mariadb - addressed in versions 10.4.31-150200.3.45.1, 10.5.20-150300.3.28.1, 10.5.21-150300.3.32.5, 10.6.13-150400.3.23.1
mariadb105 - update to 10.5.18-1
mariadb - addressed in versions 10.5.20-1.fc37, 10.5.20-1.fc38, 10.5-3720230614090319.9e842022, 10.5-3820230614090319.75741a8b
mariadb-galera - addressed in versions 10.5.20-150300.3.28.1, 10.5.21-150300.3.32.5, 10.6.13-150400.3.23.1
rh-mariadb105-mariadb (Red Hat package) - update to 10.5.22-1.el7
mariadb (Red Hat package) - update to 10.5.22-1.el9_2
mariadb-pam - update to 10.5.22-1.0.1
mariadb-test-debuginfo - update to 10.6.13-150400.3.23.1
mariadb-bench - update to 10.6.13-150400.3.23.1
mariadb-test - update to 10.6.13-150400.3.23.1
mariadb-rpm-macros - update to 10.6.13-150400.3.23.1
mariadb-bench-debuginfo - update to 10.6.13-150400.3.23.1
galera - addressed in versions 25.3.37-1, 26.4.14-1
rh-mariadb105-galera (Red Hat package) - update to 26.4.14-1.el7
galera (Red Hat package) - update to 26.4.14-1.el9_2
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 - addressed in versions 3.17.0.131, 3.18.0.21
mariadb-server (Ubuntu package) - addressed in versions 1:10.3.39-0ubuntu0.20.04.2, 1:10.6.16-0ubuntu0.22.04.1, 1:10.11.6-0ubuntu0.23.10.2
mariadb-errmessage - update to 10.3.39-1
mariadb-common - update to 10.3.39-1
mariadb-embedded-devel - update to 10.3.39-1
mariadb-backup - update to 10.3.39-1
mariadb-devel - update to 10.3.39-1
mariadb-cracklib - update to 10.3.39-1
mariadb-oqgraph-engine - update to 10.3.39-1
mariadb-test - update to 10.3.39-1
mariadb-embedded - update to 10.3.39-1
mariadb-gssapi-server - update to 10.3.39-1
mariadb-debuginfo - update to 10.3.39-1
mariadb-server - update to 10.3.39-1
mariadb-server-galera - update to 10.3.39-1
mariadb-debugsource - update to 10.3.39-1
mariadb - update to 10.3.39-1
mariadb-test - addressed in versions 10.3.39-1.0.1, 10.5.22-1.0.1
mariadb-backup - addressed in versions 10.3.39-1.0.1, 10.5.22-1.0.1
mariadb-server-utils - addressed in versions 10.3.39-1.0.1, 10.5.22-1.0.1
mariadb-server-galera - addressed in versions 10.3.39-1.0.1, 10.5.22-1.0.1
mariadb-server - addressed in versions 10.3.39-1.0.1, 10.5.22-1.0.1
mariadb-oqgraph-engine - addressed in versions 10.3.39-1.0.1, 10.5.22-1.0.1
mariadb-gssapi-server - addressed in versions 10.3.39-1.0.1, 10.5.22-1.0.1
mariadb-embedded-devel - addressed in versions 10.3.39-1.0.1, 10.5.22-1.0.1
mariadb-embedded - addressed in versions 10.3.39-1.0.1, 10.5.22-1.0.1
mariadb-devel - addressed in versions 10.3.39-1.0.1, 10.5.22-1.0.1
mariadb-common - addressed in versions 10.3.39-1.0.1, 10.5.22-1.0.1
mariadb - addressed in versions 10.3.39-1.0.1, 10.5.22-1.0.1
mariadb-errmsg - addressed in versions 10.3.39-1.0.1, 10.5.22-1.0.1
mariadb-client-debuginfo - addressed in versions 10.4.31-150200.3.45.1, 10.5.20-150300.3.28.1, 10.5.21-150300.3.32.5, 10.6.13-150400.3.23.1
mariadb-client - addressed in versions 10.4.31-150200.3.45.1, 10.5.20-150300.3.28.1, 10.5.21-150300.3.32.5, 10.6.13-150400.3.23.1
mariadb-tools - addressed in versions 10.4.31-150200.3.45.1, 10.5.20-150300.3.28.1, 10.5.21-150300.3.32.5, 10.6.13-150400.3.23.1
mariadb-debugsource - addressed in versions 10.4.31-150200.3.45.1, 10.5.20-150300.3.28.1, 10.5.21-150300.3.32.5, 10.6.13-150400.3.23.1
libmariadbd19-debuginfo - addressed in versions 10.4.31-150200.3.45.1, 10.5.20-150300.3.28.1, 10.5.21-150300.3.32.5, 10.6.13-150400.3.23.1
mariadb-tools-debuginfo - addressed in versions 10.4.31-150200.3.45.1, 10.5.20-150300.3.28.1, 10.5.21-150300.3.32.5, 10.6.13-150400.3.23.1
mariadb-debuginfo - addressed in versions 10.4.31-150200.3.45.1, 10.5.20-150300.3.28.1, 10.5.21-150300.3.32.5, 10.6.13-150400.3.23.1
libmariadbd19 - addressed in versions 10.4.31-150200.3.45.1, 10.5.20-150300.3.28.1, 10.5.21-150300.3.32.5, 10.6.13-150400.3.23.1
libmariadbd-devel - addressed in versions 10.4.31-150200.3.45.1, 10.5.20-150300.3.28.1, 10.5.21-150300.3.32.5, 10.6.13-150400.3.23.1
mariadb-errormessages - addressed in versions 10.4.31-150200.3.45.1, 10.5.20-150300.3.28.1, 10.5.21-150300.3.32.5, 10.6.13-150400.3.23.1
mariadb - addressed in versions 10.4.31-150200.3.45.1, 10.5.20-150300.3.28.1, 10.5.21-150300.3.32.5, 10.6.13-150400.3.23.1
mariadb105 - update to 10.5.18-1
mariadb - addressed in versions 10.5.20-1.fc37, 10.5.20-1.fc38, 10.5-3720230614090319.9e842022, 10.5-3820230614090319.75741a8b
mariadb-galera - addressed in versions 10.5.20-150300.3.28.1, 10.5.21-150300.3.32.5, 10.6.13-150400.3.23.1
rh-mariadb105-mariadb (Red Hat package) - update to 10.5.22-1.el7
mariadb (Red Hat package) - update to 10.5.22-1.el9_2
mariadb-pam - update to 10.5.22-1.0.1
mariadb-test-debuginfo - update to 10.6.13-150400.3.23.1
mariadb-bench - update to 10.6.13-150400.3.23.1
mariadb-test - update to 10.6.13-150400.3.23.1
mariadb-rpm-macros - update to 10.6.13-150400.3.23.1
mariadb-bench-debuginfo - update to 10.6.13-150400.3.23.1
galera - addressed in versions 25.3.37-1, 26.4.14-1
rh-mariadb105-galera (Red Hat package) - update to 26.4.14-1.el7
galera (Red Hat package) - update to 26.4.14-1.el9_2
External References
Related Security Bulletins
- Denial of service in MariaDB Server
- SUSE update for mariadb
- SUSE update for mariadb
- SUSE update for mariadb
- SUSE update for mariadb
- Fedora 37 update for mariadb
- Fedora 38 update for mariadb
- Fedora 37 Modular update for mariadb
- Fedora 38 Modular update for mariadb
- Red Hat Enterprise Linux 8 update for the mariadb:10.3 module
- SUSE update for mariadb
- Red Hat Enterprise Linux 9 update for galera and mariadb
- Red Hat Enterprise Linux 8 update for the mariadb:10.5 module
- Multiple vulnerabilities in Oracle Linux
- Red Hat Software Collections update for rh-mariadb105-galera and rh-mariadb105-mariadb
- IBM Cloud Object System update for Java
- Ubuntu update for mariadb
- openEuler update for mariadb
- Gentoo update for MariaDB
- Amazon Linux AMI update for mariadb105
- Anolis OS update for mariadb:10.5 module
- Anolis OS update for mariadb:10.3 module