CVE-2019-2974 Denial of service in MySQL Server

Medium 6.5 Published Updated

A low-privileged attacker can cause a complete denial of service in MySQL Server via the Optimizer component.

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-2019-2974?

CVE-2019-2974 is a medium-severity denial of service vulnerability in Canonical Ubuntu Linux, published on 16 Oct 2019. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

Vulnerability in the MySQL Server product of Oracle MySQL (component: Server: Optimizer). Supported versions that are affected are 5.6.45 and prior, 5.7.27 and prior and 8.0.17 and prior. Easily exploitable vulnerability allows low privileged attacker with network access via multiple protocols to compromise MySQL Server. Successful attacks of this vulnerability can result in unauthorized ability to cause a hang or frequently repeatable crash (complete DOS) of MySQL Server. CVSS 3.0 Base Score 6.5 (Availability impacts). CVSS Vector: (CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H).

Which versions are affected by CVE-2019-2974?

It affects 5 products.

Linux distribution packages (22)
mariadb SUSE:Enterprise Storage 5All versions10.0.40.2-29.35.1
mariadb SUSE:HPE Helion OpenStack 8All versions10.0.40.2-29.35.1
mariadb-100 SUSE:Linux Enterprise Desktop 12 SP4All versions10.0.40.2-2.12.2
mariadb SUSE:Linux Enterprise Server 12 SP1-LTSSAll versions10.0.40.2-29.35.1
mariadb SUSE:Linux Enterprise Server 12 SP2-BCLAll versions10.0.40.2-29.35.1
mariadb SUSE:Linux Enterprise Server 12 SP2-LTSSAll versions10.0.40.2-29.35.1
mariadb SUSE:Linux Enterprise Server 12 SP3-BCLAll versions10.0.40.2-29.35.1
mariadb SUSE:Linux Enterprise Server 12 SP3-LTSSAll versions10.0.40.2-29.35.1
mariadb-100 SUSE:Linux Enterprise Server 12 SP4All versions10.0.40.2-2.12.2
mariadb-100 SUSE:Linux Enterprise Server 12 SP5All versions10.0.40.2-2.12.2
mariadb SUSE:Linux Enterprise Server for SAP Applications 12 SP1All versions10.0.40.2-29.35.1
mariadb SUSE:Linux Enterprise Server for SAP Applications 12 SP2All versions10.0.40.2-29.35.1
mariadb SUSE:Linux Enterprise Server for SAP Applications 12 SP3All versions10.0.40.2-29.35.1
mariadb-100 SUSE:Linux Enterprise Server for SAP Applications 12 SP4All versions10.0.40.2-2.12.2
mariadb-100 SUSE:Linux Enterprise Server for SAP Applications 12 SP5All versions10.0.40.2-2.12.2
mariadb-100 SUSE:Linux Enterprise Software Development Kit 12 SP4All versions10.0.40.2-2.12.2
mariadb-100 SUSE:Linux Enterprise Software Development Kit 12 SP5All versions10.0.40.2-2.12.2
mariadb-100 SUSE:Linux Enterprise Workstation Extension 12 SP4All versions10.0.40.2-2.12.2
mariadb-100 SUSE:Linux Enterprise Workstation Extension 12 SP5All versions10.0.40.2-2.12.2
mariadb SUSE:OpenStack Cloud 7All versions10.0.40.2-29.35.1
mariadb SUSE:OpenStack Cloud 8All versions10.0.40.2-29.35.1
mariadb SUSE:OpenStack Cloud Crowbar 8All versions10.0.40.2-29.35.1

Products include Canonical Ubuntu Linux, Fedoraproject Fedora, Mariadb Mariadb, Opensuse Leap, Oracle Mysql.

How do I fix CVE-2019-2974?

Apply the vendor's patch.

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-2019-2974 being exploited?

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

All Canonical Ubuntu Linux vulnerabilities

Sources

Also known as ALPINE-CVE-2019-2974, GHSA-p396-jmwr-p8q2, SUSE-SU-2019:3370-1, SUSE-SU-2020:0050-1, UBUNTU-CVE-2019-2974.

Is CVE-2019-2974 in your software?

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

Check your SBOMs for free