{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2024-8235 in the wild and no public exploit code.","fix":"Apply the vendor's patch.","what":"CVE-2024-8235 is a medium-severity vulnerability in Redhat Libvirt, published on 30 Aug 2024. 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-2024-8235 and fix it if it is affected.\n\nWhat it is: CVE-2024-8235 is a medium-severity vulnerability in Redhat Libvirt, published on 30 Aug 2024. 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-2024-8235 in the wild and no public exploit code.\n\nAffected product: Redhat Libvirt. 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-2024-8235/ (Markdown: https://insights.sbomify.com/CVE-2024-8235/index.md)","id":"CVE-2024-8235","markdown":"https://insights.sbomify.com/CVE-2024-8235/index.md","name":"CVE-2024-8235","record":{"aliases":["ALSA-2024:9128","BELL-CVE-2024-8235","DEBIAN-CVE-2024-8235","GHSA-94ch-6cfh-xxgc","RHSA-2024:9128","RLSA-2024:9128","openSUSE-SU-2024:14315-1"],"analysis":{"component_type":"server_software","fix_type":"patch","impacts":["denial_of_service"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Virtualization management","requires_auth":"none","summary":"A NULL pointer dereference in libvirt allows remote clients to crash the virtinterfaced daemon, causing a denial of service.","user_interaction":"not_required","vuln_class":"null_dereference"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"redhat","cpe":[{"product":"libvirt","vendor":"redhat"}],"cvss":{"score":6.2,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","version":"3.1"},"cwes":[{"id":"CWE-476","name":"NULL Pointer Dereference"}],"description":"A flaw was found in libvirt. A refactor of the code fetching the list of interfaces for multiple APIs introduced a corner case on platforms where allocating 0 bytes of memory results in a NULL pointer. This corner case would lead to a NULL-pointer dereference and subsequent crash of virtinterfaced. This issue could allow clients connecting to the read-only socket to crash the virtinterfaced daemon.","ecosystems":["AlmaLinux:9","Red Hat:enterprise_linux:9::appstream","Red Hat:enterprise_linux:9::crb","Rocky Linux:9","openSUSE:Tumbleweed"],"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":"Libvirt: crash of virtinterfaced via virconnectlistinterfaces()","id":"CVE-2024-8235","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"redhat:libvirt","products":["redhat:libvirt"],"type":"null_dereference","year":"2024"},"n_packages":120,"n_references":4,"next":{"headline":"Cross-site scripting in Elementor Website Builder – more than just a page builder","id":"CVE-2024-8236"},"packages":[{"ecosystem":"AlmaLinux:9","fixed":["10.5.0-7.el9_5.alma.1"],"introduced":["0"],"last_affected":[],"package":"libvirt","purl":"pkg:rpm/almalinux/libvirt","source":"ALSA-2024:9128"},{"ecosystem":"AlmaLinux:9","fixed":["10.5.0-7.el9_5.alma.1"],"introduced":["0"],"last_affected":[],"package":"libvirt-client","purl":"pkg:rpm/almalinux/libvirt-client","source":"ALSA-2024:9128"},{"ecosystem":"AlmaLinux:9","fixed":["10.5.0-7.el9_5.alma.1"],"introduced":["0"],"last_affected":[],"package":"libvirt-client-qemu","purl":"pkg:rpm/almalinux/libvirt-client-qemu","source":"ALSA-2024:9128"},{"ecosystem":"AlmaLinux:9","fixed":["10.5.0-7.el9_5.alma.1"],"introduced":["0"],"last_affected":[],"package":"libvirt-daemon","purl":"pkg:rpm/almalinux/libvirt-daemon","source":"ALSA-2024:9128"},{"ecosystem":"AlmaLinux:9","fixed":["10.5.0-7.el9_5.alma.1"],"introduced":["0"],"last_affected":[],"package":"libvirt-daemon-common","purl":"pkg:rpm/almalinux/libvirt-daemon-common","source":"ALSA-2024:9128"},{"ecosystem":"AlmaLinux:9","fixed":["10.5.0-7.el9_5.alma.1"],"introduced":["0"],"last_affected":[],"package":"libvirt-daemon-config-network","purl":"pkg:rpm/almalinux/libvirt-daemon-config-network","source":"ALSA-2024:9128"},{"ecosystem":"AlmaLinux:9","fixed":["10.5.0-7.el9_5.alma.1"],"introduced":["0"],"last_affected":[],"package":"libvirt-daemon-config-nwfilter","purl":"pkg:rpm/almalinux/libvirt-daemon-config-nwfilter","source":"ALSA-2024:9128"},{"ecosystem":"AlmaLinux:9","fixed":["10.5.0-7.el9_5.alma.1"],"introduced":["0"],"last_affected":[],"package":"libvirt-daemon-driver-interface","purl":"pkg:rpm/almalinux/libvirt-daemon-driver-interface","source":"ALSA-2024:9128"},{"ecosystem":"AlmaLinux:9","fixed":["10.5.0-7.el9_5.alma.1"],"introduced":["0"],"last_affected":[],"package":"libvirt-daemon-driver-network","purl":"pkg:rpm/almalinux/libvirt-daemon-driver-network","source":"ALSA-2024:9128"},{"ecosystem":"AlmaLinux:9","fixed":["10.5.0-7.el9_5.alma.1"],"introduced":["0"],"last_affected":[],"package":"libvirt-daemon-driver-nodedev","purl":"pkg:rpm/almalinux/libvirt-daemon-driver-nodedev","source":"ALSA-2024:9128"},{"ecosystem":"AlmaLinux:9","fixed":["10.5.0-7.el9_5.alma.1"],"introduced":["0"],"last_affected":[],"package":"libvirt-daemon-driver-nwfilter","purl":"pkg:rpm/almalinux/libvirt-daemon-driver-nwfilter","source":"ALSA-2024:9128"},{"ecosystem":"AlmaLinux:9","fixed":["10.5.0-7.el9_5.alma.1"],"introduced":["0"],"last_affected":[],"package":"libvirt-daemon-driver-qemu","purl":"pkg:rpm/almalinux/libvirt-daemon-driver-qemu","source":"ALSA-2024:9128"},{"ecosystem":"AlmaLinux:9","fixed":["10.5.0-7.el9_5.alma.1"],"introduced":["0"],"last_affected":[],"package":"libvirt-daemon-driver-secret","purl":"pkg:rpm/almalinux/libvirt-daemon-driver-secret","source":"ALSA-2024:9128"},{"ecosystem":"AlmaLinux:9","fixed":["10.5.0-7.el9_5.alma.1"],"introduced":["0"],"last_affected":[],"package":"libvirt-daemon-driver-storage","purl":"pkg:rpm/almalinux/libvirt-daemon-driver-storage","source":"ALSA-2024:9128"},{"ecosystem":"AlmaLinux:9","fixed":["10.5.0-7.el9_5.alma.1"],"introduced":["0"],"last_affected":[],"package":"libvirt-daemon-driver-storage-core","purl":"pkg:rpm/almalinux/libvirt-daemon-driver-storage-core","source":"ALSA-2024:9128"},{"ecosystem":"AlmaLinux:9","fixed":["10.5.0-7.el9_5.alma.1"],"introduced":["0"],"last_affected":[],"package":"libvirt-daemon-driver-storage-disk","purl":"pkg:rpm/almalinux/libvirt-daemon-driver-storage-disk","source":"ALSA-2024:9128"},{"ecosystem":"AlmaLinux:9","fixed":["10.5.0-7.el9_5.alma.1"],"introduced":["0"],"last_affected":[],"package":"libvirt-daemon-driver-storage-iscsi","purl":"pkg:rpm/almalinux/libvirt-daemon-driver-storage-iscsi","source":"ALSA-2024:9128"},{"ecosystem":"AlmaLinux:9","fixed":["10.5.0-7.el9_5.alma.1"],"introduced":["0"],"last_affected":[],"package":"libvirt-daemon-driver-storage-logical","purl":"pkg:rpm/almalinux/libvirt-daemon-driver-storage-logical","source":"ALSA-2024:9128"},{"ecosystem":"AlmaLinux:9","fixed":["10.5.0-7.el9_5.alma.1"],"introduced":["0"],"last_affected":[],"package":"libvirt-daemon-driver-storage-mpath","purl":"pkg:rpm/almalinux/libvirt-daemon-driver-storage-mpath","source":"ALSA-2024:9128"},{"ecosystem":"AlmaLinux:9","fixed":["10.5.0-7.el9_5.alma.1"],"introduced":["0"],"last_affected":[],"package":"libvirt-daemon-driver-storage-rbd","purl":"pkg:rpm/almalinux/libvirt-daemon-driver-storage-rbd","source":"ALSA-2024:9128"},{"ecosystem":"AlmaLinux:9","fixed":["10.5.0-7.el9_5.alma.1"],"introduced":["0"],"last_affected":[],"package":"libvirt-daemon-driver-storage-scsi","purl":"pkg:rpm/almalinux/libvirt-daemon-driver-storage-scsi","source":"ALSA-2024:9128"},{"ecosystem":"AlmaLinux:9","fixed":["10.5.0-7.el9_5.alma.1"],"introduced":["0"],"last_affected":[],"package":"libvirt-daemon-kvm","purl":"pkg:rpm/almalinux/libvirt-daemon-kvm","source":"ALSA-2024:9128"},{"ecosystem":"AlmaLinux:9","fixed":["10.5.0-7.el9_5.alma.1"],"introduced":["0"],"last_affected":[],"package":"libvirt-daemon-lock","purl":"pkg:rpm/almalinux/libvirt-daemon-lock","source":"ALSA-2024:9128"},{"ecosystem":"AlmaLinux:9","fixed":["10.5.0-7.el9_5.alma.1"],"introduced":["0"],"last_affected":[],"package":"libvirt-daemon-log","purl":"pkg:rpm/almalinux/libvirt-daemon-log","source":"ALSA-2024:9128"},{"ecosystem":"AlmaLinux:9","fixed":["10.5.0-7.el9_5.alma.1"],"introduced":["0"],"last_affected":[],"package":"libvirt-daemon-plugin-lockd","purl":"pkg:rpm/almalinux/libvirt-daemon-plugin-lockd","source":"ALSA-2024:9128"},{"ecosystem":"AlmaLinux:9","fixed":["10.5.0-7.el9_5.alma.1"],"introduced":["0"],"last_affected":[],"package":"libvirt-daemon-plugin-sanlock","purl":"pkg:rpm/almalinux/libvirt-daemon-plugin-sanlock","source":"ALSA-2024:9128"},{"ecosystem":"AlmaLinux:9","fixed":["10.5.0-7.el9_5.alma.1"],"introduced":["0"],"last_affected":[],"package":"libvirt-daemon-proxy","purl":"pkg:rpm/almalinux/libvirt-daemon-proxy","source":"ALSA-2024:9128"},{"ecosystem":"AlmaLinux:9","fixed":["10.5.0-7.el9_5.alma.1"],"introduced":["0"],"last_affected":[],"package":"libvirt-devel","purl":"pkg:rpm/almalinux/libvirt-devel","source":"ALSA-2024:9128"},{"ecosystem":"AlmaLinux:9","fixed":["10.5.0-7.el9_5.alma.1"],"introduced":["0"],"last_affected":[],"package":"libvirt-docs","purl":"pkg:rpm/almalinux/libvirt-docs","source":"ALSA-2024:9128"},{"ecosystem":"AlmaLinux:9","fixed":["10.5.0-7.el9_5.alma.1"],"introduced":["0"],"last_affected":[],"package":"libvirt-libs","purl":"pkg:rpm/almalinux/libvirt-libs","source":"ALSA-2024:9128"},{"ecosystem":"AlmaLinux:9","fixed":["10.5.0-7.el9_5.alma.1"],"introduced":["0"],"last_affected":[],"package":"libvirt-nss","purl":"pkg:rpm/almalinux/libvirt-nss","source":"ALSA-2024:9128"},{"ecosystem":"AlmaLinux:9","fixed":["10.5.0-7.el9_5.alma.1"],"introduced":["0"],"last_affected":[],"package":"libvirt-ssh-proxy","purl":"pkg:rpm/almalinux/libvirt-ssh-proxy","source":"ALSA-2024:9128"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["0:10.5.0-7.el9_5"],"introduced":["0"],"last_affected":[],"package":"libvirt","purl":"pkg:rpm/redhat/libvirt","source":"RHSA-2024:9128"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["0:10.5.0-7.el9_5"],"introduced":["0"],"last_affected":[],"package":"libvirt-client","purl":"pkg:rpm/redhat/libvirt-client","source":"RHSA-2024:9128"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["0:10.5.0-7.el9_5"],"introduced":["0"],"last_affected":[],"package":"libvirt-client-debuginfo","purl":"pkg:rpm/redhat/libvirt-client-debuginfo","source":"RHSA-2024:9128"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["0:10.5.0-7.el9_5"],"introduced":["0"],"last_affected":[],"package":"libvirt-client-qemu","purl":"pkg:rpm/redhat/libvirt-client-qemu","source":"RHSA-2024:9128"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["0:10.5.0-7.el9_5"],"introduced":["0"],"last_affected":[],"package":"libvirt-daemon","purl":"pkg:rpm/redhat/libvirt-daemon","source":"RHSA-2024:9128"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["0:10.5.0-7.el9_5"],"introduced":["0"],"last_affected":[],"package":"libvirt-daemon-common","purl":"pkg:rpm/redhat/libvirt-daemon-common","source":"RHSA-2024:9128"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["0:10.5.0-7.el9_5"],"introduced":["0"],"last_affected":[],"package":"libvirt-daemon-common-debuginfo","purl":"pkg:rpm/redhat/libvirt-daemon-common-debuginfo","source":"RHSA-2024:9128"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["0:10.5.0-7.el9_5"],"introduced":["0"],"last_affected":[],"package":"libvirt-daemon-config-network","purl":"pkg:rpm/redhat/libvirt-daemon-config-network","source":"RHSA-2024:9128"}],"prev":{"headline":"Command injection in NWA1100-N firmware","id":"CVE-2024-8234"},"products":["Red Hat Enterprise Linux 10","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"],"published":"2024-08-30","related":[{"cvss_score":8.5,"headline":"Missing authorization in n/a","id":"CVE-2013-4401","kev_date_added":null,"published":"2013-11-02"},{"cvss_score":7.7,"headline":"Null dereference in libvirt","id":"CVE-2017-2635","kev_date_added":null,"published":"2018-08-22"},{"cvss_score":7.2,"headline":"Privilege escalation in n/a","id":"CVE-2013-4400","kev_date_added":null,"published":"2013-12-09"},{"cvss_score":6.9,"headline":"Privilege escalation in n/a","id":"CVE-2013-4291","kev_date_added":null,"published":"2013-09-30"},{"cvss_score":6.9,"headline":"Missing authorization in n/a","id":"CVE-2011-1146","kev_date_added":null,"published":"2011-03-15"},{"cvss_score":6.8,"headline":"Race condition in n/a","id":"CVE-2013-6458","kev_date_added":null,"published":"2014-01-24"},{"cvss_score":6.5,"headline":"Missing authorization in libvirt","id":"CVE-2020-10701","kev_date_added":null,"published":"2021-05-27"}],"sources":[{"class":"attribution","licence":"MIT","name":"AlmaLinux","prefix":"ALSA"},{"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":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-11-08","vendors":["Red Hat"]},"summary":"A NULL pointer dereference in libvirt allows remote clients to crash the virtinterfaced daemon, causing a denial of service.","url":"https://insights.sbomify.com/CVE-2024-8235/"}