{"schemaVersion":3,"id":"CVE-2023-21882","aliases":["UBUNTU-CVE-2023-21882","CGA-2gx2-r8rr-4q3q","CGA-3h9q-f4j3-r4j6","CGA-4v77-2j94-2h87","CGA-5ch5-rr22-gf96","CGA-f95p-fwcx-mqvg","CGA-fg4q-fm62-55mg","CGA-mhj7-px5j-8gcq","CGA-q572-mpxw-m7cp","CGA-q7fm-m283-qgf3","CGA-qj7h-c7gw-x267","CGA-vgmj-73p8-3phq","CGA-wqm4-vw3q-h6f3"],"status":"published","duplicateOf":null,"title":null,"description":"Vulnerability in the MySQL Server product of Oracle MySQL (component: Server: Optimizer).  Supported versions that are affected are 8.0.31 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 update, insert or delete access to some of MySQL Server accessible data. CVSS 3.1 Base Score 2.7 (Integrity impacts).  CVSS Vector: (CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:L/A:N).","dates":{"published":"2023-01-17T23:35:23.206Z","modified":"2024-09-17T14:06:38.943Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":2.7,"severity":"low","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:L/A:N","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":2.7,"severity":"low","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:L/A:N","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":2.7,"severity":"low","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:L/A:N","exploitability":3.1,"impact":2.3,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Chainguard","score":2.7,"severity":"low","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:L/A:N","exploitability":3.1,"impact":2.3,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":2.7,"severity":"low","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:L/A:N","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00643,"percentile":0.49909,"severity":"low","asOf":"2026-10-20T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-20T00:00:00.000Z","baselineScore":0.00643},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00643,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00643,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00643,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00643,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00643,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00643,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00643,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00643,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00643,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00643,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00643,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00643,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00643,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00643,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00643,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00643,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00643,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00643,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00643,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00643,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00643,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00643,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00643,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00643,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00643,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00643,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00643,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00643,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00643,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00643,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00643,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00643,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00643,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00643,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00643,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00643,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00643,"percentile":0.49909}],"last30":[{"date":"2026-09-20T00:00:00.000Z","score":0.00643,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00643,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00643,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00643,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00643,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00643,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00643,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00643,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00643,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00643,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00643,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00643,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00643,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00643,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00643,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00643,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00643,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00643,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00643,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00643,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00643,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00643,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00643,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00643,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00643,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00643,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00643,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00643,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00643,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00643,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00643,"percentile":0.49909}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[],"affected":[{"vendor":"chainguard","product":"mysql-8.0","name":"mysql-8.0","label":"mysql-8.0","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/mysql-8.0","purlType":"apk","versions":[{"text":"< 8.0.38-r0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 8.0.38-r0","eol":null,"hubHref":null},{"vendor":"chainguard","product":"mysql-8.0-client","name":"mysql-8.0-client","label":"mysql-8.0-client","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/mysql-8.0-client","purlType":"apk","versions":[{"text":"< 8.0.38-r0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 8.0.38-r0","eol":null,"hubHref":null},{"vendor":"chainguard","product":"mysql-8.0-dev","name":"mysql-8.0-dev","label":"mysql-8.0-dev","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/mysql-8.0-dev","purlType":"apk","versions":[{"text":"< 8.0.38-r0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 8.0.38-r0","eol":null,"hubHref":null},{"vendor":"chainguard","product":"mysql-8.0-iamguarded-compat","name":"mysql-8.0-iamguarded-compat","label":"mysql-8.0-iamguarded-compat","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/mysql-8.0-iamguarded-compat","purlType":"apk","versions":[{"text":"< 8.0.38-r0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 8.0.38-r0","eol":null,"hubHref":null},{"vendor":"chainguard","product":"mysql-8.0-oci-entrypoint","name":"mysql-8.0-oci-entrypoint","label":"mysql-8.0-oci-entrypoint","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/mysql-8.0-oci-entrypoint","purlType":"apk","versions":[{"text":"< 8.0.38-r0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 8.0.38-r0","eol":null,"hubHref":null},{"vendor":"chainguard","product":"mysql-8.0-oci-entrypoint-compat","name":"mysql-8.0-oci-entrypoint-compat","label":"mysql-8.0-oci-entrypoint-compat","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/mysql-8.0-oci-entrypoint-compat","purlType":"apk","versions":[{"text":"< 8.0.38-r0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 8.0.38-r0","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"mysql-5.5","name":"mysql-5.5","label":"mysql-5.5","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/mysql-5.5","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"mysql-8.0","name":"mysql-8.0","label":"mysql-8.0","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/mysql-8.0","purlType":"deb","versions":[{"text":"< 8.0.32-0buntu0.20.04.1","noFixRecorded":false,"fixedIn":null},{"text":"< 8.0.32-0buntu0.22.04.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 8.0.32-0buntu0.20.04.1 | < 8.0.32-0buntu0.22.04.1","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"percona-server-5.6","name":"percona-server-5.6","label":"percona-server-5.6","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/percona-server-5.6","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"percona-xtradb-cluster-5.6","name":"percona-xtradb-cluster-5.6","label":"percona-xtradb-cluster-5.6","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/percona-xtradb-cluster-5.6","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"oracle corporation","product":"mysql server","name":"MySQL Server","label":"mysql server","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"8.0.31 and prior","noFixRecorded":false,"fixedIn":null}],"versionsText":"8.0.31 and prior","eol":null,"hubHref":"/vendor/oracle_corporation/mysql_server"},{"vendor":"oracle","product":"mysql","name":"mysql","label":"mysql","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 8.0.0, ≤ 8.0.31","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 8.0.0, ≤ 8.0.31","eol":{"isEol":null,"eolDate":null,"matchMethod":"cpe","cycle":null,"product":{"name":"mysql","label":"MySQL","category":"database"}},"hubHref":"/vendor/oracle/mysql"}],"affectedCount":12,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://www.oracle.com/security-alerts/cpujan2023.html","label":"www.oracle.com/security-alerts/cpujan2023.html","hostname":"www.oracle.com","tags":["Vendor Advisory","Advisory","Patch"]},{"url":"https://ubuntu.com/security/CVE-2023-21882","label":"ubuntu.com/security/CVE-2023-21882","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.oracle.com/security-alerts/cpujan2023.html#AppendixMSQL","label":"www.oracle.com/security-alerts/cpujan2023.html","hostname":"www.oracle.com","tags":["REPORT"]},{"url":"https://ubuntu.com/security/notices/USN-5823-1","label":"ubuntu.com/security/notices/USN-5823-1","hostname":"ubuntu.com","tags":["Advisory"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2023-21882","label":"www.cve.org/CVERecord?id=CVE-2023-21882","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/21xxx/CVE-2023-21882.json","label":"github.com/CVEProject/cvelistV5/tree/main/cves/2023/21xxx/CVE-2023-21882.json","hostname":"github.com","tags":["Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-21882","label":"nvd.nist.gov/vuln/detail/CVE-2023-21882","hostname":"nvd.nist.gov","tags":["Advisory","Oval"]}],"lineage":{"upstream":[],"downstream":["RHSA-2023:1102","RHSA-2023:2621","RHSA-2023:3087","USN-5823-1"],"duplicates":[],"related":["CGA-M797-RW33-47HQ","CGA-QRX7-R58W-HQQ9","USN-5823-1"]},"timeline":[{"kind":"published","date":"2023-01-17T23:35:23.206Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-09-17T14:06:38.943Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":11,"level":"low","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-20T14:25:54.519Z","stale":false,"partial":false}}