CVE-2022-47015 Null dereference in n/a

Medium 6.5 Published Updated

A null pointer dereference in MariaDB Server allows attackers to cause a denial of service via the spider_db_mbase::print_warnings function.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2022-47015?

CVE-2022-47015 is a medium-severity vulnerability in Mariadb Mariadb, published on 20 Jan 2023. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

MariaDB Server before 10.3.34 thru 10.9.3 is vulnerable to Denial of Service. It is possible for function spider_db_mbase::print_warnings to dereference a null pointer.

Weakness: CWE-476

Which versions are affected by CVE-2022-47015?

3 open source packages ship an affected version, including mariadb, mariadb-min and mysql-client. It affects 1 product.

PackageAffectedFixed in
mariadb BitnamiFrom 10.3.010.3.39, 10.4.29, 10.5.20, 10.6.13, 10.8.8, 10.9.6, 10.10.4, 10.11.3
mariadb-min BitnamiFrom 10.3.010.3.39, 10.4.29, 10.5.20, 10.6.13, 10.8.8, 10.9.6, 10.10.4, 10.11.3
mysql-client BitnamiFrom 10.3.010.3.39, 10.4.29, 10.5.20, 10.6.13, 10.8.8, 10.9.6, 10.10.4, 10.11.3
Linux distribution packages (27)
mariadb SUSE:Enterprise Storage 7All versions10.4.31-150200.3.45.1
mariadb SUSE:Enterprise Storage 7.1All versions10.5.20-150300.3.28.1
mariadb SUSE:Enterprise Storage 7.1All versions10.5.21-150300.3.32.5
mariadb SUSE:Linux Enterprise High Performance Computing 15 SP2-LTSSAll versions10.4.31-150200.3.45.1
mariadb SUSE:Linux Enterprise High Performance Computing 15 SP3-ESPOSAll versions10.5.20-150300.3.28.1
mariadb SUSE:Linux Enterprise High Performance Computing 15 SP3-ESPOSAll versions10.5.21-150300.3.32.5
mariadb SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSSAll versions10.5.20-150300.3.28.1
mariadb SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSSAll versions10.5.21-150300.3.32.5
mariadb SUSE:Linux Enterprise Module for Package Hub 15 SP4All versions10.6.13-150400.3.23.1
mariadb SUSE:Linux Enterprise Module for Package Hub 15 SP5All versions10.6.13-150400.3.23.1
mariadb SUSE:Linux Enterprise Module for Server Applications 15 SP4All versions10.6.13-150400.3.23.1
mariadb SUSE:Linux Enterprise Module for Server Applications 15 SP5All versions10.6.13-150400.3.23.1
mariadb SUSE:Linux Enterprise Real Time 15 SP3All versions10.5.20-150300.3.28.1
mariadb SUSE:Linux Enterprise Real Time 15 SP3All versions10.5.21-150300.3.32.5
mariadb SUSE:Linux Enterprise Server 15 SP2-LTSSAll versions10.4.31-150200.3.45.1
mariadb SUSE:Linux Enterprise Server 15 SP3-LTSSAll versions10.5.20-150300.3.28.1
mariadb SUSE:Linux Enterprise Server 15 SP3-LTSSAll versions10.5.21-150300.3.32.5
mariadb SUSE:Linux Enterprise Server for SAP Applications 15 SP2All versions10.4.31-150200.3.45.1
mariadb SUSE:Linux Enterprise Server for SAP Applications 15 SP3All versions10.5.20-150300.3.28.1
mariadb SUSE:Linux Enterprise Server for SAP Applications 15 SP3All versions10.5.21-150300.3.32.5
mariadb SUSE:Manager Proxy 4.2All versions10.5.20-150300.3.28.1
mariadb SUSE:Manager Proxy 4.2All versions10.5.21-150300.3.32.5
mariadb SUSE:Manager Server 4.2All versions10.5.20-150300.3.28.1
mariadb SUSE:Manager Server 4.2All versions10.5.21-150300.3.32.5
mariadb openSUSE:Leap 15.4All versions10.6.13-150400.3.23.1
mariadb openSUSE:Leap 15.5All versions10.6.13-150400.3.23.1
mariadb openSUSE:TumbleweedAll versions10.11.3-1.1

Products include Mariadb Mariadb.

How do I fix CVE-2022-47015?

Upgrade mariadb to a fixed version for your release line: 10.3.39, 10.4.29, 10.5.20 or 10.6.13.

Is CVE-2022-47015 being exploited?

There is no known exploitation of CVE-2022-47015 in the wild and no public exploit code.

All Mariadb Mariadb vulnerabilities

Sources

Also known as ALPINE-CVE-2022-47015, AZL-13115, BIT-mariadb-2022-47015, BIT-mariadb-min-2022-47015, BIT-mysql-client-2022-47015, DEBIAN-CVE-2022-47015 and 10 more.

Is CVE-2022-47015 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free