CVE-2021-32844

Source
https://cve.org/CVERecord?id=CVE-2021-32844
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2021-32844.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2021-32844
Published
2023-02-17T23:15:11.887Z
Modified
2026-02-23T01:49:28.140289Z
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
Fixed

Affected versions

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

Database specific

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