CVE-2022-21555 Missing authorization in MySQL Server

Medium 4.2 Published Updated

High-privileged local attackers can modify or read MySQL Shell data via GUI flaws, requiring user interaction and affecting VS Code extensions.

Exploited in the wild
Not known
Login needed
An administrator
Attackable
Local or same network only
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2022-21555?

CVE-2022-21555 is a medium-severity missing authorization vulnerability in Oracle Corporation MySQL Server, published on 19 Jul 2022. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.

Official description

Vulnerability in the MySQL Shell for VS Code product of Oracle MySQL (component: Shell: GUI). Supported versions that are affected are 1.1.8 and prior. Easily exploitable vulnerability allows high privileged attacker with logon to the infrastructure where MySQL Shell for VS Code executes to compromise MySQL Shell for VS Code. Successful attacks require human interaction from a person other than the attacker and while the vulnerability is in MySQL Shell for VS Code, attacks may significantly impact additional products (scope change). Successful attacks of this vulnerability can result in unauthorized update, insert or delete access to some of MySQL Shell for VS Code accessible data as well as unauthorized read access to a subset of MySQL Shell for VS Code accessible data. CVSS 3.1 Base Score 4.2 (Confidentiality and Integrity impacts). CVSS Vector: (CVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N).

Which versions are affected by CVE-2022-21555?

1 open source package ship an affected version, including mysql-shell. It affects 1 product.

PackageAffectedFixed in
mysql-shell BitnamiAll versions1.1.9

Products include Oracle Mysql Shell.

How do I fix CVE-2022-21555?

Upgrade mysql-shell to 1.1.9 or later.

Upgrade, and check permissions on every request on the server, not only in the interface. More about Missing authorization.

Is CVE-2022-21555 being exploited?

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

Sources

Also known as BIT-mysql-shell-2022-21555, GHSA-jwmx-w668-p6cw.

Is CVE-2022-21555 in your software?

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

Check your SBOMs for free