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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| cloud-hypervisor | cloud-hypervisor | >= 30.0, < 30.1, >= 31.0, < 31.1 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Azure Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Azure Linux 2 (CBL-Mariner) | cloud-hypervisor | 31.1-1 | — |
References
- https://github.com/cloud-hypervisor/cloud-hypervisor/security/advisories/GHSA-g6mw-f26h-4jgp
- https://github.com/cloud-hypervisor/cloud-hypervisor/pull/5350
- https://github.com/cloud-hypervisor/cloud-hypervisor/pull/5373
- https://oss-fuzz.com/testcase-detail/5260873569796096
- https://oss-fuzz.com/testcase-detail/5426283514560512