HyperKit is a toolkit for embedding hypervisor...
High severity
Unreviewed
Published
Feb 18, 2023
to the GitHub Advisory Database
•
Updated Jul 4, 2023
Description
Published by the National Vulnerability Database
Feb 17, 2023
Published to the GitHub Advisory Database
Feb 18, 2023
Last updated
Jul 4, 2023
HyperKit is a toolkit for embedding hypervisor capabilities in an application. In versions 0.20210107 and prior of HyperKit, the implementation of
qnotify
atpci_vtrnd_notify
fails to check the return value ofvq_getchain
. This leads tostruct iovec iov;
being uninitialized and used to read memory inlen = (int) read(sc->vrsc_fd, iov.iov_base, iov.iov_len);
when an attacker is able to makevq_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.References