CVE-2021-32845Mobyproject Hyperkit
High 7.8
Follow: this CVE · Mobyproject · Mobyproject Hyperkit We alert you by email or Slack (account required).
- Priority
- 47
- CVSS 3.1
- 7.8
- EPSS
- 0.3% probability of exploitation in 30 days · percentile 11
- Auth required
- Yes
- Published
- Feb 17, 2023
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
What happens
HyperKit is a toolkit for embedding hypervisor capabilities in an application. In versions 0.20210107 and prior of HyperKit, the implementation of `qnotify` at `pci_vtrnd_notify` fails to check the return value of `vq_getchain`. This leads to `struct iovec iov;` being uninitialized and used to read memory in `len = (int) read(sc->vrsc_fd, iov.iov_base, iov.iov_len);` when an attacker is able to make `vq_getchain` fail. This issue may lead to a guest crashing the host causing a denial of service and, under certain circumstance, memory corruption. This issue is fixed in commit 41272a980197917df8e58ff90642d14dec8fe948.
What to do
- Apply the vendor's security update for Hyperkit.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| mobyproject | hyperkit | ≤ 0.20210107 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch
- github.com Patch
- securitylab.github.com Third Party Advisory