CVE-2021-2011 Denial of service in MySQL Server

Medium 5.9 Published Updated

An unauthenticated attacker can cause a complete denial of service in the MySQL Client via network access.

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

What is CVE-2021-2011?

CVE-2021-2011 is a medium-severity denial of service vulnerability in Fedoraproject Fedora, published on 20 Jan 2021. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Vulnerability in the MySQL Client product of Oracle MySQL (component: C API). Supported versions that are affected are 5.7.32 and prior and 8.0.22 and prior. Difficult to exploit vulnerability allows unauthenticated attacker with network access via multiple protocols to compromise MySQL Client. Successful attacks of this vulnerability can result in unauthorized ability to cause a hang or frequently repeatable crash (complete DOS) of MySQL Client. CVSS 3.1 Base Score 5.9 (Availability impacts). CVSS Vector: (CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H).

Which versions are affected by CVE-2021-2011?

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

PackageAffectedFixed in
mariadb BitnamiFrom 5.5.05.5.61, 10.0.35, 10.1.33, 10.2.15
mariadb-min BitnamiFrom 5.5.05.5.61, 10.0.35, 10.1.33, 10.2.15
mysql-client BitnamiFrom 5.5.05.5.61, 10.0.35, 10.1.33, 10.2.15

Products include Fedoraproject Fedora, Mariadb Mariadb, Netapp Active Iq Unified Manager, Netapp Oncommand Insight, Netapp Oncommand Workflow Automation, Oracle Mysql.

How do I fix CVE-2021-2011?

Upgrade mariadb to a fixed version for your release line: 5.5.61, 10.0.35, 10.1.33 or 10.2.15.

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-2011 being exploited?

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

All Fedoraproject Fedora vulnerabilities

Sources

Also known as BIT-mariadb-2021-2011, BIT-mariadb-min-2021-2011, BIT-mysql-client-2021-2011, GHSA-xvch-fv6q-gx5m, UBUNTU-CVE-2021-2011.

Is CVE-2021-2011 in your software?

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

Check your SBOMs for free