cve.bz

CVE-2021-25216 Out-of-bounds Read

9.8 criticalEPSS 83%Fix available

Critical (9.8). EPSS 83% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

9.8 critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS
83% (unchanged from 83% a week ago; 83% 30 days ago) estimated probability of exploitation activity in the next 30 days; 100th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-125 Out-of-bounds Read
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2021-25216 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2021-25216?via=ask-ai-copy and https://cve.bz/cve/CVE-2021-25216?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2021-25216 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
debian:debian_linux9.0
debian:debian_linux10.0
isc:bindfrom 9.0.0 before 9.11.31
isc:bindfrom 9.12.0 before 9.16.15
isc:bindfrom 9.17.0 before 9.17.12
isc:bind9.9.3:s1
isc:bind9.9.12:s1
isc:bind9.9.13:s1
isc:bind9.10.5:s1
isc:bind9.10.7:s1
isc:bind9.11.3:s1
isc:bind9.11.5:s3
isc:bind9.11.5:s5
isc:bind9.11.5:s6
isc:bind9.11.6:s1
isc:bind9.11.7:s1
isc:bind9.11.8:s1
isc:bind9.11.12:s1
isc:bind9.11.21:s1
isc:bind9.11.27:s1
isc:bind9.11.29:s1
isc:bind9.16.8:s1
isc:bind9.16.11:s1
isc:bind9.16.13:s1
siemens:sinec_infrastructure_network_servicesbefore 1.0.1.1

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian9bind91:9.10.3.dfsg.P4-12.3+deb9u9DLA-2647-1
Debian10bind91:9.11.5.P4+dfsg-5.1+deb10u5DSA-4909-1
Debian12, 13, 14bind91:9.16.15-1DEBIAN-CVE-2021-25216
Ubuntu16.04:LTSbind91:9.10.3.dfsg.P4-8ubuntu1.19UBUNTU-CVE-2021-25216 USN-4929-1
Ubuntu18.04:LTSbind91:9.11.3+dfsg-1ubuntu1.15UBUNTU-CVE-2021-25216 USN-4929-1
Ubuntu20.04:LTSbind91:9.16.1-0ubuntu2.8UBUNTU-CVE-2021-25216 USN-4929-1
UbuntuPro:14.04:LTSbind91:9.9.5.dfsg-3ubuntu0.19+esm13UBUNTU-CVE-2021-25216 USN-7739-1
SUSEHPE Helion OpenStack 8, Linux Enterprise Server 12 SP2-BCL, Linux Enterprise Server 12 SP3-BCL and 4 morebind9.9.9P1-63.25.1SUSE-SU-2021:1469-1
SUSELinux Enterprise Point of Sale 11 SP3, Linux Enterprise Server 11 SP4-LTSSbind9.9.6P1-0.51.26.1SUSE-SU-2021:14714-1
openSUSETumbleweedbind9.16.20-1.4openSUSE-SU-2024:10650-1
Alpinev3.10, v3.11, v3.12 and 12 morebind9.16.15-r0ALPINE-CVE-2021-25216

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0; the Alpine secdb, CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · SUSE · openSUSE · Alpine.

Red Hat

Red Hat rates this Important.

Red Hat's statement

Versions of bind package shipped with Red Hat Enterprise Linux do not enable ISC SPNEGO and therefore are not affected by this flaw.

Red Hat's mitigation

This vulnerability only affects servers configured to use GSS-TSIG, most often to sign dynamic updates. If another mechanism can be used to authenticate updates, the vulnerability can be avoided by choosing not to enable the use of GSS-TSIG features.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 5bindNot affected
Red Hat Enterprise Linux 5bind97Not affected
Red Hat Enterprise Linux 6bindNot affected
Red Hat Enterprise Linux 7bindNot affected
Red Hat Enterprise Linux 8bindNot affected
Red Hat Enterprise Linux 9bindNot affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2021-25216.

ICS advisories (CISA)

AdvisoryTitlePublishedSectorsAffectedFixed
ICSA-22-069-09Siemens SINEC INS2022-03-08MultipleSINEC INSnone listed

From CISA's ICS advisories (CSAF), provided under CISA's notification. Only the facts are shown; each advisory is on CISA's page. Credits.

Attack patterns (CAPEC)

  • CAPEC-540 Overread Buffers Likelihood: Low · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON