CVE-2021-32846
CVE-2021-32846 is a high-severity vulnerability in Mobyproject Hyperkit with a CVSS 3.x base score of 7.7. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-754.
Key facts
- Severity: High (CVSS 3.x base score 7.7)
- EPSS exploit prediction: 0% (24th percentile)
- Actively exploited: Not listed in CISA KEV
- Weakness: CWE-754
- Affected product: Mobyproject Hyperkit
- Published:
- Last modified:
Description
HyperKit is a toolkit for embedding hypervisor capabilities in an application. In versions 0.20210107, function `pci_vtsock_proc_tx` in `virtio-sock` can lead to to uninitialized memory use. In this situation, there is a check for the return value to be less or equal to `VTSOCK_MAXSEGS`, but that check is not sufficient because the function can return `-1` if it finds an error it cannot recover from. Moreover, the negative return value will be used by `iovec_pull` in a while condition that can further lead to more corruption because the function is not designed to handle a negative `iov_len`. 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 af5eba2360a7351c08dfd9767d9be863a50ebaba.
Frequently asked questions
- What is CVE-2021-32846?
- HyperKit is a toolkit for embedding hypervisor capabilities in an application. In versions 0.20210107, function `pci_vtsock_proc_tx` in `virtio-sock` can lead to to uninitialized memory use. In this situation, there is a check for the return value to be less or equal to `VTSOCK_MAXSEGS`, but that check is not sufficient because the function can return `-1` if it finds an error it cannot recover from. Moreover, the negative return value will be used by `iovec_pull` in a while condition that can further lead to more corruption because the function is not designed to handle a negative `iov_len`. 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 af5eba2360a7351c08dfd9767d9be863a50ebaba.
- How severe is CVE-2021-32846?
- CVE-2021-32846 has a CVSS 3.x base score of 7.7, rated high severity. It is exploitable over local access with low attack complexity, requires no privileges and no user interaction. Impact on confidentiality is none, integrity high, and availability high.
- Is CVE-2021-32846 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 0% (24th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2021-32846?
- CVE-2021-32846 affects Mobyproject Hyperkit. See the affected-products list for the exact vulnerable versions.
- How do I fix CVE-2021-32846?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Given its high severity, prioritise patching exposed systems.
- When was CVE-2021-32846 published?
- CVE-2021-32846 was published on 2023-02-17 and last updated on 2026-06-17.
References
- https://github.com/moby/hyperkit/commit/af5eba2360a7351c08dfd9767d9be863a50ebaba
- https://github.com/moby/hyperkit/pull/313
- https://securitylab.github.com/advisories/GHSL-2021-054_057-moby-hyperkit/
Affected products (1)
- cpe:2.3:a:mobyproject:hyperkit:*:*:*:*:*:*:*:*
More vulnerabilities in Mobyproject Hyperkit
- CVE-2021-32845 — High (CVSS 7.7): HyperKit is a toolkit for embedding hypervisor capabilities in an application. In versions 0.20210107 and prior of…
- CVE-2021-32847 — High (CVSS 7.1): HyperKit is a toolkit for embedding hypervisor capabilities in an application. In versions 0.20210107 and prior, a…
- CVE-2021-32844 — Medium (CVSS 6.2): HyperKit is a toolkit for embedding hypervisor capabilities in an application. In versions 0.20210107 and prior of…
- CVE-2021-32843 — Medium (CVSS 6.2): HyperKit is a toolkit for embedding hypervisor capabilities in an application. In versions 0.20210107 and prior of…
All CVEs affecting Mobyproject Hyperkit →
Other CWE-754 (Improper Check for Unusual or Exceptional Conditions) vulnerabilities
- CVE-2026-24054 — Critical (CVSS 10.0): Kata Containers is an open source project focusing on a standard implementation of lightweight Virtual Machines (VMs)…
- CVE-2021-0211 — Critical (CVSS 10.0): An improper check for unusual or exceptional conditions in Juniper Networks Junos OS and Junos OS Evolved Routing…
- CVE-2026-8091 — Critical (CVSS 9.8): Incorrect boundary conditions in the Audio/Video: Playback component. This vulnerability was fixed in Firefox 150,…
- CVE-2024-52316 — Critical (CVSS 9.8): Unchecked Error Condition vulnerability in Apache Tomcat. If Tomcat is configured to use a custom Jakarta…
- CVE-2024-7826 — Critical (CVSS 9.8): Improper Check for Unusual or Exceptional Conditions vulnerability in Webroot SecureAnywhere - Web Shield on Windows,…
- CVE-2023-37303 — Critical (CVSS 9.8): An issue was discovered in the CheckUser extension for MediaWiki through 1.39.3. In certain situations, an attempt to…
Browse all CWE-754 (Improper Check for Unusual or Exceptional Conditions) vulnerabilities →