{"id":"CVE-2021-32845","published":"2023-02-17T00:00:00Z","modified":"2025-03-10T21:09:53Z","title":"Moby HyperKit uninitialized memory use vtrnd pci_vtrnd_notify","vendor":"moby","product":"hyperkit","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.7,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.0025,"percentile":0.16682,"provenance":"source"},"cwes":[{"id":"CWE-908","name":"Use of Uninitialized Resource"}],"references":[{"url":"https://securitylab.github.com/advisories/GHSL-2021-054_057-moby-hyperkit/","tags":[]},{"url":"https://github.com/moby/hyperkit/pull/313","tags":[]},{"url":"https://github.com/moby/hyperkit/commit/41272a980197917df8e58ff90642d14dec8fe948","tags":[]}],"priority":{"score":8.7,"factors":[{"name":"EPSS percentile","points":3.34},{"name":"CVSS severity","points":5.39}]},"vendorSlug":"moby","affectedVersions":[{"vendor":"moby","product":"hyperkit","versions":[">= 0.20210107, <= 0.20210107"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2025-03-10T20:57:22.950584Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2021-19577","exploited":false,"provenance":"source"}}