p PatchFirst

CVE-2021-25216

CVE-2021-25216 · A second vulnerability in BIND's GSSAPI security policy negotiation can be targeted by a buffer overflow attack

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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.

CVSS 8.1 · High · EPSS 83.0% · Fix available

Published
Updated

Stack: system

Affected products and versions

  • bind9

    Versions
    • Open Source Branches 9.5 though 9.11 9.5.0 through versions before 9.11.31: Affected
    • Open Source Branches 9.12 though 9.16 9.12.0 through versions before 9.16.14: Affected
    • Supported Preview Branch 9.11-S 9.11.3-S1 through versions before 9.11.31-S1: Affected
    • Supported Preview Branch 9.16-S 9.16.8-S1 through versions before 9.16.14-S1: Affected
    • Development Branch 9.17 9.17.0 through versions before 9.17.2: Affected

    No fix published

  • bind9 Debian:12

    Affected ranges
    • ECOSYSTEM: < 1:9.16.15-1

    Update to 1:9.16.15-1

  • bind9 Debian:13

    Affected ranges
    • ECOSYSTEM: < 1:9.16.15-1

    Update to 1:9.16.15-1

  • bind9 Debian:14

    Affected ranges
    • ECOSYSTEM: < 1:9.16.15-1

    Update to 1:9.16.15-1

  • bind9 Ubuntu:Pro:14.04:LTS

    Versions
    • 1:9.9.3.dfsg.P2-4ubuntu1
    • 1:9.9.3.dfsg.P2-4ubuntu2
    • 1:9.9.3.dfsg.P2-4ubuntu3
    • 1:9.9.5.dfsg-2
    • 1:9.9.5.dfsg-3
    • 1:9.9.5.dfsg-3ubuntu0.1
    • 1:9.9.5.dfsg-3ubuntu0.2
    • 1:9.9.5.dfsg-3ubuntu0.3
    • 1:9.9.5.dfsg-3ubuntu0.4
    • 1:9.9.5.dfsg-3ubuntu0.5
    • 1:9.9.5.dfsg-3ubuntu0.6
    • 1:9.9.5.dfsg-3ubuntu0.7
    • 1:9.9.5.dfsg-3ubuntu0.8
    • 1:9.9.5.dfsg-3ubuntu0.9
    • 1:9.9.5.dfsg-3ubuntu0.10
    • 1:9.9.5.dfsg-3ubuntu0.11
    • 1:9.9.5.dfsg-3ubuntu0.12
    • 1:9.9.5.dfsg-3ubuntu0.13
    • 1:9.9.5.dfsg-3ubuntu0.14
    • 1:9.9.5.dfsg-3ubuntu0.15
    • 1:9.9.5.dfsg-3ubuntu0.16
    • 1:9.9.5.dfsg-3ubuntu0.17
    • 1:9.9.5.dfsg-3ubuntu0.18
    • 1:9.9.5.dfsg-3ubuntu0.19
    • 1:9.9.5.dfsg-3ubuntu0.19+esm1
    • 1:9.9.5.dfsg-3ubuntu0.19+esm2
    • 1:9.9.5.dfsg-3ubuntu0.19+esm3
    • 1:9.9.5.dfsg-3ubuntu0.19+esm4
    • 1:9.9.5.dfsg-3ubuntu0.19+esm5
    • 1:9.9.5.dfsg-3ubuntu0.19+esm6
    • 1:9.9.5.dfsg-3ubuntu0.19+esm7
    • 1:9.9.5.dfsg-3ubuntu0.19+esm9
    • 1:9.9.5.dfsg-3ubuntu0.19+esm10
    • 1:9.9.5.dfsg-3ubuntu0.19+esm11
    • 1:9.9.5.dfsg-3ubuntu0.19+esm12
    Affected ranges
    • ECOSYSTEM: < 1:9.9.5.dfsg-3ubuntu0.19+esm13

    Update to 1:9.9.5.dfsg-3ubuntu0.19+esm13

  • bind9 Ubuntu:16.04:LTS

    Versions
    • 1:9.9.5.dfsg-11ubuntu1
    • 1:9.9.5.dfsg-12
    • 1:9.9.5.dfsg-12.1
    • 1:9.9.5.dfsg-12.1ubuntu1
    • 1:9.10.3.dfsg.P2-4
    • 1:9.10.3.dfsg.P2-5
    • 1:9.10.3.dfsg.P4-3
    • 1:9.10.3.dfsg.P4-4
    • 1:9.10.3.dfsg.P4-5
    • 1:9.10.3.dfsg.P4-8
    • 1:9.10.3.dfsg.P4-8ubuntu1
    • 1:9.10.3.dfsg.P4-8ubuntu1.1
    • 1:9.10.3.dfsg.P4-8ubuntu1.2
    • 1:9.10.3.dfsg.P4-8ubuntu1.3
    • 1:9.10.3.dfsg.P4-8ubuntu1.4
    • 1:9.10.3.dfsg.P4-8ubuntu1.5
    • 1:9.10.3.dfsg.P4-8ubuntu1.6
    • 1:9.10.3.dfsg.P4-8ubuntu1.7
    • 1:9.10.3.dfsg.P4-8ubuntu1.8
    • 1:9.10.3.dfsg.P4-8ubuntu1.9
    • 1:9.10.3.dfsg.P4-8ubuntu1.10
    • 1:9.10.3.dfsg.P4-8ubuntu1.11
    • 1:9.10.3.dfsg.P4-8ubuntu1.12
    • 1:9.10.3.dfsg.P4-8ubuntu1.14
    • 1:9.10.3.dfsg.P4-8ubuntu1.15
    • 1:9.10.3.dfsg.P4-8ubuntu1.16
    • 1:9.10.3.dfsg.P4-8ubuntu1.17
    • 1:9.10.3.dfsg.P4-8ubuntu1.18
    Affected ranges
    • ECOSYSTEM: < 1:9.10.3.dfsg.P4-8ubuntu1.19

    Update to 1:9.10.3.dfsg.P4-8ubuntu1.19

  • bind9 Ubuntu:18.04:LTS

    Versions
    • 1:9.10.3.dfsg.P4-12.6ubuntu1
    • 1:9.11.2.P1-1ubuntu2
    • 1:9.11.2.P1-1ubuntu3
    • 1:9.11.2.P1-1ubuntu4
    • 1:9.11.2.P1-1ubuntu5
    • 1:9.11.3+dfsg-1ubuntu1
    • 1:9.11.3+dfsg-1ubuntu1.1
    • 1:9.11.3+dfsg-1ubuntu1.2
    • 1:9.11.3+dfsg-1ubuntu1.3
    • 1:9.11.3+dfsg-1ubuntu1.5
    • 1:9.11.3+dfsg-1ubuntu1.7
    • 1:9.11.3+dfsg-1ubuntu1.8
    • 1:9.11.3+dfsg-1ubuntu1.9
    • 1:9.11.3+dfsg-1ubuntu1.10
    • 1:9.11.3+dfsg-1ubuntu1.11
    • 1:9.11.3+dfsg-1ubuntu1.12
    • 1:9.11.3+dfsg-1ubuntu1.13
    • 1:9.11.3+dfsg-1ubuntu1.14
    Affected ranges
    • ECOSYSTEM: < 1:9.11.3+dfsg-1ubuntu1.15

    Update to 1:9.11.3+dfsg-1ubuntu1.15

  • bind9 Ubuntu:20.04:LTS

    Versions
    • 1:9.11.5.P4+dfsg-5.1ubuntu2
    • 1:9.11.5.P4+dfsg-5.1ubuntu3
    • 1:9.11.5.P4+dfsg-5.1ubuntu4
    • 1:9.11.5.P4+dfsg-5.1ubuntu5
    • 1:9.11.14+dfsg-1ubuntu1
    • 1:9.11.14+dfsg-3ubuntu1
    • 1:9.16.0-1ubuntu3
    • 1:9.16.0-1ubuntu4
    • 1:9.16.0-1ubuntu5
    • 1:9.16.1-0ubuntu1
    • 1:9.16.1-0ubuntu2
    • 1:9.16.1-0ubuntu2.1
    • 1:9.16.1-0ubuntu2.2
    • 1:9.16.1-0ubuntu2.3
    • 1:9.16.1-0ubuntu2.4
    • 1:9.16.1-0ubuntu2.6
    • 1:9.16.1-0ubuntu2.7
    Affected ranges
    • ECOSYSTEM: < 1:9.16.1-0ubuntu2.8

    Update to 1:9.16.1-0ubuntu2.8

Original sources

Check your server →