Skip to content
Fencer Vulns
medium 4.9

CVE-2024-21142 json

Vulnerability in the MySQL Server product of Oracle MySQL (component: Server: Security: Privileges).

published 2024-07-16 2 y ago modified 2026-06-17 4 mo ago also EUVD-2024-18856

cvss
4.9
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
0.9%
EPSS 0.9% chance of exploitation in 30 days, percentile 58%
public exploits
0
none known

Summary

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

Patch / fix

  • oracle mysql 8.0.38, 8.4.1
  • oracle mysql_server 8.0.38, 8.4.1
  • mysql-8.0 Ubuntu 20.04 LTS 8.0.39-0ubuntu0.20.04.1
  • mysql-8.0 Ubuntu 22.04 LTS 8.0.39-0ubuntu0.22.04.1
  • mysql-8.0 Ubuntu 24.04 LTS 8.0.39-0ubuntu0.24.04.1

ubuntu advisories UBUNTU-CVE-2024-21142

Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • mysql CBL-Mariner 2.0, Azure Linux 3.0 8.0.40-1

azure linux advisories AZL-50507AZL-50553

Azure Linux vulnerability data, Copyright (c) Microsoft Corporation, from https://github.com/microsoft/AzureLinuxVulnerabilityData via OSV, under the MIT licence; changed: normalised to fixed package versions per release. MIT

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2024-21142 updated cvss 4.9

mysql: Privileges unspecified vulnerability (CPU Jul 2024)

  • Red Hat Enterprise Linux 8 mecab, mysql, mysql-libs, mysql-test, mecab-ipadic, mysql-common, +4 more Red Hat Enterprise Linux 9 mysql, mysql-libs, mysql-test, mysql-common, mysql-errmsg, mysql-server Red Hat Enterprise Linux 10 mysql8.0
    affected: no fix planned “Will not fix”
  • Red Hat Enterprise Linux 6 mysql, mysql-libs, mysql-test, mysql-bench, mysql-server, mysql-embedded
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

CISA SSVC

Exploitation
none
Automatable
no
Technical impact
partial
Assessed
2 y ago

Exploit prediction

0.85% chance of exploitation in the next 30 days, higher than 58% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
CNA 3.1 4.9 CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H

Affected products

  • Oracle Corporation MySQL Server

Classification

Weakness
  • CWE-400 Uncontrolled Resource Consumption
Technology feeds

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.

CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.