Join the Cyber Forum: Threat Intel on May 12, 2026 to learn how AI is reshaping threat defense.Join the Virtual Cyber Forum: Threat IntelRegister Now
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2022-21278

CVE-2022-21278: Oracle MySQL Server Optimizer DOS Flaw

CVE-2022-21278 is a denial of service vulnerability in Oracle MySQL Server's Optimizer component that enables attackers to crash the server and modify data. This article covers technical details, affected versions, and mitigation.

Published: February 17, 2026

CVE-2022-21278 Overview

CVE-2022-21278 is a vulnerability in the MySQL Server product of Oracle MySQL, specifically affecting the Server: Optimizer component. This easily exploitable vulnerability allows a low-privileged attacker with network access via multiple protocols to compromise MySQL Server. Successful exploitation can result in unauthorized ability to cause a hang or frequently repeatable crash (complete denial of service) of MySQL Server, as well as unauthorized update, insert, or delete access to some of MySQL Server's accessible data.

Critical Impact

This vulnerability enables denial of service attacks and unauthorized data modification against MySQL Server versions 8.0.26 and prior, potentially causing significant service disruption and data integrity issues in production environments.

Affected Products

  • Oracle MySQL Server versions 8.0.26 and prior
  • NetApp OnCommand Insight
  • NetApp OnCommand Workflow Automation

Discovery Timeline

  • January 19, 2022 - CVE-2022-21278 published to NVD
  • November 21, 2024 - Last updated in NVD database

Technical Details for CVE-2022-21278

Vulnerability Analysis

The vulnerability resides in the Server: Optimizer component of Oracle MySQL. The Optimizer is responsible for determining the most efficient execution plan for SQL queries. A flaw in this component allows attackers with low-privilege database access to craft malicious queries that trigger abnormal behavior in the query optimization process.

The attack can be executed over the network using multiple protocols supported by MySQL, making it accessible from remote locations. When exploited, the vulnerability causes the MySQL Server to either hang indefinitely or crash repeatedly, resulting in a complete denial of service. Additionally, the vulnerability permits unauthorized modification operations (update, insert, delete) on certain accessible data within the MySQL Server.

Root Cause

The root cause stems from improper handling within the MySQL Server's Optimizer component. While Oracle has not disclosed specific technical details about the exact nature of the flaw (classified as NVD-CWE-noinfo), the vulnerability appears to involve insufficient validation or boundary checking during query optimization operations, allowing crafted inputs to trigger resource exhaustion or memory corruption scenarios.

Attack Vector

The vulnerability is exploitable over the network by authenticated users with low-privilege access to the MySQL Server. The attack requires no user interaction and can be executed through multiple MySQL-supported protocols. An attacker needs only basic database connectivity and minimal credentials to launch the attack. The ease of exploitation combined with the potential for service disruption makes this vulnerability particularly concerning for production database environments.

The attack primarily targets availability by causing server hangs or crashes, but also enables limited integrity violations through unauthorized data manipulation capabilities.

Detection Methods for CVE-2022-21278

Indicators of Compromise

  • Unexpected MySQL Server crashes or hangs occurring repeatedly
  • Unusual query patterns in MySQL slow query logs, particularly complex optimization-intensive queries
  • Authentication attempts from unexpected IP addresses with low-privilege accounts
  • Abnormal resource consumption (CPU/memory spikes) during query processing

Detection Strategies

  • Monitor MySQL error logs for repeated crash events or optimizer-related errors
  • Implement database activity monitoring to identify anomalous query patterns targeting the optimizer
  • Configure alerting on MySQL Server availability metrics and unexpected restarts
  • Review audit logs for low-privilege accounts executing unusual data modification operations

Monitoring Recommendations

  • Enable MySQL general query log or slow query log during investigation periods
  • Deploy network-based intrusion detection to identify malicious MySQL protocol traffic
  • Implement application performance monitoring (APM) to detect service degradation patterns
  • Configure automated alerting for MySQL Server availability and health checks

How to Mitigate CVE-2022-21278

Immediate Actions Required

  • Upgrade MySQL Server to versions newer than 8.0.26 that contain the security patch
  • Review and restrict database user privileges to minimum required access levels
  • Implement network segmentation to limit MySQL Server exposure
  • Monitor for exploitation attempts while planning upgrade activities

Patch Information

Oracle has released security patches addressing this vulnerability as part of the January 2022 Critical Patch Update. Administrators should consult the Oracle Security Alert January 2022 for detailed patch information and download instructions. NetApp customers should also review the NetApp Security Advisory NTAP-20220121-0008 for guidance on affected NetApp products.

Workarounds

  • Restrict network access to MySQL Server using firewall rules to trusted IP addresses only
  • Enforce strict privilege management, revoking unnecessary permissions from database accounts
  • Implement connection rate limiting to reduce the impact of potential exploitation attempts
  • Consider deploying a database firewall or proxy to filter potentially malicious queries
bash
# Example: Restrict MySQL network access via iptables
iptables -A INPUT -p tcp --dport 3306 -s trusted_ip_range -j ACCEPT
iptables -A INPUT -p tcp --dport 3306 -j DROP

# Example: Review user privileges in MySQL
mysql -e "SELECT user, host, Super_priv, Process_priv FROM mysql.user;"

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeDOS

  • Vendor/TechOracle Mysql

  • SeverityHIGH

  • CVSS Score7.1

  • EPSS Probability0.43%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • NVD-CWE-noinfo
  • Technical References
  • NetApp Security Advisory NTAP-20220121-0008
  • Vendor Resources
  • Oracle Security Alert January 2022
  • Related CVEs
  • CVE-2025-21543: Oracle MySQL Cluster DOS Vulnerability

  • CVE-2025-21521: Oracle MySQL Server DoS Vulnerability

  • CVE-2025-21518: Oracle MySQL Cluster DoS Vulnerability

  • CVE-2025-21574: Oracle MySQL Cluster DOS Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English