{"answers":{"affected":"It affects 2 products.","exploited":"There is no known exploitation of CVE-2023-2680 in the wild and no public exploit code.","fix":"Apply the vendor's patch.","what":"CVE-2023-2680 is a high-severity use after free vulnerability in Qemu Qemu, published on 13 Sep 2023. It can only be exploited from the same machine or local network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2023-2680 and fix it if it is affected.\n\nWhat it is: CVE-2023-2680 is a high-severity use after free vulnerability in Qemu Qemu, published on 13 Sep 2023. It can only be exploited from the same machine or local network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2023-2680 in the wild and no public exploit code.\n\nAffected product: Qemu Qemu. 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-2680/ (Markdown: https://insights.sbomify.com/CVE-2023-2680/index.md)","id":"CVE-2023-2680","markdown":"https://insights.sbomify.com/CVE-2023-2680/index.md","name":"CVE-2023-2680","record":{"aliases":["GHSA-69cm-qhp7-ch23","MINI-48mc-pjgf-fvrh","MINI-8r8q-wjr6-rrvj","MINI-r83g-3pf5-8r24","RHSA-2023:6368"],"analysis":{"component_type":"operating_system","fix_type":"patch","impacts":["code_execution","privilege_escalation"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"QEMU virtualization","requires_auth":"high_privilege","summary":"An incomplete fix for a DMA reentrancy issue in QEMU allows attackers to trigger a use-after-free, potentially leading to code execution or privilege escalation.","user_interaction":"not_required","vuln_class":"use_after_free"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"redhat","cpe":[{"product":"qemu","vendor":"qemu"},{"product":"enterprise_linux","vendor":"redhat"}],"cvss":{"score":7.5,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-416","name":"Use After Free"}],"description":"This CVE exists because of an incomplete fix for CVE-2021-3750. More specifically, the qemu-kvm package as released for Red Hat Enterprise Linux 9.1 via RHSA-2022:7967 included a version of qemu-kvm that was actually missing the fix for CVE-2021-3750.","ecosystems":["Red Hat:enterprise_linux:9::appstream"],"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":"Dma reentrancy issue (incomplete fix for cve-2021-3750)","id":"CVE-2023-2680","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"qemu:qemu","products":["qemu:qemu","redhat:enterprise_linux"],"type":"use_after_free","year":"2023"},"n_packages":43,"n_references":3,"next":{"headline":"SQL Injection on Jorani","id":"CVE-2023-2681"},"packages":[{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["17:8.0.0-16.el9_3"],"introduced":["0"],"last_affected":[],"package":"qemu-guest-agent","purl":"pkg:rpm/redhat/qemu-guest-agent","source":"RHSA-2023:6368"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["17:8.0.0-16.el9_3"],"introduced":["0"],"last_affected":[],"package":"qemu-guest-agent-debuginfo","purl":"pkg:rpm/redhat/qemu-guest-agent-debuginfo","source":"RHSA-2023:6368"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["17:8.0.0-16.el9_3"],"introduced":["0"],"last_affected":[],"package":"qemu-img","purl":"pkg:rpm/redhat/qemu-img","source":"RHSA-2023:6368"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["17:8.0.0-16.el9_3"],"introduced":["0"],"last_affected":[],"package":"qemu-img-debuginfo","purl":"pkg:rpm/redhat/qemu-img-debuginfo","source":"RHSA-2023:6368"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["17:8.0.0-16.el9_3"],"introduced":["0"],"last_affected":[],"package":"qemu-kvm","purl":"pkg:rpm/redhat/qemu-kvm","source":"RHSA-2023:6368"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["17:8.0.0-16.el9_3"],"introduced":["0"],"last_affected":[],"package":"qemu-kvm-audio-dbus-debuginfo","purl":"pkg:rpm/redhat/qemu-kvm-audio-dbus-debuginfo","source":"RHSA-2023:6368"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["17:8.0.0-16.el9_3"],"introduced":["0"],"last_affected":[],"package":"qemu-kvm-audio-pa","purl":"pkg:rpm/redhat/qemu-kvm-audio-pa","source":"RHSA-2023:6368"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["17:8.0.0-16.el9_3"],"introduced":["0"],"last_affected":[],"package":"qemu-kvm-audio-pa-debuginfo","purl":"pkg:rpm/redhat/qemu-kvm-audio-pa-debuginfo","source":"RHSA-2023:6368"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["17:8.0.0-16.el9_3"],"introduced":["0"],"last_affected":[],"package":"qemu-kvm-block-blkio","purl":"pkg:rpm/redhat/qemu-kvm-block-blkio","source":"RHSA-2023:6368"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["17:8.0.0-16.el9_3"],"introduced":["0"],"last_affected":[],"package":"qemu-kvm-block-blkio-debuginfo","purl":"pkg:rpm/redhat/qemu-kvm-block-blkio-debuginfo","source":"RHSA-2023:6368"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["17:8.0.0-16.el9_3"],"introduced":["0"],"last_affected":[],"package":"qemu-kvm-block-curl","purl":"pkg:rpm/redhat/qemu-kvm-block-curl","source":"RHSA-2023:6368"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["17:8.0.0-16.el9_3"],"introduced":["0"],"last_affected":[],"package":"qemu-kvm-block-curl-debuginfo","purl":"pkg:rpm/redhat/qemu-kvm-block-curl-debuginfo","source":"RHSA-2023:6368"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["17:8.0.0-16.el9_3"],"introduced":["0"],"last_affected":[],"package":"qemu-kvm-block-rbd","purl":"pkg:rpm/redhat/qemu-kvm-block-rbd","source":"RHSA-2023:6368"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["17:8.0.0-16.el9_3"],"introduced":["0"],"last_affected":[],"package":"qemu-kvm-block-rbd-debuginfo","purl":"pkg:rpm/redhat/qemu-kvm-block-rbd-debuginfo","source":"RHSA-2023:6368"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["17:8.0.0-16.el9_3"],"introduced":["0"],"last_affected":[],"package":"qemu-kvm-common","purl":"pkg:rpm/redhat/qemu-kvm-common","source":"RHSA-2023:6368"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["17:8.0.0-16.el9_3"],"introduced":["0"],"last_affected":[],"package":"qemu-kvm-common-debuginfo","purl":"pkg:rpm/redhat/qemu-kvm-common-debuginfo","source":"RHSA-2023:6368"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["17:8.0.0-16.el9_3"],"introduced":["0"],"last_affected":[],"package":"qemu-kvm-core","purl":"pkg:rpm/redhat/qemu-kvm-core","source":"RHSA-2023:6368"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["17:8.0.0-16.el9_3"],"introduced":["0"],"last_affected":[],"package":"qemu-kvm-core-debuginfo","purl":"pkg:rpm/redhat/qemu-kvm-core-debuginfo","source":"RHSA-2023:6368"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["17:8.0.0-16.el9_3"],"introduced":["0"],"last_affected":[],"package":"qemu-kvm-debuginfo","purl":"pkg:rpm/redhat/qemu-kvm-debuginfo","source":"RHSA-2023:6368"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["17:8.0.0-16.el9_3"],"introduced":["0"],"last_affected":[],"package":"qemu-kvm-debugsource","purl":"pkg:rpm/redhat/qemu-kvm-debugsource","source":"RHSA-2023:6368"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["17:8.0.0-16.el9_3"],"introduced":["0"],"last_affected":[],"package":"qemu-kvm-device-display-virtio-gpu","purl":"pkg:rpm/redhat/qemu-kvm-device-display-virtio-gpu","source":"RHSA-2023:6368"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["17:8.0.0-16.el9_3"],"introduced":["0"],"last_affected":[],"package":"qemu-kvm-device-display-virtio-gpu-ccw","purl":"pkg:rpm/redhat/qemu-kvm-device-display-virtio-gpu-ccw","source":"RHSA-2023:6368"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["17:8.0.0-16.el9_3"],"introduced":["0"],"last_affected":[],"package":"qemu-kvm-device-display-virtio-gpu-ccw-debuginfo","purl":"pkg:rpm/redhat/qemu-kvm-device-display-virtio-gpu-ccw-debuginfo","source":"RHSA-2023:6368"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["17:8.0.0-16.el9_3"],"introduced":["0"],"last_affected":[],"package":"qemu-kvm-device-display-virtio-gpu-debuginfo","purl":"pkg:rpm/redhat/qemu-kvm-device-display-virtio-gpu-debuginfo","source":"RHSA-2023:6368"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["17:8.0.0-16.el9_3"],"introduced":["0"],"last_affected":[],"package":"qemu-kvm-device-display-virtio-gpu-pci","purl":"pkg:rpm/redhat/qemu-kvm-device-display-virtio-gpu-pci","source":"RHSA-2023:6368"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["17:8.0.0-16.el9_3"],"introduced":["0"],"last_affected":[],"package":"qemu-kvm-device-display-virtio-gpu-pci-debuginfo","purl":"pkg:rpm/redhat/qemu-kvm-device-display-virtio-gpu-pci-debuginfo","source":"RHSA-2023:6368"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["17:8.0.0-16.el9_3"],"introduced":["0"],"last_affected":[],"package":"qemu-kvm-device-display-virtio-vga","purl":"pkg:rpm/redhat/qemu-kvm-device-display-virtio-vga","source":"RHSA-2023:6368"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["17:8.0.0-16.el9_3"],"introduced":["0"],"last_affected":[],"package":"qemu-kvm-device-display-virtio-vga-debuginfo","purl":"pkg:rpm/redhat/qemu-kvm-device-display-virtio-vga-debuginfo","source":"RHSA-2023:6368"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["17:8.0.0-16.el9_3"],"introduced":["0"],"last_affected":[],"package":"qemu-kvm-device-usb-host","purl":"pkg:rpm/redhat/qemu-kvm-device-usb-host","source":"RHSA-2023:6368"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["17:8.0.0-16.el9_3"],"introduced":["0"],"last_affected":[],"package":"qemu-kvm-device-usb-host-debuginfo","purl":"pkg:rpm/redhat/qemu-kvm-device-usb-host-debuginfo","source":"RHSA-2023:6368"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["17:8.0.0-16.el9_3"],"introduced":["0"],"last_affected":[],"package":"qemu-kvm-device-usb-redirect","purl":"pkg:rpm/redhat/qemu-kvm-device-usb-redirect","source":"RHSA-2023:6368"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["17:8.0.0-16.el9_3"],"introduced":["0"],"last_affected":[],"package":"qemu-kvm-device-usb-redirect-debuginfo","purl":"pkg:rpm/redhat/qemu-kvm-device-usb-redirect-debuginfo","source":"RHSA-2023:6368"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["17:8.0.0-16.el9_3"],"introduced":["0"],"last_affected":[],"package":"qemu-kvm-docs","purl":"pkg:rpm/redhat/qemu-kvm-docs","source":"RHSA-2023:6368"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["17:8.0.0-16.el9_3"],"introduced":["0"],"last_affected":[],"package":"qemu-kvm-tests-debuginfo","purl":"pkg:rpm/redhat/qemu-kvm-tests-debuginfo","source":"RHSA-2023:6368"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["17:8.0.0-16.el9_3"],"introduced":["0"],"last_affected":[],"package":"qemu-kvm-tools","purl":"pkg:rpm/redhat/qemu-kvm-tools","source":"RHSA-2023:6368"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["17:8.0.0-16.el9_3"],"introduced":["0"],"last_affected":[],"package":"qemu-kvm-tools-debuginfo","purl":"pkg:rpm/redhat/qemu-kvm-tools-debuginfo","source":"RHSA-2023:6368"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["17:8.0.0-16.el9_3"],"introduced":["0"],"last_affected":[],"package":"qemu-kvm-ui-dbus-debuginfo","purl":"pkg:rpm/redhat/qemu-kvm-ui-dbus-debuginfo","source":"RHSA-2023:6368"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["17:8.0.0-16.el9_3"],"introduced":["0"],"last_affected":[],"package":"qemu-kvm-ui-egl-headless","purl":"pkg:rpm/redhat/qemu-kvm-ui-egl-headless","source":"RHSA-2023:6368"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["17:8.0.0-16.el9_3"],"introduced":["0"],"last_affected":[],"package":"qemu-kvm-ui-egl-headless-debuginfo","purl":"pkg:rpm/redhat/qemu-kvm-ui-egl-headless-debuginfo","source":"RHSA-2023:6368"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["17:8.0.0-16.el9_3"],"introduced":["0"],"last_affected":[],"package":"qemu-kvm-ui-opengl","purl":"pkg:rpm/redhat/qemu-kvm-ui-opengl","source":"RHSA-2023:6368"}],"prev":{"headline":"Data leakage in Adobe connector for SPE edition of SLM","id":"CVE-2023-2679"},"products":["Extra Packages for Enterprise Linux","Fedora","Red Hat Enterprise Linux 6","Red Hat Enterprise Linux 7","Red Hat Enterprise Linux 8","Red Hat Enterprise Linux 8 Advanced Virtualization","Red Hat Enterprise Linux 9","Red Hat OpenStack Platform 13 (Queens)","qemu"],"published":"2023-09-13","related":[{"cvss_score":10,"headline":"Null dereference in n/a","id":"CVE-2022-36648","kev_date_added":null,"published":"2023-08-22"},{"cvss_score":10,"headline":"Race condition in n/a","id":"CVE-2015-8556","kev_date_added":null,"published":"2017-03-24"},{"cvss_score":9.9,"headline":"Use after free in n/a","id":"CVE-2009-3616","kev_date_added":null,"published":"2009-10-23"},{"cvss_score":9.8,"headline":"Command injection in n/a","id":"CVE-2019-12928","kev_date_added":null,"published":"2019-06-24"},{"cvss_score":9.8,"headline":"Command injection in n/a","id":"CVE-2019-12929","kev_date_added":null,"published":"2019-06-24"},{"cvss_score":9.8,"headline":"Memory corruption in n/a","id":"CVE-2018-20815","kev_date_added":null,"published":"2019-05-31"},{"cvss_score":9.8,"headline":"Memory corruption in n/a","id":"CVE-2017-8380","kev_date_added":null,"published":"2017-08-28"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"Red Hat","prefix":"RHSA"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2025-02-13","vendors":["Fedora","Red Hat","n/a"]},"summary":"An incomplete fix for a DMA reentrancy issue in QEMU allows attackers to trigger a use-after-free, potentially leading to code execution or privilege escalation.","url":"https://insights.sbomify.com/CVE-2023-2680/"}