CVE-2023-5157 Mariadb: node crashes with transport endpoint is not connected mysqld got signal 6

High 7.5 Published Updated

A malicious remote client can cause a denial of service in MariaDB by triggering a crash via port scans on specific ports.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2023-5157?

CVE-2023-5157 is a high-severity denial of service vulnerability in Fedoraproject Fedora, published on 26 Sep 2023. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

A vulnerability was found in MariaDB. An OpenVAS port scan on ports 3306 and 4567 allows a malicious remote client to cause a denial of service.

Weakness: CWE-400

Which versions are affected by CVE-2023-5157?

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

PackageAffectedFixed in
mariadb BitnamiAll versions10.3.36, 10.4.26, 10.5.17, 10.6.9, 10.7.5, 10.8.4
mariadb-min BitnamiAll versions10.3.36, 10.4.26, 10.5.17, 10.6.9, 10.7.5, 10.8.4
mysql-client BitnamiAll versions10.3.36, 10.4.26, 10.5.17, 10.6.9, 10.7.5, 10.8.4

Products include Fedoraproject Fedora, Mariadb Mariadb, Redhat Enterprise Linux, Redhat Enterprise Linux Eus, Redhat Enterprise Linux for Arm 64, Redhat Enterprise Linux for Arm 64 Eus and 6 more.

How do I fix CVE-2023-5157?

Upgrade mariadb to a fixed version for your release line: 10.3.36, 10.4.26, 10.5.17 or 10.6.9.

Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.

Is CVE-2023-5157 being exploited?

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

All Fedoraproject Fedora vulnerabilities

Sources

Also known as BIT-mariadb-2023-5157, BIT-mariadb-min-2023-5157, BIT-mysql-client-2023-5157, DEBIAN-CVE-2023-5157, GHSA-6589-j38p-mm8c, OESA-2023-1750 and 1 more.

Is CVE-2023-5157 in your software?

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

Check your SBOMs for free