Security advisory
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).
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2021-2042
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 1 Nov 2026, 05:23 UTC · Revision 1
Source evidence
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).
osv:CVE-2021-2042
Complete source record
{
"id": "290271b48385213e0bc8ec9d4162a14ea107ac9a13f57d52ef700e7dd0b34e0e",
"url": "https://osv.dev/vulnerability/CVE-2021-2042",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2021-2042",
"summary": "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).",
"evidence": "osv:CVE-2021-2042",
"products": [],
"severity": "low",
"structured": {
"id": "CVE-2021-2042",
"aliases": [
"CVE-2021-2042"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:L/I:N/A:N"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/mysql/mysql-server",
"type": "GIT",
"events": [
{
"introduced": "270fd3411e3d671a73ed9725940a30080f59ce6d"
},
{
"last_affected": "f8cdce86448a211511e8a039c62580ae16cb96f5"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:oracle:mysql:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "8.0.0"
},
{
"last_affected": "8.0.21"
}
],
"source": "CPE_RANGE"
}
]
}
}
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-2042.json"
}
}
],
"modified": "2026-10-24T10:30:27.925236741Z",
"provider": "osv",
"references": [
"https://security.gentoo.org/glsa/202105-27",
"https://security.netapp.com/advisory/ntap-20210219-0003/",
"https://www.oracle.com/security-alerts/cpujan2021.html"
],
"provider_metadata": {}
},
"related_cves": [
{
"value": "CVE-2021-2042",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 431946,
"published_at": "2021-01-20T15:15:48.143+00:00"
}