{"schemaVersion":3,"id":"CVE-2023-21876","aliases":["UBUNTU-CVE-2023-21876","CGA-4m5r-j6g8-cjgx","CGA-5hhm-vmcf-4rpg","CGA-6qw3-56pp-47p9","CGA-9636-7gg5-82qc","CGA-99gv-5vrw-jh3j","CGA-cfg6-wgfj-9m9p","CGA-j358-mrrx-4g6g","CGA-m4wg-8c2w-m5rc","CGA-q27x-7jj9-26vv","CGA-q926-fq8x-w67m","CGA-w25r-22gr-9v7r","CGA-xp57-4vfx-mwwq"],"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 ability to cause a hang or frequently repeatable crash (complete DOS) of MySQL Server. CVSS 3.1 Base Score 4.9 (Availability impacts).  CVSS Vector: (CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H).","dates":{"published":"2023-01-17T23:35:21.346Z","modified":"2024-09-17T14:09:10.793Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":4.9,"severity":"medium","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:N/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":4.9,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":4.9,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H","exploitability":3.1,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Chainguard","score":4.9,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H","exploitability":3.1,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":4.9,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.0086,"percentile":0.57834,"severity":"low","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.0086},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.0086,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.0086,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.0086,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.0086,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.0086,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.0086,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.0086,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.0086,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.0086,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.0086,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.0086,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.0086,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.0086,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.0086,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.0086,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.0086,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.0086,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.0086,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.0086,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.0086,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.0086,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.0086,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.0086,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.0086,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.0086,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.0086,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.0086,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.0086,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.0086,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.0086,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.0086,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.0086,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.0086,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.0086,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.0086,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.0086,"percentile":0.57834}],"last30":[{"date":"2026-09-19T00:00:00.000Z","score":0.0086,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.0086,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.0086,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.0086,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.0086,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.0086,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.0086,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.0086,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.0086,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.0086,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.0086,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.0086,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.0086,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.0086,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.0086,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.0086,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.0086,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.0086,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.0086,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.0086,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.0086,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.0086,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.0086,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.0086,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.0086,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.0086,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.0086,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.0086,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.0086,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.0086,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.0086,"percentile":0.57834}]},"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, ≤ 8.0.31","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 8.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-21876","label":"ubuntu.com/security/CVE-2023-21876","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-21876","label":"www.cve.org/CVERecord?id=CVE-2023-21876","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/21xxx/CVE-2023-21876.json","label":"github.com/CVEProject/cvelistV5/tree/main/cves/2023/21xxx/CVE-2023-21876.json","hostname":"github.com","tags":["Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-21876","label":"nvd.nist.gov/vuln/detail/CVE-2023-21876","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-CF33-XXG2-2HPJ","CGA-CGWG-CWGG-5X6C","USN-5823-1"]},"timeline":[{"kind":"published","date":"2023-01-17T23:35:21.346Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-09-17T14:09:10.793Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":20,"level":"low","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-19T21:10:22.087Z","stale":false,"partial":false}}