CVE-2021-32845: GHSL-2021-054_057: Code execution outside the virtualized guest in hyperkit - CVE-2021-32843, CVE-2021-32844, CVE-2021-32845, CVE-2021-32846

Published Oct 5, 2021
·
Updated

A malicious guest can trigger vulnerabilities in the host by abusing certain drivers that may lead to code execution outside the virtualized guest.

Other sources

HyperKit is a toolkit for embedding hypervisor capabilities in an application. In versions 0.20210107 and prior of HyperKit, the implementation of qnotify at pcivtrndnotify fails to check the return value of vqgetchain. This leads to struct iovec iov; being uninitialized and used to read memory in len = (int) read(sc->vrscfd, iov.iovbase, iov.iovlen); when an attacker is able to make vqgetchain 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.

Affected Software

1 affected component
Mobyproject Hyperkit<=0.20210107

Event History

Oct 5, 2021
Advisory Published
via GitHub Security Lab·12:00 AM
Data Sourced
via GitHub Security Lab·12:00 AM
Description
Feb 17, 2023
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
DescriptionSeverityWeakness

Frequently Asked Questions

1

What is CVE-2021-32845?

CVE-2021-32845 is a vulnerability in HyperKit, a toolkit for embedding hypervisor capabilities in an application.

2

What is the severity of CVE-2021-32845?

CVE-2021-32845 has a severity rating of 7.8 (High)

3

How does CVE-2021-32845 affect HyperKit?

CVE-2021-32845 affects HyperKit versions 0.20210107 and prior.

4

How can I fix CVE-2021-32845?

To fix CVE-2021-32845, update to a version of HyperKit that is newer than 0.20210107.

5

Where can I find more information about CVE-2021-32845?

You can find more information about CVE-2021-32845 in the references provided.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203