Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2024-21171: Easily exploitable vulnerability allows low privileged attacker with network access via multiple protocols to compromise MySQL Server. Successful attacks of this vulnerability can result in unauthorized ability to cause a hang or frequently repeatable crash (complete DOS) of MySQL Server. in Oracle Corporation MySQL Server

0
Medium
VulnerabilityCVE-2024-21171cvecve-2024-21171
Published: Tue Jul 16 2024 (07/16/2024, 22:40:07 UTC)
Source: CVE Database V5
Vendor/Project: Oracle Corporation
Product: MySQL Server

Description

Vulnerability in the MySQL Server product of Oracle MySQL (component: Server: Optimizer). Supported versions that are affected are 8.0.37 and prior and 8.4.0 and prior. Easily exploitable vulnerability allows low privileged attacker with network access via multiple protocols to compromise MySQL Server. Successful attacks of this vulnerability can result in unauthorized ability to cause a hang or frequently repeatable crash (complete DOS) of MySQL Server. CVSS 3.1 Base Score 6.5 (Availability impacts). CVSS Vector: (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H).

AI-Powered Analysis

AILast updated: 11/04/2025, 17:02:45 UTC

Technical Analysis

CVE-2024-21171 is a vulnerability identified in the Oracle MySQL Server product, specifically within the Server Optimizer component. It affects all supported versions up to 8.0.37 and 8.4.0. The vulnerability allows an attacker with low privileges and network access through multiple protocols to cause the MySQL Server to hang or crash repeatedly, resulting in a complete denial-of-service (DoS) condition. The CVSS 3.1 base score is 6.5, reflecting a medium severity primarily due to its impact on availability (A:H) without affecting confidentiality or integrity. The attack vector is network-based (AV:N), requiring low attack complexity (AC:L) and low privileges (PR:L), with no user interaction (UI:N) needed. The vulnerability is classified under CWE-400, indicating a resource exhaustion or DoS issue. While no exploits are currently known in the wild, the ease of exploitation and the critical role of MySQL in many infrastructures make this a significant concern. The absence of patches at the time of reporting necessitates immediate defensive measures to reduce exposure. The vulnerability could be triggered via multiple network protocols supported by MySQL, increasing the attack surface. This flaw could disrupt database availability, affecting applications and services dependent on MySQL databases.

Potential Impact

For European organizations, the primary impact of CVE-2024-21171 is the potential for service disruption due to denial-of-service attacks against MySQL Server instances. This can lead to downtime of critical applications relying on MySQL databases, affecting sectors such as finance, telecommunications, healthcare, and government services where database availability is crucial. The inability to maintain database uptime could result in operational delays, loss of customer trust, and financial losses. Since the vulnerability does not compromise data confidentiality or integrity, the risk of data breaches is low; however, the availability impact alone can severely affect business continuity. Organizations with distributed MySQL deployments or those exposed to public networks are at higher risk. Additionally, repeated crashes could complicate recovery efforts and increase administrative overhead. The medium severity rating suggests that while the threat is significant, it is not catastrophic, but still demands timely attention to avoid exploitation. European entities with compliance obligations around service availability (e.g., financial institutions under PSD2 or critical infrastructure under NIS2) may face regulatory scrutiny if disruptions occur.

Mitigation Recommendations

1. Implement strict network segmentation and firewall rules to limit MySQL Server access only to trusted hosts and networks, minimizing exposure to potential attackers. 2. Monitor MySQL server logs and system metrics for unusual patterns such as frequent crashes, hangs, or resource exhaustion symptoms indicative of exploitation attempts. 3. Employ rate limiting and connection throttling on MySQL ports to reduce the risk of resource exhaustion attacks. 4. Use intrusion detection/prevention systems (IDS/IPS) tuned to detect anomalous MySQL traffic or known attack signatures once available. 5. Regularly update and patch MySQL Server as soon as Oracle releases a security fix for CVE-2024-21171. 6. Consider deploying high-availability MySQL clusters or failover mechanisms to maintain service continuity during potential DoS events. 7. Restrict MySQL user privileges to the minimum necessary to reduce the impact scope if an attacker gains low-level access. 8. Conduct vulnerability scanning and penetration testing focused on MySQL services to identify exposure and validate defenses. 9. Educate network and database administrators about this vulnerability and encourage proactive monitoring and incident response planning. 10. Evaluate alternative database solutions or cloud-managed services with built-in protections if risk tolerance is low.

Need more detailed analysis?Get Pro

Technical Details

Data Version
5.2
Assigner Short Name
oracle
Date Reserved
2023-12-07T22:28:10.686Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 690a2de5f0ba78a050535f0f

Added to database: 11/4/2025, 4:46:29 PM

Last enriched: 11/4/2025, 5:02:45 PM

Last updated: 11/5/2025, 12:35:30 PM

Views: 1

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need enhanced features?

Contact root@offseq.com for Pro access with improved analysis and higher rate limits.

Latest Threats