CVE-2021-2307
Reported by oracle · Published April 22, 2021
Vulnerability in the MySQL Server product of Oracle MySQL (component: Server: Packaging). Supported versions that are affected are 5.7.33 and prior and 8.0.23 and prior. Easily exploitable vulnerability allows unauthenticated attacker with logon to the infrastructure where MySQL Server executes to compromise MySQL Server. Successful attacks require human interaction from a person other than the attacker. Successful attacks of this vulnerability can result in unauthorized access to critical data or complete access to all MySQL Server accessible data as well as unauthorized update, insert or delete access to some of MySQL Server accessible data. CVSS 3.1 Base Score 6.1 (Confidentiality and Integrity impacts). CVSS Vector: (CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:L/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 |
| mysql-8.0 | Ubuntu:20.04:LTS | 8.0.25-0ubuntu0.20.04.1 |
| mysql-5.7 | Ubuntu:Pro:16.04:LTS | 5.7.35-0ubuntu0.16.04.1+esm1 |
| mysql-5.7 | Ubuntu:18.04:LTS | 5.7.34-0ubuntu0.18.04.1 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Oracle Corporation | MySQL Server | 5.7.33 and prior, 8.0.23 and prior |
| chainguard | mysql-8.0 | 0 |
| 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 27, 2023 CVE Updated
- Apr 3, 2025 PoC Published
- Mar 7, 2026 Distribution Patch (6 in total, the first dated here)
- Mar 7, 2026 Security Advisory (9 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-2307
vulnetix vdb fixes CVE-2021-2307
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-2307/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- x_refsource_MISC
- x_refsource_CONFIRM
- https://www.kb.cert.org/vuls/id/567764 advisory