CVE-2021-2020 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-2021-2020?

CVE-2021-2020 is a medium-severity denial of service vulnerability in Fedoraproject Fedora, published on 20 Jan 2021. 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 8.0.20 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.1 Base Score 6.5 (Availability impacts). CVSS Vector: (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H).

Which versions are affected by CVE-2021-2020?

It affects 5 products.

Products include Fedoraproject Fedora, Netapp Oncommand Insight, Netapp Oncommand Workflow Automation, Netapp Snapcenter, Oracle Mysql.

How do I fix CVE-2021-2020?

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-2021-2020 being exploited?

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

All Fedoraproject Fedora vulnerabilities

Sources

Also known as GHSA-4fm4-277p-mcg2, UBUNTU-CVE-2021-2020.

Is CVE-2021-2020 in your software?

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

Check your SBOMs for free