{"id":"CVE-2024-31420","aliases":["GHSA-vjhf-6xfr-5p9g","GO-2024-2688"],"summary":"Cnv: dos through repeatedly calling vm-dump-metrics until virt handler crashes","published_at":"2024-04-03T00:00:00Z","modified_at":"2026-09-10T03:50:11.40853Z","products":[{"slug":"kubevirt","name":"KubeVirt / OpenShift Virtualization","category":"kubernetes-container"}],"rating":{"severity":"medium","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","attack_path":"internet_authenticated","user_interaction":false,"malicious":false,"red_hat":"Moderate","vendor_ratings":[{"source":"Red Hat","rating":"Moderate"}]},"fix_available":false,"kev":{"listed":false,"ransomware":false},"public_exploit":false,"exploits":[],"epss":{"score":0.006390000227838755,"percentile":0.5142300128936768,"date":"2026-11-19T00:00:00Z"},"priority":7.5,"details":"A NULL pointer dereference flaw was found in KubeVirt. This flaw allows an attacker who has access to a virtual machine guest on a node with DownwardMetrics enabled to cause a denial of service by issuing a high number of calls to vm-dump-metrics --virtio and then deleting the virtual machine.","affected_stack":[{"ecosystem":"Go","package":"kubevirt.io/kubevirt","purl":"pkg:golang/kubevirt.io/kubevirt","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"last_affected":"1.2.0"}]}],"provider":"osv","source":"GHSA-vjhf-6xfr-5p9g","relation":"self"},{"ecosystem":"Go","package":"kubevirt.io/kubevirt","purl":"pkg:golang/kubevirt.io/kubevirt","ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"provider":"osv","source":"GO-2024-2688","relation":"self"}],"affected_other":[],"product_status":[{"vendor":"Red Hat","product":"Red Hat OpenShift Virtualization 4","cpe":"cpe:/a:redhat:container_native_virtualization:4","status":"not_affected","packages":["kubevirt"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2024-31420"}],"records":[{"provider":"cvelistv5","source_id":"CVE-2024-31420","relation":"self","url":"https://www.cve.org/CVERecord?id=CVE-2024-31420","license":"CC-BY-4.0","published_at":"2024-04-03T14:01:07.124Z","modified_at":"2025-11-20T19:12:24.292Z","summary":"Cnv: dos through repeatedly calling vm-dump-metrics until virt handler crashes","details":"A NULL pointer dereference flaw was found in KubeVirt. This flaw allows an attacker who has access to a virtual machine guest on a node with DownwardMetrics enabled to cause a denial of service by issuing a high number of calls to vm-dump-metrics --virtio and then deleting the virtual machine.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","source":"CVE-2024-31420"}],"affected":[],"product_status":[],"references":[{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2024-31420"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2272951"}]},{"provider":"osv","source_id":"GHSA-vjhf-6xfr-5p9g","relation":"self","url":"https://osv.dev/vulnerability/GHSA-vjhf-6xfr-5p9g","license":"CC-BY-4.0","published_at":"2024-04-03T15:30:42Z","modified_at":"2026-09-10T03:50:11.40853Z","summary":"KubeVirt NULL pointer dereference flaw","details":"A NULL pointer dereference flaw was found in KubeVirt. This flaw allows an attacker who has access to a virtual machine guest on a node with DownwardMetrics enabled to cause a denial of service by issuing a high number of calls to vm-dump-metrics --virtio and then deleting the virtual machine.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","source":"GHSA-vjhf-6xfr-5p9g"}],"affected":[{"ecosystem":"Go","package":"kubevirt.io/kubevirt","purl":"pkg:golang/kubevirt.io/kubevirt","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"last_affected":"1.2.0"}]}],"provider":"osv","source":"GHSA-vjhf-6xfr-5p9g","relation":"self"}],"product_status":[],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-31420"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2024-31420"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2272951"},{"type":"PACKAGE","url":"https://github.com/kubevirt/kubevirt"}]},{"provider":"osv","source_id":"GO-2024-2688","relation":"self","url":"https://osv.dev/vulnerability/GO-2024-2688","license":"CC-BY-4.0","published_at":"2024-06-05T15:10:52Z","modified_at":"2026-06-20T18:29:20.93079Z","summary":"KubeVirt NULL pointer dereference flaw in kubevirt.io/kubevirt","details":"KubeVirt NULL pointer dereference flaw in kubevirt.io/kubevirt","severity":[],"affected":[{"ecosystem":"Go","package":"kubevirt.io/kubevirt","purl":"pkg:golang/kubevirt.io/kubevirt","ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"provider":"osv","source":"GO-2024-2688","relation":"self"}],"product_status":[],"references":[{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-vjhf-6xfr-5p9g"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-31420"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2024-31420"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2272951"}]},{"provider":"redhat-vex","source_id":"CVE-2024-31420","relation":"self","url":"https://access.redhat.com/security/cve/CVE-2024-31420","license":"CC-BY-4.0","published_at":"2024-04-03T00:00:00Z","modified_at":"2024-07-31T06:13:22Z","summary":"cnv: DoS through repeatedly calling vm-dump-metrics until virt handler crashes","details":"A NULL pointer dereference flaw was found in KubeVirt. This flaw allows an attacker who has access to a virtual machine guest on a node with DownwardMetrics enabled to cause a denial of service by issuing a high number of calls to vm-dump-metrics --virtio and then deleting the virtual machine.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","source":"CVE-2024-31420"},{"type":"Red Hat","score":"Moderate","source":"CVE-2024-31420"}],"affected":[],"product_status":[{"vendor":"Red Hat","product":"Red Hat OpenShift Virtualization 4","cpe":"cpe:/a:redhat:container_native_virtualization:4","status":"not_affected","packages":["kubevirt"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2024-31420"}],"references":[{"type":"WEB","url":"https://security.access.redhat.com/data/csaf/v2/vex/2024/cve-2024-31420.json"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2024-31420"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2272951"},{"type":"WEB","url":"https://www.cve.org/CVERecord?id=CVE-2024-31420"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-31420"}]}],"references":[{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2024-31420"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2272951"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-31420"},{"type":"PACKAGE","url":"https://github.com/kubevirt/kubevirt"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-vjhf-6xfr-5p9g"},{"type":"WEB","url":"https://security.access.redhat.com/data/csaf/v2/vex/2024/cve-2024-31420.json"},{"type":"WEB","url":"https://www.cve.org/CVERecord?id=CVE-2024-31420"}],"sources":[{"provider":"cvelistv5","source_id":"CVE-2024-31420","url":"https://www.cve.org/CVERecord?id=CVE-2024-31420","license":"CC-BY-4.0","modified_at":"2025-11-20T19:12:24.292Z","relation":"self"},{"provider":"osv","source_id":"GHSA-vjhf-6xfr-5p9g","url":"https://osv.dev/vulnerability/GHSA-vjhf-6xfr-5p9g","license":"CC-BY-4.0","modified_at":"2026-09-10T03:50:11.40853Z","relation":"self"},{"provider":"osv","source_id":"GO-2024-2688","url":"https://osv.dev/vulnerability/GO-2024-2688","license":"CC-BY-4.0","modified_at":"2026-06-20T18:29:20.93079Z","relation":"self"},{"provider":"redhat-vex","source_id":"CVE-2024-31420","url":"https://access.redhat.com/security/cve/CVE-2024-31420","license":"CC-BY-4.0","modified_at":"2024-07-31T06:13:22Z","relation":"self"}]}
