CVE-2023-30612 Malicious HTTP requests could close arbitrary opening file descriptors in cloud-hypervisor

Medium 4.0 Published Updated

Attackers with write access to the API socket can close arbitrary file descriptors, causing a crash or potential use-after-free in Cloud Hypervisor.

Exploited in the wild
Not known
Login needed
An administrator
Attackable
Local or same network only
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2023-30612?

CVE-2023-30612 is a medium-severity use after free vulnerability in cloud-hypervisor, published on 19 Apr 2023. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.

Official description

Cloud hypervisor is a Virtual Machine Monitor for Cloud workloads. This vulnerability allows users to close arbitrary open file descriptors in the Cloud Hypervisor process via sending malicious HTTP request through the HTTP API socket. As a result, the Cloud Hypervisor process can be easily crashed, causing Deny-of-Service (DoS). This can also be a potential Use-After-Free (UAF) vulnerability. Users require to have the write access to the API socket file to trigger this vulnerability. Impacted versions of Cloud Hypervisor include upstream main branch, v31.0, and v30.0. The vulnerability was initially detected by our `http_api_fuzzer` via oss-fuzz. This issue has been addressed in versions 30.1 and 31.1. Users unable to upgrade may mitigate this issue by ensuring the write access to the API socket file is granted to trusted users only.

Weakness: CWE-416, CWE-306

Which versions are affected by CVE-2023-30612?

It affects 1 product.

Products include Cloudhypervisor Cloud Hypervisor.

How do I fix CVE-2023-30612?

Upgrade to a fixed version.

Upgrade to the fixed version. These bugs are found with fuzzing and sanitisers and avoided by memory-safe languages. More about Use after free.

Is CVE-2023-30612 being exploited?

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

Sources

Also known as AZL-26278, GHSA-g6mw-f26h-4jgp.

Is CVE-2023-30612 in your software?

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

Check your SBOMs for free