CVEfocus › CVE database › CVE-2021-25214

CVE-2021-25214A broken inbound incremental zone update (IXFR) can cause named to terminate unexpectedly

CVSS 6.5 MediumEPSS 6.4% (higher than 94% of CVEs)Published 2021-04-29Updated 2024-09-17Assigner: isc

In BIND 9.8.5 -> 9.8.8, 9.9.3 -> 9.11.29, 9.12.0 -> 9.16.13, and versions BIND 9.9.3-S1 -> 9.11.29-S1 and 9.16.8-S1 -> 9.16.13-S1 of BIND 9 Supported Preview Edition, as well as release versions 9.17.0 -> 9.17.11 of the BIND 9.17 development branch, when a vulnerable version of named receives a malformed IXFR triggering the flaw described above, the named process will terminate due to a failed assertion the next time the transferred secondary zone is refreshed.

What to do

Fixed builds are available from AlmaLinux, Alpine, Debian, Red Hat, Rocky Linux, Ubuntu: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

70Fixed
1Fix pending
18Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 20.04bind9Fixed1:9.16.1-0ubuntu2.8UBUNTU-CVE-2021-25214
Ubuntu 18.04bind9Fixed1:9.11.3+dfsg-1ubuntu1.15UBUNTU-CVE-2021-25214
Ubuntu 16.04bind9Fixed1:9.10.3.dfsg.P4-8ubuntu1.19UBUNTU-CVE-2021-25214
Ubuntu 14.04bind9Fix pending1:9.9.5.dfsg-3ubuntu0.19+esm13 (Ubuntu Pro)UBUNTU-CVE-2021-25214
Debian 14bind9Fixed1:9.16.15-1DEBIAN-CVE-2021-25214
Debian 13bind9Fixed1:9.16.15-1DEBIAN-CVE-2021-25214
Debian 12bind9Fixed1:9.16.15-1DEBIAN-CVE-2021-25214
Red Hat Enterprise Linux 9bindNot affected
Red Hat Enterprise Linux 9bind-chrootNot affected
Red Hat Enterprise Linux 9bind-develNot affected
Red Hat Enterprise Linux 9bind-dnssec-docNot affected
Red Hat Enterprise Linux 9bind-dnssec-utilsNot affected
Red Hat Enterprise Linux 9bind-docNot affected
Red Hat Enterprise Linux 9bind-libsNot affected
Red Hat Enterprise Linux 9bind-licenseNot affected
Red Hat Enterprise Linux 9bind-utilsNot affected
Red Hat Enterprise Linux 9python3-bindNot affected
Red Hat Enterprise Linux 8bindFixed32:9.11.26-6.el8RHSA-2021:4384
Red Hat Enterprise Linux 8bind-chrootFixed32:9.11.26-6.el8RHSA-2021:4384
Red Hat Enterprise Linux 8bind-develFixed32:9.11.26-6.el8RHSA-2021:4384
Red Hat Enterprise Linux 8bind-export-develFixed32:9.11.26-6.el8RHSA-2021:4384
Red Hat Enterprise Linux 8bind-export-libsFixed32:9.11.26-6.el8RHSA-2021:4384
Red Hat Enterprise Linux 8bind-libsFixed32:9.11.26-6.el8RHSA-2021:4384
Red Hat Enterprise Linux 8bind-libs-liteFixed32:9.11.26-6.el8RHSA-2021:4384
Red Hat Enterprise Linux 8bind-licenseFixed32:9.11.26-6.el8RHSA-2021:4384
Red Hat Enterprise Linux 8bind-lite-develFixed32:9.11.26-6.el8RHSA-2021:4384
Red Hat Enterprise Linux 8bind-pkcs11Fixed32:9.11.26-6.el8RHSA-2021:4384
Red Hat Enterprise Linux 8bind-pkcs11-develFixed32:9.11.26-6.el8RHSA-2021:4384
Red Hat Enterprise Linux 8bind-pkcs11-libsFixed32:9.11.26-6.el8RHSA-2021:4384
Red Hat Enterprise Linux 8bind-pkcs11-utilsFixed32:9.11.26-6.el8RHSA-2021:4384
Red Hat Enterprise Linux 8bind-sdbFixed32:9.11.26-6.el8RHSA-2021:4384
Red Hat Enterprise Linux 8bind-sdb-chrootFixed32:9.11.26-6.el8RHSA-2021:4384
Red Hat Enterprise Linux 8bind-utilsFixed32:9.11.26-6.el8RHSA-2021:4384
Red Hat Enterprise Linux 8python3-bindFixed32:9.11.26-6.el8RHSA-2021:4384
Red Hat Enterprise Linux 7bindFixed32:9.11.4-26.P2.el7_9.7RHSA-2021:3325
Red Hat Enterprise Linux 7bind-chrootFixed32:9.11.4-26.P2.el7_9.7RHSA-2021:3325
Red Hat Enterprise Linux 7bind-develFixed32:9.11.4-26.P2.el7_9.7RHSA-2021:3325
Red Hat Enterprise Linux 7bind-export-develFixed32:9.11.4-26.P2.el7_9.7RHSA-2021:3325
Red Hat Enterprise Linux 7bind-export-libsFixed32:9.11.4-26.P2.el7_9.7RHSA-2021:3325
Red Hat Enterprise Linux 7bind-libsFixed32:9.11.4-26.P2.el7_9.7RHSA-2021:3325
Red Hat Enterprise Linux 7bind-libs-liteFixed32:9.11.4-26.P2.el7_9.7RHSA-2021:3325
Red Hat Enterprise Linux 7bind-licenseFixed32:9.11.4-26.P2.el7_9.7RHSA-2021:3325
Red Hat Enterprise Linux 7bind-lite-develFixed32:9.11.4-26.P2.el7_9.7RHSA-2021:3325
Red Hat Enterprise Linux 7bind-pkcs11Fixed32:9.11.4-26.P2.el7_9.7RHSA-2021:3325
Red Hat Enterprise Linux 7bind-pkcs11-develFixed32:9.11.4-26.P2.el7_9.7RHSA-2021:3325
Red Hat Enterprise Linux 7bind-pkcs11-libsFixed32:9.11.4-26.P2.el7_9.7RHSA-2021:3325
Red Hat Enterprise Linux 7bind-pkcs11-utilsFixed32:9.11.4-26.P2.el7_9.7RHSA-2021:3325
Red Hat Enterprise Linux 7bind-sdbFixed32:9.11.4-26.P2.el7_9.7RHSA-2021:3325
Red Hat Enterprise Linux 7bind-sdb-chrootFixed32:9.11.4-26.P2.el7_9.7RHSA-2021:3325
Red Hat Enterprise Linux 7bind-utilsFixed32:9.11.4-26.P2.el7_9.7RHSA-2021:3325
Red Hat Enterprise Linux 6bindNot affected
Red Hat Enterprise Linux 6bind-chrootNot affected
Red Hat Enterprise Linux 6bind-develNot affected
Red Hat Enterprise Linux 6bind-libsNot affected
Red Hat Enterprise Linux 6bind-sdbNot affected
Red Hat Enterprise Linux 6bind-utilsNot affected
Red Hat Enterprise Linux 5bindNot affected
Red Hat Enterprise Linux 5bind97Not affected
AlmaLinux 8bindFixed32:9.11.26-6.el8ALSA-2021:4384
AlmaLinux 8bind-chrootFixed32:9.11.26-6.el8ALSA-2021:4384
AlmaLinux 8bind-develFixed32:9.11.26-6.el8ALSA-2021:4384
AlmaLinux 8bind-libsFixed32:9.11.26-6.el8ALSA-2021:4384
AlmaLinux 8bind-libs-liteFixed32:9.11.26-6.el8ALSA-2021:4384
AlmaLinux 8bind-licenseFixed32:9.11.26-6.el8ALSA-2021:4384
AlmaLinux 8bind-lite-develFixed32:9.11.26-6.el8ALSA-2021:4384
AlmaLinux 8bind-pkcs11Fixed32:9.11.26-6.el8ALSA-2021:4384
AlmaLinux 8bind-pkcs11-develFixed32:9.11.26-6.el8ALSA-2021:4384
AlmaLinux 8bind-pkcs11-libsFixed32:9.11.26-6.el8ALSA-2021:4384
AlmaLinux 8bind-pkcs11-utilsFixed32:9.11.26-6.el8ALSA-2021:4384
AlmaLinux 8bind-sdbFixed32:9.11.26-6.el8ALSA-2021:4384
AlmaLinux 8bind-sdb-chrootFixed32:9.11.26-6.el8ALSA-2021:4384
AlmaLinux 8bind-utilsFixed32:9.11.26-6.el8ALSA-2021:4384
AlmaLinux 8python3-bindFixed32:9.11.26-6.el8ALSA-2021:4384
Rocky Linux 8bindFixed2:9.11.26-6.el8RLSA-2021:4384
Alpine Linux 3.24bindFixed9.16.15-r0ALPINE-CVE-2021-25214
Alpine Linux 3.23bindFixed9.16.15-r0ALPINE-CVE-2021-25214
Alpine Linux 3.22bindFixed9.16.15-r0ALPINE-CVE-2021-25214
Alpine Linux 3.21bindFixed9.16.15-r0ALPINE-CVE-2021-25214
Alpine Linux 3.20bindFixed9.16.15-r0ALPINE-CVE-2021-25214
Alpine Linux 3.19bindFixed9.16.15-r0ALPINE-CVE-2021-25214
Alpine Linux 3.18bindFixed9.16.15-r0ALPINE-CVE-2021-25214
Alpine Linux 3.17bindFixed9.16.15-r0ALPINE-CVE-2021-25214
Alpine Linux 3.16bindFixed9.16.15-r0ALPINE-CVE-2021-25214
Alpine Linux 3.15bindFixed9.16.15-r0ALPINE-CVE-2021-25214
Alpine Linux 3.14bindFixed9.16.15-r0ALPINE-CVE-2021-25214
Alpine Linux 3.13bindFixed9.16.15-r0ALPINE-CVE-2021-25214
Alpine Linux 3.12bindFixed9.16.15-r0ALPINE-CVE-2021-25214
Alpine Linux 3.11bindFixed9.16.15-r0ALPINE-CVE-2021-25214
Alpine Linux 3.10bindFixed9.16.15-r0ALPINE-CVE-2021-25214

What the vendor says

As published in the CVE record by isc, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Solution: Upgrade to the patched release most closely related to your current version of BIND: BIND 9.11.31 BIND 9.16.15 BIND 9.17.12 BIND Supported Preview Edition is a special feature preview branch of BIND provided to eligible ISC support customers. BIND 9.11.31-S1 BIND 9.16.15-S1

Workaround: Disabling incremental zone transfers (IXFR) by setting request-ixfr no; in the desired configuration block (options, zone, or server) prevents the failing assertion from being evaluated.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.