CVE-2021-20286

Source
https://cve.org/CVERecord?id=CVE-2021-20286
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-20286.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2021-20286
Downstream
Related
Published
2021-03-15T18:15:17.783Z
Modified
2026-07-08T21:25:35.438831Z
Severity
  • 2.7 (Low) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:L CVSS Calculator
Summary
[none]
Details

A flaw was found in libnbd 1.7.3. An assertion failure in nbdunlockedopt_go in ilb/opt.c may lead to denial of service.

Database specific
{
    "unresolved_ranges": [
        {
            "source": "CPE_STRING",
            "cpes": [
                "cpe:2.3:o:redhat:enterprise_linux:8.3.0:*:*:*:advanced_virtualization:*:*:*"
            ],
            "vendor_product": "redhat:enterprise_linux",
            "extracted_events": [
                {
                    "introduced": "8.3.0"
                },
                {
                    "last_affected": "8.3.0"
                }
            ]
        }
    ]
}
References

Affected packages

Git / github.com/libguestfs/libnbd

Affected ranges

Type
GIT
Repo
https://github.com/libguestfs/libnbd
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Database specific
{
    "source": "CPE_RANGE",
    "cpe": "cpe:2.3:a:redhat:libnbd:*:*:*:*:*:*:*:*",
    "extracted_events": [
        {
            "introduced": "0"
        },
        {
            "fixed": "1.7.3"
        }
    ]
}

Affected versions

v0.*
v0.1
v0.1.1
v0.1.2
v0.1.3
v0.1.4
v0.1.5
v0.1.6
v0.1.7
v0.1.8
v0.1.9
v0.9.6
v0.9.7
v0.9.8
v0.9.9
v1.*
v1.0.0
v1.1.1
v1.1.2
v1.1.3
v1.1.4
v1.1.5
v1.1.6
v1.1.7
v1.1.8
v1.1.9
v1.2.0
v1.3.1
v1.3.10
v1.3.11
v1.3.12
v1.3.2
v1.3.3
v1.3.4
v1.3.5
v1.3.6
v1.3.7
v1.3.8
v1.3.9
v1.4.0
v1.5.1
v1.5.2
v1.5.3
v1.5.4
v1.5.5
v1.5.6
v1.5.7
v1.5.8
v1.5.9
v1.6.0
v1.7.1
v1.7.2

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-20286.json"

Git / gitlab.com/nbdkit/libnbd

Affected ranges

Type
GIT
Repo
https://gitlab.com/nbdkit/libnbd
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Fixed
Database specific
{
    "source": [
        "CPE_RANGE",
        "REFERENCES"
    ],
    "cpe": "cpe:2.3:a:redhat:libnbd:*:*:*:*:*:*:*:*",
    "extracted_events": [
        {
            "introduced": "0"
        },
        {
            "fixed": "1.7.3"
        }
    ]
}

Affected versions

v0.*
v0.1
v0.1.1
v0.1.2
v0.1.3
v0.1.4
v0.1.5
v0.1.6
v0.1.7
v0.1.8
v0.1.9
v0.9.6
v0.9.7
v0.9.8
v0.9.9
v1.*
v1.0.0
v1.1.1
v1.1.2
v1.1.3
v1.1.4
v1.1.5
v1.1.6
v1.1.7
v1.1.8
v1.1.9
v1.2.0
v1.3.1
v1.3.10
v1.3.11
v1.3.12
v1.3.2
v1.3.3
v1.3.4
v1.3.5
v1.3.6
v1.3.7
v1.3.8
v1.3.9
v1.4.0
v1.5.1
v1.5.2
v1.5.3
v1.5.4
v1.5.5
v1.5.6
v1.5.7
v1.5.8
v1.5.9
v1.6.0
v1.7.1
v1.7.2

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-20286.json"
vanir_signatures
[
    {
        "source": "https://gitlab.com/nbdkit/libnbd@fb4440de9cc76e9c14bd3ddf3333e78621f40ad0",
        "signature_type": "Line",
        "signature_version": "v1",
        "digest": {
            "line_hashes": [
                "295872937920173992105759439729210643615",
                "308573389181726429547977043922400153158",
                "175463166013919943196036806588446016090",
                "101694828172015225988139722095652755153",
                "155459245169215735320025614723680348278",
                "308573389181726429547977043922400153158",
                "82981613037321556491570852698265624236",
                "316366957531121799952122086541635333363",
                "15730140958376456068470788044484831159"
            ],
            "threshold": 0.9
        },
        "id": "CVE-2021-20286-3bad40a8",
        "target": {
            "file": "lib/opt.c"
        },
        "deprecated": false
    },
    {
        "source": "https://gitlab.com/nbdkit/libnbd@fb4440de9cc76e9c14bd3ddf3333e78621f40ad0",
        "signature_type": "Function",
        "signature_version": "v1",
        "digest": {
            "function_hash": "26056301621750793838108321238872663894",
            "length": 442.0
        },
        "id": "CVE-2021-20286-60e1caf6",
        "target": {
            "function": "nbd_unlocked_opt_go",
            "file": "lib/opt.c"
        },
        "deprecated": false
    },
    {
        "source": "https://gitlab.com/nbdkit/libnbd@fb4440de9cc76e9c14bd3ddf3333e78621f40ad0",
        "signature_type": "Function",
        "signature_version": "v1",
        "digest": {
            "function_hash": "315535542450696578831990891015023350946",
            "length": 381.0
        },
        "id": "CVE-2021-20286-fd29ae99",
        "target": {
            "function": "nbd_unlocked_opt_info",
            "file": "lib/opt.c"
        },
        "deprecated": false
    }
]
vanir_signatures_modified
"2026-07-08T21:25:35Z"