CVE-2022-21535: Vulnerability in MySQL Shell

mysql-shell Updated 02 Oct 2025

Summary

06/03/2024
Yes i
Low
Not published

CVE-2022-21535: Vulnerability in the MySQL Shell product of Oracle MySQL (component: Shell: General/Core Client). Affects mysql-shell versions < 8.0.29. Fixed in 8.0.29. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

MySQL Shell is a command-line client and scripting interface for MySQL Server. It provides an interactive JavaScript, Python, or SQL interface for working with MySQL databases. The vulnerability affects versions 8.0.28 and prior of MySQL Shell. This vulnerability allows an unauthenticated attacker with access to the infrastructure where MySQL Shell is executed to compromise it. Successful exploitation requires human interaction from a person other than the attacker. If successfully exploited, this vulnerability can result in unauthorized partial denial of service (partial DOS) of MySQL Shell.

Vulnerability Detail

The vulnerability in MySQL Shell (CVE-2022-21535) is a difficult-to-exploit issue that allows an unauthenticated attacker to compromise MySQL Shell. The attacker needs access to the infrastructure where MySQL Shell is executed. However, successful exploitation of this vulnerability requires human interaction from a person other than the attacker. The impact of this vulnerability is a partial denial of service (partial DOS) of MySQL Shell. The CVSS 3.1 Base Score for this vulnerability is 2.5, indicating availability impacts.

How To Fix

Minimum fixed version

8.0.29

This is the first release that contains the fix.

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Conclusion

In conclusion, the vulnerability in MySQL Shell (CVE-2022-21535) allows an unauthenticated attacker to compromise MySQL Shell, resulting in a partial denial of service. It is crucial to upgrade to version 8.0.28 or later to mitigate this vulnerability. For further support on vulnerability remediation, you can contact DevNack.com.

See every vulnerability recorded for mysql-shell →

Share this vulnerability

FAQ

MySQL Shell is a command-line client and scripting interface for MySQL Server. It provides an interactive JavaScript, Python, or SQL interface for working with MySQL databases.

Versions 8.0.28 and prior of MySQL Shell are affected by this vulnerability.

Successful exploitation of this vulnerability can result in unauthorized partial denial of service (partial DOS) of MySQL Shell.

The CVSS 3.1 Base Score for this vulnerability is 2.5, indicating availability impacts.

To fix this vulnerability, it is recommended to upgrade MySQL Shell to version 8.0.28 or later.

Related vulnerabilities

Recent vulnerabilities recorded for mysql-shell.

How To Fix

Minimum fixed version

8.0.29

This is the first release that contains the fix.

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback