# CVE-2021-3716: A flaw was found in nbdkit due to to improperly caching plaintext state across the STARTTLS encryption boundary.

- Severity: Low 3.1 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.58%, higher than 49% of CVEs (2026-12-01)
- Published: 2022-03-02T22:19:03.000Z
- Modified: 2026-06-17T04:05:37.720Z
- Weaknesses: CWE-924
- Assigned by: redhat

## Description

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.

(As written by CVE List.)

## Affected

- nbdkit: Affects nbdkit v1.12 through v1.26.4 | Fixedin nbdkit v1.26.5
- nbdkit_project nbdkit: from 1.11.8 before 1.24.6; from 1.25.1 before 1.26.5; from 1.27.1 before 1.27.6
- redhat enterprise_linux: 8.0

## Every score

- NVD: CVSS:3.1 3.1 Low `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:L`
- NVD: CVSS:2.0 3.5 Low `AV:N/AC:M/Au:S/C:N/I:N/A:P`

## References

- <https://www.openwall.com/lists/oss-security/2021/08/18/2> (mailing-list, third-party-advisory)
- <https://listman.redhat.com/archives/libguestfs/2021-August/msg00083.html> (broken-link)
- <https://gitlab.com/nbdkit/nbdkit/-/commit/09a13dafb7bb3a38ab52eb5501cba786365ba7fd> (patch, third-party-advisory)
- <https://gitlab.com/nbdkit/nbdkit/-/commit/6c5faac6a37077cf2366388a80862bb00616d0d8> (patch, third-party-advisory)
- <https://bugzilla.redhat.com/show_bug.cgi?id=1994695> (issue-tracking, patch, third-party-advisory)

## Sources

- CVE List: [CVE-2021-3716](https://www.cve.org/CVERecord?id=CVE-2021-3716), CVE Terms of Use, modified 2024-08-03
- NVD: [CVE-2021-3716](https://nvd.nist.gov/vuln/detail/CVE-2021-3716), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-3716 · Whole record: https://cve.day/CVE-2021-3716.json · Rebuilt by cve.day 2026-11-25T22:58:07.103Z
