Debian LinuxOperating system · Debian

CVE-2021-25216

CRITICAL · 9.8 CVSS v3.1 Published 2021-04-29
Fix available
A fix is available. Upgrade to 1.0.1.1 / 9.11.31 or later.
See remediation →
100/100
Remediation priority · Urgent
High EPSS Remotely reachable No privileges Zero-click Patch available

Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.

NVD · unedited
In BIND 9.5.0 -> 9.11.29, 9.12.0 -> 9.16.13, and versions BIND 9.11.3-S1 -> 9.11.29-S1 and 9.16.8-S1 -> 9.16.13-S1 of BIND Supported Preview Edition, as well as release versions 9.17.0 -> 9.17.1 of the BIND 9.17 development branch, BIND servers are vulnerable if they are running an affected version and are configured to use GSS-TSIG features. In a configuration which uses BIND's default settings the vulnerable code path is not exposed, but a server can be rendered vulnerable by explicitly setting values for the tkey-gssapi-keytab or tkey-gssapi-credential configuration options. Although the default configuration is not vulnerable, GSS-TSIG is frequently used in networks where BIND is integrated with Samba, as well as in mixed-server environments that combine BIND servers with Active Directory domain controllers. For servers that meet these conditions, the ISC SPNEGO implementation is vulnerable to various attacks, depending on the CPU architecture for which BIND was built: For named binaries compiled for 64-bit platforms, this flaw can be used to trigger a buffer over-read, leading to a server crash. For named binaries compiled for 32-bit platforms, this flaw can be used to trigger a server crash due to a buffer overflow and possibly also to achieve remote code execution. We have determined that standard SPNEGO implementations are available in the MIT and Heimdal Kerberos libraries, which support a broad range of operating systems, rendering the ISC implementation unnecessary and obsolete. Therefore, to reduce the attack surface for BIND users, we will be removing the ISC SPNEGO implementation in the April releases of BIND 9.11 and 9.16 (it had already been dropped from BIND 9.17). We would not normally remove something from a stable ESV (Extended Support Version) of BIND, but since system libraries can replace the ISC SPNEGO implementation, we have made an exception in this case for reasons of stability and security.

Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.

dbcve analysis
How this class of weakness works · CWE-125

The code reads past the end (or before the start) of a buffer, returning memory that was never meant to be exposed. Attackers use it to leak secrets like keys or to defeat memory-protection defences. Remediation is validating indices and lengths before every read.

General guidance for the out-of-bounds read class — the official description and references above are authoritative for this specific CVE. Want a bespoke review and a reviewed fix? Ask our team →

Affected products & versions What the vendor confirmedThe version ranges the vendor confirmed as vulnerable. If your version sits inside a range here, treat yourself as exposed until you have upgraded.

NVD · CPE data
Debian LinuxOperating system
Affected:= 9.0= 10.0
BindApplication
Affected:>= 9.0.0, < 9.11.31>= 9.12.0, < 9.16.15>= 9.17.0, < 9.17.12= 9.9.3= 9.9.12= 9.9.13= 9.10.5= 9.10.7= 9.11.3= 9.11.5= 9.11.6= 9.11.7
Sinec Infrastructure Network ServicesApplication
Affected:< 1.0.1.1
Active Iq Unified ManagerApplication
Affected:all versions
Cloud BackupApplication
Affected:all versions
Aff A250 FirmwareOperating system
Affected:all versions
Aff 500f FirmwareOperating system
Affected:all versions
H300s FirmwareOperating system
Affected:all versions

CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.

From the vector
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.

dbcve · scoped
Upgrade available Upgrade to 1.0.1.1 / 9.11.31 / 9.16.15 or later
Fixed in 1.0.1.19.11.319.16.15
Recommended fix High confidence

BIND 9.11.31+, 9.16.15+, or 9.17.12+ (April 2021 releases or later)

  1. 1. Identify the currently installed BIND version using: named -v or named -V
  2. 2. For BIND 9.11.x users: Upgrade to BIND 9.11.31 or later (the April 2021 release)
  3. 3. For BIND 9.16.x users: Upgrade to BIND 9.16.15 or later (the April 2021 release)
  4. 4. For BIND 9.17.x users: Upgrade to BIND 9.17.12 or later
  5. 5. For Debian 9 (Stretch) and Debian 10 (Buster): Update via apt-get update && apt-get install bind9 to obtain the fixed packages from Debian security repositories
  6. 6. After upgrade, restart the named service: systemctl restart named or service bind9 restart
  7. 7. Verify the new version is running: named -v
  8. 8. If GSS-TSIG (tkey-gssapi-keytab or tkey-gssapi-credential) was configured, verify the configuration still works correctly after upgrade
Caveat The ISC SPNEGO implementation has been removed; users relying on GSS-TSIG must use MIT or Heimdal Kerberos libraries instead. Review configuration if using tkey-gssapi-* options.

Generated from the published advisory — verify against the referenced sources before acting.

We can perform the upgrade in your staging environment and verify nothing breaks — typical engagement from $3,550. Get the upgrade done

Scan for this in your stack

Free · runs locally
dbcve dependency scanner

Check whether your project pulls in CVE-2021-25216 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.

References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.

Primary sources

Practitioner notes

Contributed

Peer-ranked notes from engineers who’ve handled CVE-2021-25216 in production — separate from our analysis above.

No notes yet

Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.

What this is

A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.

What belongs here
  • Verified mitigations, workarounds, and config changes
  • Version or environment caveats, and links to real fixes
  • No weaponised exploit code, or anything meant to cause harm
  • No spam, self-promotion, credentials, or personal data