---
cve: "CVE-2021-32845"
severity: "HIGH"
cvss: 7.7
epss: "25%"
vendor: "moby"
kev: false
exploited: false
published: "2023-02-17 23:15:11"
tags: [cve, security, high]
source: tsecurity.de CVE-Dossier
exported: "2026-09-02T21:11:16+02:00"
---

# CVE-2021-32845

> 7.7 HIGH · 🧪 PoC

## Beschreibung

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.

## CVSS-Vektor

```
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H
```

| Metrik | Wert | Bewertung |
|---|---|---|
| AV Angriffsvektor | Lokal | good |
| AC Komplexität | Gering | bad |
| PR Privilegien | Keine | bad |
| UI Interaktion | Keine | bad |
| S Scope | Unverändert | good |
| C Vertraulichkeit | Keine | good |
| I Integrität | Hoch | bad |
| A Verfügbarkeit | Hoch | bad |

## Patch verfügbar (OSV)

- 41272a980197917df8e58ff90642d14dec8fe948 (Commit)

## Referenzen

- <https://securitylab.github.com/advisories/GHSL-2021-054_057-moby-hyperkit/>
- <https://github.com/moby/hyperkit/pull/313>
- <https://github.com/moby/hyperkit/commit/41272a980197917df8e58ff90642d14dec8fe948>

---
_Exportiert aus dem [tsecurity.de CVE-Dossier](https://tsecurity.de/cve?cve=CVE-2021-32845) · Datenquellen: EUVD (ENISA), NVD, OSV, CISA KEV, FIRST EPSS, Exploit-DB, BSI BITS_
