Skip to content
Heist/ feed
Back to feed
Medium

Security advisory

Type: advisorySources: OSVCVE: CVE-2021-32847

HyperKit is a toolkit for embedding hypervisor capabilities in an application. In versions 0.20210107 and prior, a malicious guest can trigger a vulnerability in the host by abusing the disk driver that may lead to the disclosure of the host memory into the virtualized guest. This issue is fixed in commit cf60095a4d8c3cb2e182a14415467afd356e982f.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2021-32847
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 12:37 UTC · Revision 1

Source evidence

CVE-2021-32847

core-osv · Original source

Published 20 Feb 2023, 17:15 UTC

HyperKit is a toolkit for embedding hypervisor capabilities in an application. In versions 0.20210107 and prior, a malicious guest can trigger a vulnerability in the host by abusing the disk driver that may lead to the disclosure of the host memory into the virtualized guest. This issue is fixed in commit cf60095a4d8c3cb2e182a14415467afd356e982f.

osv:CVE-2021-32847
Complete source record
{
  "id": "bbee2f0e357713fc00cf9dbed2c9606c4c0714e11390790f09a9c9692a0bf13d",
  "url": "https://osv.dev/vulnerability/CVE-2021-32847",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2021-32847",
    "summary": "HyperKit is a toolkit for embedding hypervisor capabilities in an application. In versions 0.20210107 and prior, a malicious guest can trigger a vulnerability in the host by abusing the disk driver that may lead to the disclosure of the host memory into the virtualized guest. This issue is fixed in commit cf60095a4d8c3cb2e182a14415467afd356e982f.",
    "evidence": "osv:CVE-2021-32847",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2021-32847",
      "aliases": [
        "CVE-2021-32847"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/moby/hyperkit",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "last_affected": "40cbd5caa9580e2b6de8fef53f4581943c430312"
                },
                {
                  "fixed": "cf60095a4d8c3cb2e182a14415467afd356e982f"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:mobyproject:hyperkit:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "last_affected": "0.20210107"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "range": [
                      {
                        "fixed": "cf60095a4d8c3cb2e182a14415467afd356e982f"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v0.20210107",
            "v0.20200908",
            "v0.20200224",
            "v0.20190802",
            "v0.20190201",
            "v0.20180621",
            "v0.20171204",
            "v0.20171020",
            "v0.20170904",
            "v0.20170519",
            "v0.20170511",
            "v0.20170425",
            "v0.20170227",
            "v0.20170214"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-32847.json",
            "vanir_signatures": [
              {
                "id": "CVE-2021-32847-33a2ab3c",
                "digest": {
                  "length": 2203,
                  "function_hash": "211594263407013010728782976838174057249"
                },
                "source": "https://github.com/moby/hyperkit/commit/cf60095a4d8c3cb2e182a14415467afd356e982f",
                "target": {
                  "file": "src/lib/pci_virtio_block.c",
                  "function": "pci_vtblk_proc"
                },
                "deprecated": false,
                "signature_type": "Function",
                "signature_version": "v1"
              },
              {
                "id": "CVE-2021-32847-ae3a0f92",
                "digest": {
                  "threshold": 0.9,
                  "line_hashes": [
                    "66336624619954675223392690425040697295",
                    "9047546862656464640058411706248649179",
                    "10498610056149185165050029727385673571",
                    "85107401001624865239215709652180088083"
                  ]
                },
                "source": "https://github.com/moby/hyperkit/commit/cf60095a4d8c3cb2e182a14415467afd356e982f",
                "target": {
                  "file": "src/lib/pci_virtio_block.c"
                },
                "deprecated": false,
                "signature_type": "Line",
                "signature_version": "v1"
              }
            ],
            "vanir_signatures_modified": "2026-10-20T14:05:12Z"
          }
        }
      ],
      "modified": "2026-10-20T14:05:12.354931162Z",
      "provider": "osv",
      "references": [
        "https://github.com/moby/hyperkit/commit/cf60095a4d8c3cb2e182a14415467afd356e982f",
        "https://github.com/moby/hyperkit/blob/2f061e447e1435cdf1b9eda364cea6414f2c606b/src/lib/pci_virtio_block.c#L316",
        "https://securitylab.github.com/advisories/GHSL-2021-058-moby-hyperkit/"
      ],
      "provider_metadata": {}
    },
    "related_cves": [
      {
        "value": "CVE-2021-32847",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 388542,
  "published_at": "2023-02-20T17:15:11.857+00:00"
}