Skip to content
OpenAdvisories
High · 8.1 CVE-2021-25216 EUVD-2021-12127GHSA-4vh7-r4m9-4w3v

A second vulnerability in BIND's GSSAPI security policy negotiation can be targeted by a buffer overflow attack

Published Apr 29, 2021 · Updated Sep 16, 2024 · Assigned by isc

Description

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.

Affected products

VendorProductAffectedFixed
ISC BIND9 Open Source Branches 9.5 though 9.11 9.5.0 through versions before 9.11.31, Open Source Branches 9.12 though 9.16 9.12.0 through versions before 9.16.14, Supported Preview Branch 9.11-S 9.11.3-S1 through versions before 9.11.31-S1, Supported Preview Branch 9.16-S 9.16.8-S1 through versions before 9… —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 bind9 1:9.16.15-1 —
Debian 13 bind9 1:9.16.15-1 —
Debian 12 bind9 1:9.16.15-1 —
Debian 10 bind9 1:9.11.5.P4+dfsg-5.1+deb10u5 DSA-4909-1
Debian 9 bind9 1:9.10.3.dfsg.P4-12.3+deb9u9 DLA-2647-1
ReleasePackageFixed inAdvisory
Ubuntu 20.04 LTS bind9 1:9.16.1-0ubuntu2.8 USN-4929-1
Ubuntu 18.04 LTS bind9 1:9.11.3+dfsg-1ubuntu1.15 USN-4929-1
Ubuntu 16.04 LTS bind9 1:9.10.3.dfsg.P4-8ubuntu1.19 USN-4929-1
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 14.04 LTS bind9 1:9.9.5.dfsg-3ubuntu0.19+esm13 USN-7739-1
ReleasePackageFixed inAdvisory
SLES 12 SP3 bind 9.9.9P1-63.25.1 SUSE-SU-2021:1469-1
SLES 12 SP2 bind 9.9.9P1-63.25.1 SUSE-SU-2021:1469-1
SLES 11 SP4 bind 9.9.6P1-0.51.26.1 SUSE-SU-2021:14714-1
Show 5 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES for SAP 12 SP3 bind 9.9.9P1-63.25.1 SUSE-SU-2021:1469-1
SUSE OpenStack Cloud Crowbar 8 bind 9.9.9P1-63.25.1 SUSE-SU-2021:1469-1
SUSE OpenStack Cloud 8 bind 9.9.9P1-63.25.1 SUSE-SU-2021:1469-1
SUSE Linux Enterprise Point of Sale 11 SP3 bind 9.9.6P1-0.51.26.1 SUSE-SU-2021:14714-1
SUSE HPE Helion OpenStack 8 bind 9.9.9P1-63.25.1 SUSE-SU-2021:1469-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed bind 9.16.20-1.4 openSUSE-SU-2024:10650-1
ReleasePackageFixed inAdvisory
Alpine v3.24 bind 9.16.15-r0 —
Alpine v3.23 bind 9.16.15-r0 —
Alpine v3.22 bind 9.16.15-r0 —
Alpine v3.21 bind 9.16.15-r0 —
Alpine v3.20 bind 9.16.15-r0 —
Show 10 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Alpine v3.19 bind 9.16.15-r0 —
Alpine v3.18 bind 9.16.15-r0 —
Alpine v3.17 bind 9.16.15-r0 —
Alpine v3.16 bind 9.16.15-r0 —
Alpine v3.15 bind 9.16.15-r0 —
Alpine v3.14 bind 9.16.15-r0 —
Alpine v3.13 bind 9.16.15-r0 —
Alpine v3.12 bind 9.16.15-r0 —
Alpine v3.11 bind 9.16.15-r0 —
Alpine v3.10 bind 9.16.15-r0 —

Advisories 10

References