CVE-2022-37394 OpenStack Nova Changing vnic_type breaks compute service restart

Low 3.3 Published Updated

An authenticated user can cause compute service failure by manipulating neutron port vnic types, leading to denial of service in SR-IOV deployments.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2022-37394?

CVE-2022-37394 is a low-severity denial of service vulnerability in n/a, published on 3 Aug 2022. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

An issue was discovered in OpenStack Nova before 23.2.2, 24.x before 24.1.2, and 25.x before 25.0.2. By creating a neutron port with the direct vnic_type, creating an instance bound to that port, and then changing the vnic_type of the bound port to macvtap, an authenticated user may cause the compute service to fail to restart, resulting in a possible denial of service. Only Nova deployments configured with SR-IOV are affected.

Which versions are affected by CVE-2022-37394?

7 open source packages ship an affected version, including nova. It affects 1 product.

PackageAffectedFixed in
nova PyPIAll versions23.2.2, 24.1.2, 25.0.2
nova PyPIAll versions23.2.2
nova PyPIAll versions23.2.2
nova PyPIFrom 24.0.024.1.2
nova PyPIFrom 24.0.024.1.2
nova PyPIFrom 25.0.025.0.2
1 more packages
nova PyPIFrom 25.0.025.0.2
Linux distribution packages (1)
openstack-nova Red Hat:openstack:16.2::el8All versions1:20.6.2-2.20230308185148.fc01371.el8ost

Products include Openstack Nova.

How do I fix CVE-2022-37394?

Upgrade nova to a fixed version for your release line: 23.2.2, 24.1.2 or 25.0.2.

Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.

Is CVE-2022-37394 being exploited?

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

Sources

Also known as DEBIAN-CVE-2022-37394, GHSA-v725-c588-h936, PYSEC-2026-882, RHSA-2023:1948, UBUNTU-CVE-2022-37394.

Is CVE-2022-37394 in your software?

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

Check your SBOMs for free