CVE-2021-32844

Source
https://cve.org/CVERecord?id=CVE-2021-32844
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-32844.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2021-32844
Published
2023-02-17T23:15:11Z
Modified
2026-10-20T14:23:24Z
Severity
  • 5.5 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
[none]
Details

HyperKit is a toolkit for embedding hypervisor capabilities in an application. In versions 0.20210107 and prior of HyperKit, vi_pci_write has is a call to vc_cfgwrite that does not check for null which when called makes the host crash. This issue may lead to a guest crashing the host causing a denial of service. This issue is fixed in commit 451558fe8aaa8b24e02e34106e3bb9fe41d7ad13.

References

Affected packages

Git / github.com/moby/hyperkit

Affected ranges

Type
GIT
Repo
https://github.com/moby/hyperkit
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Last Affected
Fixed
Database specific
Show details
{
    "extracted_events":  [
        {
            "cpe":  "cpe:2.3:a:mobyproject:hyperkit:*:*:*:*:*:*:*:*",
            "range":  [
                {
                    "introduced":  "0"
                },
                {
                    "last_affected":  "0.20210107"
                }
            ],
            "source":  "CPE_RANGE"
        },
        {
            "range":  [
                {
                    "fixed":  "451558fe8aaa8b24e02e34106e3bb9fe41d7ad13"
                }
            ],
            "source":  "REFERENCES_COMMIT"
        }
    ]
}

Affected versions

v0.*
v0.20170214
v0.20170227
v0.20170425
v0.20170511
v0.20170519
v0.20170904
v0.20171020
v0.20171204
v0.20180621
v0.20190201
v0.20190802
v0.20200224
v0.20200908
v0.20210107

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-32844.json"
vanir_signatures
[
    {
        "deprecated":  false,
        "digest":  {
            "function_hash":  "147428864900504555325010098442511855567",
            "length":  2931
        },
        "id":  "CVE-2021-32844-901c6b33",
        "signature_type":  "Function",
        "signature_version":  "v1",
        "source":  "https://github.com/moby/hyperkit/commit/451558fe8aaa8b24e02e34106e3bb9fe41d7ad13",
        "target":  {
            "file":  "src/lib/virtio.c",
            "function":  "vi_pci_write"
        }
    },
    {
        "deprecated":  false,
        "digest":  {
            "line_hashes":  [
                "27600109711837502342970271220179049041",
                "332855437583339418914141984933401851115",
                "80563983225965591535718958744148807913",
                "141247226162631951124093854780487189898",
                "44554842436581024155871805227358743936"
            ],
            "threshold":  0.9
        },
        "id":  "CVE-2021-32844-954438f6",
        "signature_type":  "Line",
        "signature_version":  "v1",
        "source":  "https://github.com/moby/hyperkit/commit/451558fe8aaa8b24e02e34106e3bb9fe41d7ad13",
        "target":  {
            "file":  "src/lib/virtio.c"
        }
    }
]
vanir_signatures_modified
"2026-10-20T14:23:24Z"