CVE-2021-2007 Information disclosure in MySQL Server

Low 3.7 Published Updated

An unauthenticated attacker can exploit a difficult-to-exploit vulnerability in the MySQL Client C API to gain unauthorized read access to a subset of accessible data.

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-2007?

CVE-2021-2007 is a low-severity 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.6.47 and prior, 5.7.29 and prior and 8.0.19 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 read access to a subset of MySQL Client accessible data. CVSS 3.1 Base Score 3.7 (Confidentiality impacts). CVSS Vector: (CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N).

Which versions are affected by CVE-2021-2007?

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.65, 10.1.41, 10.2.26, 10.3.17, 10.4.7
mariadb-min BitnamiFrom 5.5.05.5.65, 10.1.41, 10.2.26, 10.3.17, 10.4.7
mysql-client BitnamiFrom 5.5.05.5.65, 10.1.41, 10.2.26, 10.3.17, 10.4.7

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-2007?

Upgrade mariadb to a fixed version for your release line: 5.5.65, 10.1.41, 10.2.26 or 10.3.17.

Is CVE-2021-2007 being exploited?

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

All Fedoraproject Fedora vulnerabilities

Sources

Also known as BIT-mariadb-2021-2007, BIT-mariadb-min-2021-2007, BIT-mysql-client-2021-2007, GHSA-62m3-j4w3-p5mw, UBUNTU-CVE-2021-2007.

Is CVE-2021-2007 in your software?

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

Check your SBOMs for free