{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2023-21868 in the wild and no public exploit code.","fix":"Apply the vendor's patch.","what":"CVE-2023-21868 is a medium-severity denial of service vulnerability in Oracle Mysql Server, published on 17 Jan 2023. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2023-21868 and fix it if it is affected.\n\nWhat it is: CVE-2023-21868 is a medium-severity denial of service vulnerability in Oracle Mysql Server, published on 17 Jan 2023. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2023-21868 in the wild and no public exploit code.\n\nAffected product: Oracle Mysql Server. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2023-21868/ (Markdown: https://insights.sbomify.com/CVE-2023-21868/index.md)","id":"CVE-2023-21868","markdown":"https://insights.sbomify.com/CVE-2023-21868/index.md","name":"CVE-2023-21868","record":{"aliases":["GHSA-5r8v-6m23-99mf","UBUNTU-CVE-2023-21868"],"analysis":{"component_type":"database","fix_type":"patch","impacts":["denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"MySQL Server","requires_auth":"low_privilege","summary":"A low-privileged attacker can cause a complete denial of service in MySQL Server via the Optimizer component.","user_interaction":"not_required","vuln_class":"denial_of_service"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"oracle","cpe":[{"product":"mysql_server","vendor":"oracle"}],"cvss":{"score":6.5,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","version":"3.1"},"cwes":[],"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 low 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 6.5 (Availability impacts).  CVSS Vector: (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H).","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Denial of service in MySQL Server","id":"CVE-2023-21868","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"oracle:mysql_server","products":["oracle:mysql_server"],"type":"denial_of_service","year":"2023"},"n_packages":0,"n_references":1,"next":{"headline":"Denial of service in MySQL Server","id":"CVE-2023-21869"},"packages":[],"prev":{"headline":"Denial of service in MySQL Server","id":"CVE-2023-21867"},"products":["MySQL Server"],"published":"2023-01-17","related":[{"cvss_score":7.5,"headline":"Denial of service in MySQL Server","id":"CVE-2025-21521","kev_date_added":null,"published":"2025-01-21"},{"cvss_score":7.5,"headline":"Denial of service in MySQL Server","id":"CVE-2023-21912","kev_date_added":null,"published":"2023-04-18"},{"cvss_score":6.5,"headline":"Denial of service in MySQL Server","id":"CVE-2026-22009","kev_date_added":null,"published":"2026-04-21"},{"cvss_score":6.5,"headline":"Denial of service in MySQL Server","id":"CVE-2026-22017","kev_date_added":null,"published":"2026-04-21"},{"cvss_score":6.5,"headline":"Denial of service in MySQL Server","id":"CVE-2026-34270","kev_date_added":null,"published":"2026-04-21"},{"cvss_score":6.5,"headline":"Denial of service in MySQL Server","id":"CVE-2026-34271","kev_date_added":null,"published":"2026-04-21"},{"cvss_score":6.5,"headline":"Denial of service in MySQL Server","id":"CVE-2026-34272","kev_date_added":null,"published":"2026-04-21"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2024-09-17","vendors":["Oracle Corporation"]},"summary":"A low-privileged attacker can cause a complete denial of service in MySQL Server via the Optimizer component.","url":"https://insights.sbomify.com/CVE-2023-21868/"}