The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
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
    • 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-21595

CVE-2022-21595: Oracle MySQL Server DOS Vulnerability

CVE-2022-21595 is a denial of service vulnerability in Oracle MySQL Server's C API component affecting versions 5.7.36 and 8.0.27. Attackers can cause server crashes. This article covers technical details, affected versions, and mitigation.

Published: February 18, 2026

CVE-2022-21595 Overview

CVE-2022-21595 is a denial of service vulnerability in the MySQL Server product of Oracle MySQL, specifically affecting the C API component. This vulnerability allows a high-privileged attacker with network access to cause a complete denial of service condition, resulting in the MySQL Server becoming unresponsive or crashing repeatedly.

Critical Impact

Successful exploitation enables attackers to cause a complete denial of service (DoS) of MySQL Server through a hang or frequently repeatable crash, potentially disrupting critical database operations and dependent applications.

Affected Products

  • Oracle MySQL versions 5.7.36 and prior
  • Oracle MySQL versions 8.0.27 and prior
  • NetApp OnCommand Insight
  • NetApp OnCommand Workflow Automation
  • MariaDB (multiple versions)

Discovery Timeline

  • October 18, 2022 - CVE-2022-21595 published to NVD
  • November 21, 2024 - Last updated in NVD database

Technical Details for CVE-2022-21595

Vulnerability Analysis

This vulnerability resides in the C API component of MySQL Server. The flaw is characterized as difficult to exploit, requiring network access through multiple protocols. The attack requires high-level privileges to execute, meaning an attacker must already possess administrative or elevated credentials to the MySQL Server instance.

The vulnerability specifically impacts the availability of the database server without affecting confidentiality or integrity of stored data. When successfully exploited, the vulnerability triggers conditions that cause the MySQL Server process to either hang indefinitely or enter a crash loop, resulting in complete service unavailability.

Root Cause

The vulnerability stems from improper handling within the C API component of MySQL Server. While Oracle has not disclosed the specific technical details of the root cause, the vulnerability classification indicates an issue in how the C API processes certain requests or operations when invoked by a privileged user over network protocols. The lack of specific CWE classification (NVD-CWE-noinfo) suggests the exact code-level issue remains undisclosed by the vendor.

Attack Vector

The attack requires network access and can be executed through multiple protocols supported by MySQL Server. The exploitation scenario involves:

  1. An attacker must first obtain high-privileged access to the MySQL Server instance
  2. The attacker then sends specially crafted requests through the C API via network protocols
  3. These requests trigger the vulnerable code path, causing the server to hang or crash
  4. The attack can be repeated to maintain persistent denial of service

Due to the high privilege requirement and difficult exploitation complexity, this vulnerability is less likely to be exploited in opportunistic attacks. However, it poses a risk in scenarios involving insider threats or compromised administrative accounts.

Detection Methods for CVE-2022-21595

Indicators of Compromise

  • Unexpected MySQL Server crashes or restarts without clear operational cause
  • Repeated service hangs correlating with specific privileged user sessions
  • Anomalous C API activity patterns from high-privileged accounts
  • Database availability incidents following administrative network access

Detection Strategies

  • Monitor MySQL error logs for unexpected crash signatures and hang conditions
  • Implement alerting on unusual patterns of service restarts or availability drops
  • Track privileged user activity and correlate with service disruption events
  • Deploy network monitoring to identify anomalous protocol usage patterns targeting MySQL services

Monitoring Recommendations

  • Enable comprehensive MySQL audit logging for privileged account activities
  • Configure service health monitoring with rapid alerting for MySQL availability issues
  • Establish baseline behavior patterns for C API operations to detect anomalies
  • Review authentication logs for privileged access from unexpected network locations

How to Mitigate CVE-2022-21595

Immediate Actions Required

  • Update Oracle MySQL Server to versions newer than 5.7.36 for the 5.7.x branch or newer than 8.0.27 for the 8.0.x branch
  • Review and restrict high-privilege account access to only necessary personnel
  • Implement network segmentation to limit attack surface for MySQL Server instances
  • Audit existing privileged accounts and remove unnecessary elevated permissions

Patch Information

Oracle has addressed this vulnerability in their October 2022 Critical Patch Update (CPU). Administrators should apply the latest security patches from Oracle as outlined in the Oracle Security Alert CPU October 2022. For NetApp products, refer to the NetApp Security Advisory NTAP-20221028-0013 for specific remediation guidance.

Organizations using affected MariaDB versions should consult MariaDB security advisories for applicable patches addressing this vulnerability in their specific version branches.

Workarounds

  • Restrict network access to MySQL Server to trusted networks and hosts only
  • Implement strict access controls for high-privileged database accounts
  • Enable connection rate limiting to mitigate potential crash loop attacks
  • Consider deploying MySQL proxy solutions that can filter and validate C API requests
bash
# Configuration example - Restrict MySQL network access
# Edit MySQL configuration file (my.cnf or my.ini)
[mysqld]
# Bind to specific trusted interface instead of all interfaces
bind-address = 192.168.1.100

# Limit maximum connections to mitigate DoS impact
max_connections = 100

# Enable connection control plugin for rate limiting
plugin-load-add = connection_control.so
connection_control_failed_connections_threshold = 3
connection_control_min_connection_delay = 1000

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

  • SeverityMEDIUM

  • CVSS Score4.4

  • EPSS Probability0.09%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:N/I:N/A:H
  • Impact Assessment
  • ConfidentialityHigh
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • NVD-CWE-noinfo
  • Technical References
  • NetApp Security Advisory NTAP-20221028-0013
  • Vendor Resources
  • Oracle Security Alert CPU October 2022
  • Related CVEs
  • CVE-2025-21521: Oracle MySQL Server DoS Vulnerability

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

  • CVE-2025-21574: Oracle MySQL Cluster DOS Vulnerability

  • CVE-2025-50078: Oracle MySQL Server DML 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