
Cloud Vulnerability DB
A community-led vulnerabilities database
HyperKit, a toolkit for embedding hypervisor capabilities in applications, was found to contain a vulnerability in versions 0.20210107 and prior. The vulnerability (CVE-2021-32843) involves a null pointer dereference in the vc_cfgread function pointer within virtio.c, which could be triggered by a malicious guest operating system (GitHub Security Lab).
The vulnerability exists in the vi_pci_read function where there is a call to vc_cfgread that does not check for null. The function pointer vc_cfgread is used to read the virtio configuration of a device, which is an operation that the guest performs to initialize the virtio drivers. Not every device implements all available operations, and one such device is vtrnd which is used to supply randomness to the guest. The vulnerability occurs when this unchecked null pointer is dereferenced (GitHub Security Lab).
When exploited, this vulnerability allows a malicious guest to trigger a crash of the host system, resulting in a denial of service condition. The crash occurs due to the null pointer dereference when attempting to access the unimplemented function (GitHub Security Lab).
The issue has been fixed by adding a null check before calling the vc_cfgread function pointer, similar to what is implemented in bhyve. The fix was merged into the main repository through pull request #313 (GitHub PR).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."