Skip to main content
CVE-2024-20971VulnerabilityPublished Updated

CVE-2024-20971: Oracle MySQL Server · Easily exploitable vulnerability allows high privileged attacker with network access via multiple

Affects Oracle MySQL ServerSource CVE Database V5

0

Not known to be exploited · CVSS 4.9 Medium : upgrade to 8.2.1 or 8.0.36 when convenient.

Data as of 26 Oct 2026, 06:26 UTC

CVSS 3.1 base score
4.9Medium
How severe the flaw is on the 0–10 CVSS scale.
EPSS
1.0% chance of exploitation in 30 days – higher than 63% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 8.2.1, 8.0.36
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 16 Jan 2024

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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-26.

What to do

Upgrade mysql/mysql-server to 8.2.1 or 8.0.36.

Affected software

ProductAffectedFixed in
Mysqlmysql/mysql-serverpkg:deb/mysql/mysql-serverOther threatsAffected
  • <8.0.36
  • <8.2.1
Fixed in
  • 8.0.36
  • 8.2.1

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

1. Restrict high-privileged access: Enforce the principle of least privilege by limiting administrative and high-privilege MySQL accounts, especially those accessible over the network. 2. Network segmentation: Isolate MySQL servers from untrusted networks and restrict access to trusted hosts and management stations only. 3. Monitor and audit: Implement continuous monitoring of MySQL server logs and network traffic for unusual activity or repeated connection attempts that could indicate exploitation attempts. 4. Apply access controls: Use firewall rules and MySQL user privileges to limit protocol access and restrict connections to necessary protocols and IP addresses. 5. Patch management: Stay updated with Oracle’s security advisories and apply patches promptly once available. 6. Use connection encryption and authentication mechanisms to reduce the risk of credential compromise that could lead to high-privileged access. 7. Implement resource limits and query throttling where possible to mitigate the impact of resource exhaustion attacks. 8. Prepare incident response plans to quickly recover from potential DoS events affecting MySQL services. These steps go beyond generic advice by focusing on controlling high-privilege access, network-level protections, and proactive monitoring tailored to the nature of this vulnerability.

Description

Vulnerability in the MySQL Server product of Oracle MySQL (component: Server: Optimizer). Supported versions that are affected are 8.0.35 and prior and 8.2.0 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).

References

Community reviews

Loading reviews…