Skip to content
Heist/ feed
Back to feed
LowFix available

nbdkit — security advisory

Type: advisorySources: OSVAdvisory ID: DEBIAN-CVE-2021-3716

A flaw was found in nbdkit due to to improperly caching plaintext state across the STARTTLS encryption boundary. A MitM attacker could use this flaw to inject a plaintext NBD_OPT_STRUCTURED_REPLY before proxying everything else a client sends to the server, potentially leading the client to terminate the NBD session. The highest threat from this vulnerability is to system availability.

Products
nbdkit
Affected versions
Not specified
Fixed versions
1.26.5-1
CVEs
CVE-2021-3716
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 00:37 UTC · Revision 1

Source evidence

DEBIAN-CVE-2021-3716

core-osv · Original source

Published 2 Mar 2022, 23:15 UTC

A flaw was found in nbdkit due to to improperly caching plaintext state across the STARTTLS encryption boundary. A MitM attacker could use this flaw to inject a plaintext NBD_OPT_STRUCTURED_REPLY before proxying everything else a client sends to the server, potentially leading the client to terminate the NBD session. The highest threat from this vulnerability is to system availability.

osv:DEBIAN-CVE-2021-3716

nbdkit

Fixed versions: 1.26.5-1

nbdkit

Fixed versions: 1.26.5-1

nbdkit

Fixed versions: 1.26.5-1

Complete source record
{
  "id": "448dc4544fd200b5ca207ef8bcd868ce48839f5c98acda88f5a190e99c03d16e",
  "url": "https://osv.dev/vulnerability/DEBIAN-CVE-2021-3716",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "DEBIAN-CVE-2021-3716",
    "summary": "A flaw was found in nbdkit due to to improperly caching plaintext state across the STARTTLS encryption boundary. A MitM attacker could use this flaw to inject a plaintext NBD_OPT_STRUCTURED_REPLY before proxying everything else a client sends to the server, potentially leading the client to terminate the NBD session. The highest threat from this vulnerability is to system availability.",
    "evidence": "osv:DEBIAN-CVE-2021-3716",
    "products": [
      {
        "name": {
          "value": "nbdkit",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "1.26.5-1",
            "evidence": "/affected/0/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "nbdkit",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "1.26.5-1",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "nbdkit",
          "evidence": "/affected/2/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "1.26.5-1",
            "evidence": "/affected/2/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "low",
    "structured": {
      "id": "DEBIAN-CVE-2021-3716",
      "aliases": [
        "DEBIAN-CVE-2021-3716"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:L"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "1.26.5-1"
                }
              ]
            }
          ],
          "package": {
            "name": "nbdkit",
            "purl": "pkg:deb/debian/nbdkit?arch=source&distro=bookworm",
            "ecosystem": "Debian:12"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2021-3716.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "1.26.5-1"
                }
              ]
            }
          ],
          "package": {
            "name": "nbdkit",
            "purl": "pkg:deb/debian/nbdkit?arch=source&distro=trixie",
            "ecosystem": "Debian:13"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2021-3716.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "1.26.5-1"
                }
              ]
            }
          ],
          "package": {
            "name": "nbdkit",
            "purl": "pkg:deb/debian/nbdkit?arch=source&distro=forky",
            "ecosystem": "Debian:14"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2021-3716.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        }
      ],
      "modified": "2026-10-23T18:03:30.460984902Z",
      "provider": "osv",
      "upstream": [
        "CVE-2021-3716"
      ],
      "references": [
        "https://security-tracker.debian.org/tracker/CVE-2021-3716"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2021-3716",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 421727,
  "published_at": "2022-03-02T23:15:09.013+00:00"
}