CVE-2021-32845
published high CVSS 3.1 · 7.7Moby HyperKit uninitialized memory use vtrnd pci_vtrnd_notify
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| moby | — | hyperkit0.20210107 through 0.20210107 | Affected | Not stated | GitHub_M |
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.7 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| moby | hyperkit | 0.20210107 through 0.20210107 (affected · custom) | GitHub_M · cna |
Weaknesses
1- CWE-908 CWE-908 Use of Uninitialized Resource
References
3Provider assertions
3GitHub_M · cna
Moby HyperKit uninitialized memory use vtrnd pci_vtrnd_notify
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 36b934d456b4e760b7a62cb17f125b56e2b409dd03c33931174f9eb95abc7752
- Ingested
- 23 Sep 2026, 07:54:30 UTC
- Source record
- Official CVE record