{"id":"CVE-2021-32845","aliases":["CVE-2021-32845"],"related":[],"kind":"vulnerability","state":"published","title":"Moby HyperKit uninitialized memory use vtrnd pci_vtrnd_notify","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"}],"published":"2023-02-17T00:00:00.000Z","modified":"2026-06-17T03:53:44.877Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H","score":7.7,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H","score":7.7,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"}],"cwes":["CWE-252","CWE-908"],"affected":[{"ranges":[{"type":"custom","introduced":"0.20210107","lastAffected":"0.20210107","status":"affected"}],"vendor":"moby","product":"hyperkit","source":"cvelist"},{"ranges":[{"status":"affected","lastAffected":"0.20210107"}],"vendor":"mobyproject","product":"hyperkit","cpe":"cpe:2.3:a:mobyproject:hyperkit:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://securitylab.github.com/advisories/GHSL-2021-054_057-moby-hyperkit/","tags":["third-party-advisory","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://github.com/moby/hyperkit/pull/313","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://github.com/moby/hyperkit/commit/41272a980197917df8e58ff90642d14dec8fe948","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2025-03-10T20:57:22.950Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2021-32845","url":"https://www.cve.org/CVERecord?id=CVE-2021-32845","licence":"CVE Terms of Use","modified":"2025-03-10T21:09:53.340Z"},{"source":"nvd","name":"NVD","id":"CVE-2021-32845","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-32845","licence":"Public domain","modified":"2026-06-17T03:53:44.877Z"}],"updatedAt":"2026-11-25T22:58:08.225Z","epss":{"score":0.00257,"percentile":0.18509,"date":"2026-12-01T12:00:22.000Z"}}