CVE-2021-2226
Reported by oracle · Published April 22, 2021
Vulnerability in the MySQL Server product of Oracle MySQL (component: Server: Information Schema). Supported versions that are affected are 5.7.33 and prior and 8.0.23 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 access to critical data or complete access to all MySQL Server accessible data. CVSS 3.1 Base Score 4.9 (Confidentiality impacts). CVSS Vector: (CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N).
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-8.0 | Chainguard | 8.0.38-r0 |
| mysql | oracle | 8.0.23, 5.7.33 |
| mysql-8.0 | Ubuntu:20.04:LTS | 8.0.25-0ubuntu0.20.04.1 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Oracle Corporation | MySQL Server | 5.7.33 and prior, 8.0.23 and prior |
| Oracle Corporation | MySQL Server | 5.7.33, 8.0.23 |
Timeline
- Apr 20, 2021 CVE Published
- Apr 27, 2021 EPSS Score (30 in total, the first dated here)
- Sep 26, 2024 CVE Updated
- Apr 3, 2025 PoC Published
- Mar 7, 2026 Distribution Patch (6 in total, the first dated here)
- Mar 7, 2026 Security Advisory (8 in total, the first dated here)
- Aug 25, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2021-2226
vulnetix vdb fixes CVE-2021-2226
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-2226/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart