# CVE-2021-2042

- Priority: **Routine**
- Reason: Not severe (CVSS 2.3, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2021-01-20 · Modified: 2024-09-26
- Aliases: UBUNTU-CVE-2021-2042, CGA-4jx8-f324-3p2f, CGA-56fg-c65j-753m, CGA-5j4j-4f6m-rv6q, CGA-6mxp-c2ww-3r2g, CGA-7pj9-w4h4-46fx, CGA-8j76-68v5-695q, CGA-f3v7-r7c4-vrf8, CGA-h7fj-38g7-2734, CGA-m2v9-565m-fhx5, CGA-v29m-36v2-q544, CGA-vfhw-f695-42fj, CGA-vjjj-p23m-q5vr
- Record: https://cvemate.com/vulnerability/CVE-2021-2042 · JSON: https://cvemate.com/vulnerability/CVE-2021-2042/json

## Description

```text
Vulnerability in the MySQL Server product of Oracle MySQL (component: InnoDB). Supported versions that are affected are 8.0.21 and prior. Easily exploitable vulnerability allows high privileged attacker with logon to the infrastructure where MySQL Server executes to compromise MySQL Server. Successful attacks of this vulnerability can result in unauthorized read access to a subset of MySQL Server accessible data. CVSS 3.1 Base Score 2.3 (Confidentiality impacts). CVSS Vector: (CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:L/I:N/A:N).
```

## Signals

- CVSS: 2.3 low (v3.1, CVE.org) CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:L/I:N/A:N
- EPSS: 0.45%, percentile 40.884%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- chainguard mysql-8.0 (Chainguard): \< 8.0.38-r0
- chainguard mysql-8.0-client (Chainguard): \< 8.0.38-r0
- chainguard mysql-8.0-dev (Chainguard): \< 8.0.38-r0
- chainguard mysql-8.0-iamguarded-compat (Chainguard): \< 8.0.38-r0
- chainguard mysql-8.0-oci-entrypoint (Chainguard): \< 8.0.38-r0
- chainguard mysql-8.0-oci-entrypoint-compat (Chainguard): \< 8.0.38-r0
- ubuntu mysql-5.5 (Ubuntu): All versions (No fix recorded)
- ubuntu mysql-8.0 (Ubuntu): \< 8.0.22-0ubuntu0.20.04.2
- ubuntu percona-server-5.6 (Ubuntu): All versions (No fix recorded)
- ubuntu percona-xtradb-cluster-5.6 (Ubuntu): All versions (No fix recorded)
- netapp oncommand\_insight: na
- netapp oncommand\_workflow\_automation: na
- netapp snapcenter: na
- oracle corporation mysql server: 8.0.21 and prior
- oracle mysql: ≥ 8.0.0, ≤ 8.0.21

## References

- <https://www.oracle.com/security-alerts/cpujan2021.html>
- <https://security.netapp.com/advisory/ntap-20210219-0003/>
- <https://security.gentoo.org/glsa/202105-27>
- <https://ubuntu.com/security/CVE-2021-2042>
- <https://www.cve.org/CVERecord?id=CVE-2021-2042>

---

Data as of 2026-12-05T09:19:53.812Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
