CVE-2024-21057: Easily exploitable vulnerability allows high 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
Vulnerability in the MySQL Server product of Oracle MySQL (component: Server: Optimizer). Supported versions that are affected are 8.0.35 and prior. Easily exploitable vulnerability allows high 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 4.9 (Availability impacts). CVSS Vector: (CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H).
AI Analysis
Technical Summary
CVE-2024-21057 is a vulnerability identified in Oracle MySQL Server, specifically affecting the Server Optimizer component in versions 8.0.35 and earlier. The flaw allows an attacker with high privileges and network access via multiple protocols to cause the MySQL Server to hang or crash repeatedly, resulting in a denial-of-service (DoS) condition. The vulnerability is classified under CWE-400, which relates to uncontrolled resource consumption leading to service disruption. The CVSS 3.1 base score is 4.9, indicating a medium severity primarily due to its impact on availability (A:H), with no impact on confidentiality or integrity. Exploitation requires the attacker to have high privileges (PR:H) and network access (AV:N), but no user interaction (UI:N) is needed. The vulnerability does not escalate privileges or leak data but can disrupt database availability, potentially affecting dependent applications and services. No known exploits have been reported in the wild, but the vulnerability is considered easily exploitable given the low attack complexity (AC:L). The absence of patches at the time of reporting necessitates immediate attention to mitigate risk. This vulnerability is critical for environments where MySQL Server uptime is essential, such as enterprise applications, web services, and cloud platforms. Organizations should monitor Oracle advisories for patches and implement network-level protections to limit exposure.
Potential Impact
For European organizations, the primary impact of CVE-2024-21057 is the potential for denial-of-service attacks against MySQL Server instances, which can disrupt business-critical applications and services relying on these databases. This can lead to operational downtime, loss of productivity, and potential financial losses, especially in sectors such as finance, healthcare, telecommunications, and government where MySQL is widely deployed. The vulnerability does not compromise data confidentiality or integrity, but the availability impact can indirectly affect service reliability and customer trust. Organizations with MySQL servers exposed to untrusted networks or with insufficient access controls are at higher risk. The disruption caused by repeated server crashes can also complicate incident response and recovery efforts. Given the medium severity and requirement for high privileges, insider threats or compromised administrative accounts pose a significant risk vector. European entities operating cloud-hosted MySQL instances or managed database services should also evaluate their exposure and coordinate with service providers to ensure timely remediation.
Mitigation Recommendations
1. Apply official Oracle patches immediately once they become available to address CVE-2024-21057. 2. Restrict network access to MySQL Server instances using firewalls and network segmentation, allowing only trusted hosts and administrative users. 3. Enforce strict access controls and monitor privileged accounts to prevent unauthorized high-privilege access. 4. Implement robust logging and monitoring to detect unusual MySQL server behavior such as frequent crashes or hangs. 5. Consider deploying MySQL server instances behind VPNs or private networks to reduce exposure to external threats. 6. Use resource limits and query timeouts to mitigate potential resource exhaustion scenarios. 7. Regularly review and update security policies related to database administration and network access. 8. Coordinate with cloud or managed service providers to confirm patching schedules and security configurations. 9. Conduct penetration testing and vulnerability assessments focused on MySQL infrastructure to identify and remediate weaknesses. 10. Prepare incident response plans that include recovery procedures for MySQL service disruptions.
Affected Countries
Germany, France, United Kingdom, Netherlands, Italy, Spain, Sweden
CVE-2024-21057: Easily exploitable vulnerability allows high 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
Description
Vulnerability in the MySQL Server product of Oracle MySQL (component: Server: Optimizer). Supported versions that are affected are 8.0.35 and prior. Easily exploitable vulnerability allows high 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 4.9 (Availability impacts). CVSS Vector: (CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H).
AI-Powered Analysis
Technical Analysis
CVE-2024-21057 is a vulnerability identified in Oracle MySQL Server, specifically affecting the Server Optimizer component in versions 8.0.35 and earlier. The flaw allows an attacker with high privileges and network access via multiple protocols to cause the MySQL Server to hang or crash repeatedly, resulting in a denial-of-service (DoS) condition. The vulnerability is classified under CWE-400, which relates to uncontrolled resource consumption leading to service disruption. The CVSS 3.1 base score is 4.9, indicating a medium severity primarily due to its impact on availability (A:H), with no impact on confidentiality or integrity. Exploitation requires the attacker to have high privileges (PR:H) and network access (AV:N), but no user interaction (UI:N) is needed. The vulnerability does not escalate privileges or leak data but can disrupt database availability, potentially affecting dependent applications and services. No known exploits have been reported in the wild, but the vulnerability is considered easily exploitable given the low attack complexity (AC:L). The absence of patches at the time of reporting necessitates immediate attention to mitigate risk. This vulnerability is critical for environments where MySQL Server uptime is essential, such as enterprise applications, web services, and cloud platforms. Organizations should monitor Oracle advisories for patches and implement network-level protections to limit exposure.
Potential Impact
For European organizations, the primary impact of CVE-2024-21057 is the potential for denial-of-service attacks against MySQL Server instances, which can disrupt business-critical applications and services relying on these databases. This can lead to operational downtime, loss of productivity, and potential financial losses, especially in sectors such as finance, healthcare, telecommunications, and government where MySQL is widely deployed. The vulnerability does not compromise data confidentiality or integrity, but the availability impact can indirectly affect service reliability and customer trust. Organizations with MySQL servers exposed to untrusted networks or with insufficient access controls are at higher risk. The disruption caused by repeated server crashes can also complicate incident response and recovery efforts. Given the medium severity and requirement for high privileges, insider threats or compromised administrative accounts pose a significant risk vector. European entities operating cloud-hosted MySQL instances or managed database services should also evaluate their exposure and coordinate with service providers to ensure timely remediation.
Mitigation Recommendations
1. Apply official Oracle patches immediately once they become available to address CVE-2024-21057. 2. Restrict network access to MySQL Server instances using firewalls and network segmentation, allowing only trusted hosts and administrative users. 3. Enforce strict access controls and monitor privileged accounts to prevent unauthorized high-privilege access. 4. Implement robust logging and monitoring to detect unusual MySQL server behavior such as frequent crashes or hangs. 5. Consider deploying MySQL server instances behind VPNs or private networks to reduce exposure to external threats. 6. Use resource limits and query timeouts to mitigate potential resource exhaustion scenarios. 7. Regularly review and update security policies related to database administration and network access. 8. Coordinate with cloud or managed service providers to confirm patching schedules and security configurations. 9. Conduct penetration testing and vulnerability assessments focused on MySQL infrastructure to identify and remediate weaknesses. 10. Prepare incident response plans that include recovery procedures for MySQL service disruptions.
Affected Countries
For access to advanced analysis and higher rate limits, contact root@offseq.com
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- oracle
- Date Reserved
- 2023-12-07T22:28:10.662Z
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 690a3b61ff58c9332ff09430
Added to database: 11/4/2025, 5:44:01 PM
Last enriched: 11/4/2025, 6:12:27 PM
Last updated: 12/20/2025, 9:41:20 AM
Views: 40
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Related Threats
CVE-2025-14298: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in damian-gora FiboSearch – Ajax Search for WooCommerce
MediumCVE-2025-12492: CWE-200 Exposure of Sensitive Information to an Unauthorized Actor in ultimatemember Ultimate Member – User Profile, Registration, Login, Member Directory, Content Restriction & Membership Plugin
MediumCVE-2025-13619: CWE-269 Improper Privilege Management in CMSSuperHeroes Flex Store Users
CriticalCVE-2025-12820: CWE-862 Missing Authorization in Pure WC Variation Swatches
UnknownCVE-2025-14735: CWE-80 Improper Neutralization of Script-Related HTML Tags in a Web Page (Basic XSS) in nestornoe Amazon affiliate lite Plugin
MediumActions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need enhanced features?
Contact root@offseq.com for Pro access with improved analysis and higher rate limits.