CVE-2021-2001
Reported by oracle · Published January 20, 2021
Vulnerability in the MySQL Server product of Oracle MySQL (component: Server: Optimizer). Supported versions that are affected are 5.6.50 and prior, 5.7.30 and prior and 8.0.17 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).
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| mysql | oracle | 8.0.17, 5.7.30, 5.6.50 |
| mysql-5.7 | Ubuntu:18.04:LTS | 5.7.31-0ubuntu0.18.04.1 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Oracle Corporation | MySQL Server | 5.6.50 and prior, 5.7.30 and prior, 8.0.17 and prior |
| Oracle Corporation | MySQL Server | 5.6.50, 5.7.30, 8.0.17 |
Timeline
- Jan 19, 2021 CVE Published
- Apr 14, 2021 EPSS Score (30 in total, the first dated here)
- Dec 3, 2025 CVE Updated
- Mar 10, 2026 Security Advisory (4 in total, the first dated here)
- Aug 27, 2026 Coalition ESS Score
- Nov 22, 2026 Distribution Patch (2 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2021-2001
vulnetix vdb fixes CVE-2021-2001
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2021-2001/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- x_refsource_MISC
- FEDORA-2021-db50ab62d3 vendor-advisoryx_refsource_FEDORA
- FEDORA-2021-b1d1655cef vendor-advisoryx_refsource_FEDORA
- x_refsource_CONFIRM
- GLSA-202105-27 vendor-advisoryx_refsource_GENTOO