CVE-2021-32843

Source
https://nvd.nist.gov/vuln/detail/CVE-2021-32843
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2021-32843.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2021-32843
Published
2023-02-17T23:15:11Z
Modified
2025-10-15T13:03:16.334624Z
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, virtio.c has is a call to vc_cfgread 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 df0e46c7dbfd81a957d85e449ba41b52f6f7beb4.

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

[
    {
        "id": "CVE-2021-32843-9d723de8",
        "deprecated": false,
        "signature_version": "v1",
        "signature_type": "Line",
        "target": {
            "file": "src/lib/virtio.c"
        },
        "digest": {
            "line_hashes": [
                "224111426657794017222298120075263625023",
                "82295266099892006206297459276116583600",
                "340041188620932699314649500017566946092",
                "103468498027258180610024703107301908116"
            ],
            "threshold": 0.9
        },
        "source": "https://github.com/moby/hyperkit/commit/df0e46c7dbfd81a957d85e449ba41b52f6f7beb4"
    },
    {
        "id": "CVE-2021-32843-acce9496",
        "deprecated": false,
        "signature_version": "v1",
        "signature_type": "Function",
        "target": {
            "file": "src/lib/virtio.c",
            "function": "vi_pci_read"
        },
        "digest": {
            "function_hash": "264497553889318156854896604052411427726",
            "length": 2253.0
        },
        "source": "https://github.com/moby/hyperkit/commit/df0e46c7dbfd81a957d85e449ba41b52f6f7beb4"
    }
]