CVE-2024-21213: Oracle MySQL Server · Easily exploitable vulnerability allows high privileged attacker with logon to the infrastructure
Affects Oracle MySQL ServerSource CVE Database V5
Not known to be exploited · CVSS 4.2 Medium : upgrade to 8.0.40 when convenient.
Data as of 25 Oct 2026, 19:02 UTC
- EPSS
- 0.3% chance of exploitation in 30 days – higher than 24% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 8.0.40
CVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:U/C:N/I:N/A:HExploitation evidence
Disclosed: evidence found.
CVE published 15 Oct 2024
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 2026-10-25.
What to do
Upgrade mysql/mysql-server to 8.0.40.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Mysqlmysql/mysql-serverpkg:deb/mysql/mysql-serverOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
1. 2. Restrict high-privileged access to MySQL Server infrastructure strictly on a need-to-know basis and enforce strong authentication mechanisms such as multi-factor authentication (MFA) for administrative accounts. 3. Implement network segmentation to isolate database servers from general user environments, reducing the risk of unauthorized access. 4. Conduct regular user awareness training to reduce the risk of successful social engineering attacks that could trigger the required human interaction. 5. Monitor MySQL Server logs and system behavior for signs of unusual activity or repeated crashes to enable early detection of exploitation attempts. 6. Employ robust incident response plans that include procedures for rapid recovery from DoS conditions affecting database availability. 7. Use role-based access control (RBAC) and audit trails to track and limit privileged user actions. 8. Consider deploying MySQL Server in high-availability clusters or with failover mechanisms to minimize downtime impact.
Description
Vulnerability in the MySQL Server product of Oracle MySQL (component: InnoDB). Supported versions that are affected are 8.0.39 and prior, 8.4.2 and prior and 9.0.1 and prior. Easily exploitable vulnerability allows high privileged attacker with logon to the infrastructure where MySQL Server executes to compromise MySQL Server. Successful attacks require human interaction from a person other than the attacker. 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.2 (Availability impacts). CVSS Vector: (CVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:U/C:N/I:N/A:H).