CVE-2024-31420 Cnv: dos through repeatedly calling vm-dump-metrics until virt handler crashes

Medium 6.5 Published Updated

An attacker with guest access can crash the virtualization handler by repeatedly calling vm-dump-metrics, causing denial of service.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2024-31420?

CVE-2024-31420 is a medium-severity vulnerability in Red Hat OpenShift Virtualization 4, published on 3 Apr 2024. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

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.

Weakness: CWE-476

Which versions are affected by CVE-2024-31420?

3 open source packages ship an affected version, including kubevirt.io/kubevirt.

PackageAffectedFixed in
kubevirt.io/kubevirt GoAll versionsNone
kubevirt.io/kubevirt GoAll versions to 1.2.0None
kubevirt.io/kubevirt GoAll versions to 1.2.0None

How do I fix CVE-2024-31420?

No fix has been published for CVE-2024-31420 yet. Limit exposure of the affected software until one is available.

Is CVE-2024-31420 being exploited?

There is no known exploitation of CVE-2024-31420 in the wild and no public exploit code.

Sources

Also known as GHSA-vjhf-6xfr-5p9g, GO-2024-2688, MINI-78qf-q7m4-q48f, MINI-mjvw-3jmr-g2q9.

Is CVE-2024-31420 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free