CVE-2021-20286

Source
https://nvd.nist.gov/vuln/detail/CVE-2021-20286
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2021-20286.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2021-20286
Downstream
Related
Published
2021-03-15T18:15:17Z
Modified
2025-09-19T12:24:36.856630Z
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.

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
Type
GIT
Repo
https://gitlab.com/nbdkit/libnbd
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed

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

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