CVE catalog

CVE-2024-21142

MySQL vulnerabilities

[CVE catalog]

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). mysql: Privileges unspecified vulnerability (CPU Jul 2024) The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.

Severity
Medium · CVSS 4.9CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H
Published
Source
[NVD] · [CVE record]
EPSS
0.85% · Oct 27, 2026

Reported versions and fixes

Each observation applies to its named package, distribution, and release. Distribution backports can fix a vulnerability while retaining an older upstream version number.

Version impact has not been established. The original provider fields are retained below.

Provider details and historical evidence
Original provider fields
{
  "package_releases": [],
  "fixed_versions": [],
  "distribution_packages": [
    {
      "name": "mysql-8.0",
      "distro": "ubuntu",
      "release": "noble",
      "ecosystem": "deb",
      "fixed_version": "8.0.39-0ubuntu0.24.04.1"
    },
    {
      "name": "libmysqlclient-dev",
      "distro": "ubuntu",
      "release": "noble",
      "ecosystem": "deb",
      "fixed_version": "8.0.39-0ubuntu0.24.04.1"
    },
    {
      "name": "libmysqlclient21",
      "distro": "ubuntu",
      "release": "noble",
      "ecosystem": "deb",
      "fixed_version": "8.0.39-0ubuntu0.24.04.1"
    },
    {
      "name": "mysql-client",
      "distro": "ubuntu",
      "release": "noble",
      "ecosystem": "deb",
      "fixed_version": "8.0.39-0ubuntu0.24.04.1"
    },
    {
      "name": "mysql-client-8.0",
      "distro": "ubuntu",
      "release": "noble",
      "ecosystem": "deb",
      "fixed_version": "8.0.39-0ubuntu0.24.04.1"
    },
    {
      "name": "mysql-client-core-8.0",
      "distro": "ubuntu",
      "release": "noble",
      "ecosystem": "deb",
      "fixed_version": "8.0.39-0ubuntu0.24.04.1"
    },
    {
      "name": "mysql-router",
      "distro": "ubuntu",
      "release": "noble",
      "ecosystem": "deb",
      "fixed_version": "8.0.39-0ubuntu0.24.04.1"
    },
    {
      "name": "mysql-server",
      "distro": "ubuntu",
      "release": "noble",
      "ecosystem": "deb",
      "fixed_version": "8.0.39-0ubuntu0.24.04.1"
    },
    {
      "name": "mysql-server-8.0",
      "distro": "ubuntu",
      "release": "noble",
      "ecosystem": "deb",
      "fixed_version": "8.0.39-0ubuntu0.24.04.1"
    },
    {
      "name": "mysql-server-core-8.0",
      "distro": "ubuntu",
      "release": "noble",
      "ecosystem": "deb",
      "fixed_version": "8.0.39-0ubuntu0.24.04.1"
    },
    {
      "name": "mysql-source-8.0",
      "distro": "ubuntu",
      "release": "noble",
      "ecosystem": "deb",
      "fixed_version": "8.0.39-0ubuntu0.24.04.1"
    },
    {
      "name": "mysql-testsuite",
      "distro": "ubuntu",
      "release": "noble",
      "ecosystem": "deb",
      "fixed_version": "8.0.39-0ubuntu0.24.04.1"
    },
    {
      "name": "mysql-testsuite-8.0",
      "distro": "ubuntu",
      "release": "noble",
      "ecosystem": "deb",
      "fixed_version": "8.0.39-0ubuntu0.24.04.1"
    },
    {
      "name": "mysql-5.5",
      "distro": "ubuntu",
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "0"
            }
          ]
        }
      ],
      "release": "14.04",
      "versions": [
        "5.5.32-0ubuntu7",
        "5.5.34-0ubuntu1",
        "5.5.34-0ubuntu2",
        "5.5.35-0ubuntu1",
        "5.5.35+dfsg-1ubuntu1",
        "5.5.37-0ubuntu0.14.04.1",
        "5.5.38-0ubuntu0.14.04.1",
        "5.5.40-0ubuntu0.14.04.1",
        "5.5.41-0ubuntu0.14.04.1",
        "5.5.43-0ubuntu0.14.04.1",
        "5.5.44-0ubuntu0.14.04.1",
        "5.5.46-0ubuntu0.14.04.2",
        "5.5.47-0ubuntu0.14.04.1",
        "5.5.49-0ubuntu0.14.04.1",
        "5.5.50-0ubuntu0.14.04.1",
        "5.5.52-0ubuntu0.14.04.1",
        "5.5.53-0ubuntu0.14.04.1",
        "5.5.54-0ubuntu0.14.04.1",
        "5.5.55-0ubuntu0.14.04.1",
        "5.5.57-0ubuntu0.14.04.1",
        "5.5.58-0ubuntu0.14.04.1",
        "5.5.59-0ubuntu0.14.04.1",
        "5.5.60-0ubuntu0.14.04.1",
        "5.5.61-0ubuntu0.14.04.1",
        "5.5.62-0ubuntu0.14.04.1"
      ],
      "ecosystem": "deb",
      "fixed_version": "",
      "provider_record_id": "UBUNTU-CVE-2024-21142"
    },
    {
      "name": "mysql-5.7",
      "distro": "ubuntu",
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "0"
            }
          ]
        }
      ],
      "release": "pro",
      "versions": [
        "5.7.19-0ubuntu1",
        "5.7.20-0ubuntu0.17.10.1",
        "5.7.20-1ubuntu1",
        "5.7.21-1ubuntu1",
        "5.7.22-0ubuntu18.04.1",
        "5.7.23-0ubuntu0.18.04.1",
        "5.7.24-0ubuntu0.18.04.1",
        "5.7.25-0ubuntu0.18.04.2",
        "5.7.26-0ubuntu0.18.04.1",
        "5.7.27-0ubuntu0.18.04.1",
        "5.7.28-0ubuntu0.18.04.4",
        "5.7.29-0ubuntu0.18.04.1",
        "5.7.30-0ubuntu0.18.04.1",
        "5.7.31-0ubuntu0.18.04.1",
        "5.7.32-0ubuntu0.18.04.1",
        "5.7.33-0ubuntu0.18.04.1",
        "5.7.34-0ubuntu0.18.04.1",
        "5.7.35-0ubuntu0.18.04.1",
        "5.7.35-0ubuntu0.18.04.2",
        "5.7.36-0ubuntu0.18.04.1",
        "5.7.37-0ubuntu0.18.04.1",
        "5.7.38-0ubuntu0.18.04.1",
        "5.7.39-0ubuntu0.18.04.2",
        "5.7.40-0ubuntu0.18.04.1",
        "5.7.41-0ubuntu0.18.04.1",
        "5.7.42-0ubuntu0.18.04.1",
        "5.7.43-0ubuntu0.18.04.1+esm1",
        "5.7.44-0ubuntu0.18.04.1+esm1"
      ],
      "ecosystem": "deb",
      "fixed_version": "",
      "provider_record_id": "UBUNTU-CVE-2024-21142"
    },
    {
      "name": "percona-server-5.6",
      "distro": "ubuntu",
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "0"
            }
          ]
        }
      ],
      "release": "16.04",
      "versions": [
        "5.6.22-rel71.0-0ubuntu2",
        "5.6.22-rel71.0-0ubuntu4",
        "5.6.22-rel71.0-0ubuntu4.1"
      ],
      "ecosystem": "deb",
      "fixed_version": "",
      "provider_record_id": "UBUNTU-CVE-2024-21142"
    },
    {
      "name": "percona-xtradb-cluster-5.6",
      "distro": "ubuntu",
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "0"
            }
          ]
        }
      ],
      "release": "16.04",
      "versions": [
        "5.6.21-25.8-0ubuntu2",
        "5.6.21-25.8-0ubuntu3",
        "5.6.21-25.8-0ubuntu3.1",
        "5.6.21-25.8-0ubuntu3.2",
        "5.6.34-26.19-0ubuntu0.16.04.1",
        "5.6.34-26.19-0ubuntu0.16.04.2",
        "5.6.37-26.21-0ubuntu0.16.04.1",
        "5.6.37-26.21-0ubuntu0.16.04.2"
      ],
      "ecosystem": "deb",
      "fixed_version": "",
      "provider_record_id": "UBUNTU-CVE-2024-21142"
    },
    {
      "name": "mysql-8.0",
      "distro": "ubuntu",
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "8.0.39-0ubuntu0.20.04.1"
            }
          ]
        }
      ],
      "release": "20.04",
      "versions": [
        "8.0.17-0ubuntu2",
        "8.0.17-0ubuntu3",
        "8.0.18-0ubuntu3",
        "8.0.18-0ubuntu4",
        "8.0.18-0ubuntu5",
        "8.0.19-0ubuntu2",
        "8.0.19-0ubuntu3",
        "8.0.19-0ubuntu4",
        "8.0.19-0ubuntu5",
        "8.0.20-0ubuntu0.20.04.1",
        "8.0.21-0ubuntu0.20.04.3",
        "8.0.21-0ubuntu0.20.04.4",
        "8.0.22-0ubuntu0.20.04.2",
        "8.0.22-0ubuntu0.20.04.3",
        "8.0.23-0ubuntu0.20.04.1",
        "8.0.25-0ubuntu0.20.04.1",
        "8.0.26-0ubuntu0.20.04.2",
        "8.0.26-0ubuntu0.20.04.3",
        "8.0.27-0ubuntu0.20.04.1",
        "8.0.28-0ubuntu0.20.04.3",
        "8.0.29-0ubuntu0.20.04.2",
        "8.0.29-0ubuntu0.20.04.3",
        "8.0.30-0ubuntu0.20.04.2",
        "8.0.31-0ubuntu0.20.04.1",
        "8.0.31-0ubuntu0.20.04.2",
        "8.0.32-0buntu0.20.04.1",
        "8.0.32-0ubuntu0.20.04.2",
        "8.0.33-0ubuntu0.20.04.1",
        "8.0.33-0ubuntu0.20.04.2",
        "8.0.33-0ubuntu0.20.04.4",
        "8.0.34-0ubuntu0.20.04.1",
        "8.0.35-0ubuntu0.20.04.1",
        "8.0.36-0ubuntu0.20.04.1",
        "8.0.37-0ubuntu0.20.04.3"
      ],
      "ecosystem": "deb",
      "fixed_version": "8.0.39-0ubuntu0.20.04.1",
      "provider_record_id": "UBUNTU-CVE-2024-21142"
    },
    {
      "name": "mysql-8.0",
      "distro": "ubuntu",
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "8.0.39-0ubuntu0.22.04.1"
            }
          ]
        }
      ],
      "release": "22.04",
      "versions": [
        "8.0.26-0ubuntu1",
        "8.0.27-0ubuntu0.21.10.1",
        "8.0.28-0ubuntu3",
        "8.0.28-0ubuntu4",
        "8.0.29-0ubuntu0.22.04.1",
        "8.0.29-0ubuntu0.22.04.2",
        "8.0.29-0ubuntu0.22.04.3",
        "8.0.30-0ubuntu0.22.04.1",
        "8.0.31-0ubuntu0.22.04.1",
        "8.0.32-0buntu0.22.04.1",
        "8.0.32-0ubuntu0.22.04.2",
        "8.0.33-0ubuntu0.22.04.1",
        "8.0.33-0ubuntu0.22.04.2",
        "8.0.33-0ubuntu0.22.04.4",
        "8.0.34-0ubuntu0.22.04.1",
        "8.0.35-0ubuntu0.22.04.1",
        "8.0.36-0ubuntu0.22.04.1",
        "8.0.37-0ubuntu0.22.04.3"
      ],
      "ecosystem": "deb",
      "fixed_version": "8.0.39-0ubuntu0.22.04.1",
      "provider_record_id": "UBUNTU-CVE-2024-21142"
    },
    {
      "name": "mysql-8.0",
      "distro": "ubuntu",
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "8.0.39-0ubuntu0.24.04.1"
            }
          ]
        }
      ],
      "release": "24.04",
      "versions": [
        "8.0.34-1ubuntu1",
        "8.0.35-1ubuntu1",
        "8.0.35-1ubuntu2",
        "8.0.36-1",
        "8.0.36-2ubuntu1",
        "8.0.36-2ubuntu2",
        "8.0.36-2ubuntu3",
        "8.0.37-0ubuntu0.24.04.1"
      ],
      "ecosystem": "deb",
      "fixed_version": "8.0.39-0ubuntu0.24.04.1",
      "provider_record_id": "UBUNTU-CVE-2024-21142"
    }
  ]
}

OpenFactory catalog packages

Matching against OpenFactory catalog package versions is in progress.

Observed:

References