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-2024-21170

CVE-2024-21170: Oracle MySQL Connector/Python SQLi Flaw

CVE-2024-21170 is a SQL injection vulnerability in Oracle MySQL Connector/Python affecting versions 8.4.0 and prior. Attackers can gain unauthorized data access and cause service disruption. This article covers technical details, affected versions, impact assessment, and mitigation strategies.

Updated: January 22, 2026

CVE-2024-21170 Overview

CVE-2024-21170 is a vulnerability in the MySQL Connectors product of Oracle MySQL, specifically affecting the Connector/Python component. This easily exploitable flaw allows a low-privileged attacker with network access via multiple protocols to compromise MySQL Connectors. Successful exploitation can result in unauthorized update, insert, or delete access to some MySQL Connectors accessible data, unauthorized read access to a subset of MySQL Connectors accessible data, and the ability to cause a partial denial of service (partial DoS) of MySQL Connectors.

Critical Impact

Low-privileged attackers can achieve unauthorized data manipulation, data exfiltration, and service disruption against MySQL Connector/Python deployments via network-based attacks.

Affected Products

  • Oracle MySQL Connector/Python version 8.4.0 and prior

Discovery Timeline

  • 2024-07-16 - CVE-2024-21170 published to NVD
  • 2024-11-21 - Last updated in NVD database

Technical Details for CVE-2024-21170

Vulnerability Analysis

This vulnerability resides in the Connector/Python component of Oracle MySQL Connectors. The flaw is characterized as easily exploitable, requiring only low-privileged access and network connectivity. The attack can be conducted through multiple protocols, making it accessible to attackers with various network positions. The impact spans all three security domains: confidentiality, integrity, and availability, though each is affected at a limited level.

The vulnerability allows attackers to perform unauthorized data operations including reading, modifying, inserting, and deleting data within the scope of MySQL Connectors accessible data. Additionally, attackers can disrupt service availability, though only to a partial degree. No user interaction is required for exploitation, and the scope remains unchanged, meaning the vulnerable component cannot impact resources beyond its security scope.

Root Cause

Oracle has not disclosed specific technical details about the root cause of this vulnerability. The vulnerability is classified under NVD-CWE-noinfo, indicating that insufficient information is available to map to a specific CWE category. Based on the vulnerability characteristics—network-exploitable, requiring low privileges, and affecting data confidentiality, integrity, and availability—the issue likely involves improper access control or input validation within the Connector/Python component.

Attack Vector

The attack vector for CVE-2024-21170 is network-based, allowing remote exploitation. An attacker with low-level privileges and network access to the MySQL Connector/Python component can exploit this vulnerability through multiple protocols. The attack requires no user interaction, making it particularly dangerous in environments where the connector is exposed to untrusted network segments or users.

The exploitation process involves establishing a network connection to the vulnerable MySQL Connector/Python instance and leveraging the flaw to perform unauthorized operations. The specific technical mechanism has not been publicly disclosed by Oracle, but the low attack complexity suggests that exploitation does not require specialized conditions or extensive preparation.

Detection Methods for CVE-2024-21170

Indicators of Compromise

  • Unexpected database queries or data modifications originating from MySQL Connector/Python connections
  • Anomalous network traffic patterns to MySQL Connector/Python instances from unusual sources
  • Unauthorized data access attempts logged in database audit trails
  • Partial service disruptions or performance degradation in MySQL Connector/Python operations

Detection Strategies

  • Monitor MySQL Connector/Python connection logs for suspicious authentication patterns or unusual query volumes
  • Implement database activity monitoring to detect unauthorized read, insert, update, or delete operations
  • Deploy network-level monitoring to identify abnormal traffic patterns targeting MySQL Connector instances
  • Review application logs for error messages or exceptions that may indicate exploitation attempts

Monitoring Recommendations

  • Enable detailed logging for all MySQL Connector/Python connections and database operations
  • Configure alerting for failed authentication attempts and privilege escalation activities
  • Implement real-time monitoring of database transaction patterns to identify anomalies
  • Establish baseline behavior profiles for normal Connector/Python operations to detect deviations

How to Mitigate CVE-2024-21170

Immediate Actions Required

  • Upgrade MySQL Connector/Python to a patched version as specified in Oracle's July 2024 Critical Patch Update
  • Review and restrict network access to MySQL Connector/Python instances to trusted sources only
  • Audit user privileges and ensure the principle of least privilege is enforced for all connector users
  • Implement network segmentation to isolate MySQL Connector deployments from untrusted networks

Patch Information

Oracle has addressed this vulnerability in their July 2024 Critical Patch Update. Organizations using MySQL Connector/Python version 8.4.0 or prior should consult the Oracle Security Alert July 2024 for detailed patching instructions and the latest secure versions. Apply the recommended patches as soon as possible to remediate this vulnerability.

Workarounds

  • Restrict network access to MySQL Connector/Python instances using firewall rules to limit exposure to trusted IP addresses only
  • Implement strong authentication mechanisms and review all user accounts with connector access
  • Deploy network-level access controls to prevent unauthorized protocol access to the connector
  • Consider temporarily disabling non-essential protocols if multiple protocol access is not required
bash
# Example: Restrict MySQL Connector access using firewall rules (iptables)
# Allow only trusted application servers to connect
iptables -A INPUT -p tcp --dport 3306 -s 192.168.1.0/24 -j ACCEPT
iptables -A INPUT -p tcp --dport 3306 -j DROP

# Review and audit MySQL user privileges
# Connect to MySQL and review connector user permissions
mysql -u admin -p -e "SELECT user, host, authentication_string FROM mysql.user;"

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

  • Vulnerability Details
  • TypeSQLI

  • Vendor/TechOracle Mysql Connector

  • SeverityMEDIUM

  • CVSS Score6.3

  • EPSS Probability0.13%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityLow
  • CWE References
  • NVD-CWE-noinfo
  • Vendor Resources
  • Oracle Security Alert July 2024
  • Related CVEs
  • CVE-2025-21548: MySQL Connector/Python Auth Bypass Flaw

  • CVE-2024-21090: MySQL Connector/Python DoS Vulnerability

  • CVE-2020-2934: Oracle MySQL Connector/J DOS Vulnerability
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