CVE-2021-25220DNS forwarders - cache poisoning vulnerability
BIND 9.11.0 -> 9.11.36 9.12.0 -> 9.16.26 9.17.0 -> 9.18.0 BIND Supported Preview Editions: 9.11.4-S1 -> 9.11.36-S1 9.16.8-S1 -> 9.16.26-S1 Versions of BIND 9 earlier than those shown - back to 9.1.0, including Supported Preview Editions - are also believed to be affected but have not been tested as they are EOL. The cache could become poisoned with incorrect records leading to queries being made to the wrong servers, which might also result in false information being returned to clients.
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
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.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 22.04 | bind9 | Fixed | 1:9.18.0-2ubuntu3 | UBUNTU-CVE-2021-25220 |
| Ubuntu 20.04 | bind9 | Fixed | 1:9.16.1-0ubuntu2.10 | UBUNTU-CVE-2021-25220 |
| Ubuntu 18.04 | bind9 | Fixed | 1:9.11.3+dfsg-1ubuntu1.17 | UBUNTU-CVE-2021-25220 |
| Ubuntu 16.04 | bind9 | Fix pending | 1:9.10.3.dfsg.P4-8ubuntu1.19+esm2 (Ubuntu Pro) | UBUNTU-CVE-2021-25220 |
| Ubuntu 14.04 | bind9 | Fix pending | 1:9.9.5.dfsg-3ubuntu0.19+esm6 (Ubuntu Pro) | UBUNTU-CVE-2021-25220 |
| Debian 14 | bind9 | Fixed | 1:9.18.1-1 | DEBIAN-CVE-2021-25220 |
| Debian 13 | bind9 | Fixed | 1:9.18.1-1 | DEBIAN-CVE-2021-25220 |
| Debian 12 | bind9 | Fixed | 1:9.18.1-1 | DEBIAN-CVE-2021-25220 |
| Red Hat Enterprise Linux 9 | bind | Fixed | 32:9.16.23-5.el9_1 | RHSA-2022:8068 |
| Red Hat Enterprise Linux 9 | bind-chroot | Fixed | 32:9.16.23-5.el9_1 | RHSA-2022:8068 |
| Red Hat Enterprise Linux 9 | bind-devel | Fixed | 32:9.16.23-5.el9_1 | RHSA-2022:8068 |
| Red Hat Enterprise Linux 9 | bind-dnssec-doc | Fixed | 32:9.16.23-5.el9_1 | RHSA-2022:8068 |
| Red Hat Enterprise Linux 9 | bind-dnssec-utils | Fixed | 32:9.16.23-5.el9_1 | RHSA-2022:8068 |
| Red Hat Enterprise Linux 9 | bind-doc | Fixed | 32:9.16.23-5.el9_1 | RHSA-2022:8068 |
| Red Hat Enterprise Linux 9 | bind-libs | Fixed | 32:9.16.23-5.el9_1 | RHSA-2022:8068 |
| Red Hat Enterprise Linux 9 | bind-license | Fixed | 32:9.16.23-5.el9_1 | RHSA-2022:8068 |
| Red Hat Enterprise Linux 9 | bind-utils | Fixed | 32:9.16.23-5.el9_1 | RHSA-2022:8068 |
| Red Hat Enterprise Linux 9 | dhcp | Fixed | 12:4.4.2-17.b1.el9 | RHSA-2022:8385 |
| Red Hat Enterprise Linux 9 | dhcp-client | Fixed | 12:4.4.2-17.b1.el9 | RHSA-2022:8385 |
| Red Hat Enterprise Linux 9 | dhcp-common | Fixed | 12:4.4.2-17.b1.el9 | RHSA-2022:8385 |
| Red Hat Enterprise Linux 9 | dhcp-relay | Fixed | 12:4.4.2-17.b1.el9 | RHSA-2022:8385 |
| Red Hat Enterprise Linux 9 | dhcp-server | Fixed | 12:4.4.2-17.b1.el9 | RHSA-2022:8385 |
| Red Hat Enterprise Linux 9 | python3-bind | Fixed | 32:9.16.23-5.el9_1 | RHSA-2022:8068 |
| Red Hat Enterprise Linux 8 | bind | Fixed | 32:9.11.36-5.el8 | RHSA-2022:7790 |
| Red Hat Enterprise Linux 8 | bind-chroot | Fixed | 32:9.11.36-5.el8 | RHSA-2022:7790 |
| Red Hat Enterprise Linux 8 | bind-devel | Fixed | 32:9.11.36-5.el8 | RHSA-2022:7790 |
| Red Hat Enterprise Linux 8 | bind-export-devel | Fixed | 32:9.11.36-5.el8 | RHSA-2022:7790 |
| Red Hat Enterprise Linux 8 | bind-export-libs | Fixed | 32:9.11.36-5.el8 | RHSA-2022:7790 |
| Red Hat Enterprise Linux 8 | bind-libs | Fixed | 32:9.11.36-5.el8 | RHSA-2022:7790 |
| Red Hat Enterprise Linux 8 | bind-libs-lite | Fixed | 32:9.11.36-5.el8 | RHSA-2022:7790 |
| Red Hat Enterprise Linux 8 | bind-license | Fixed | 32:9.11.36-5.el8 | RHSA-2022:7790 |
| Red Hat Enterprise Linux 8 | bind-lite-devel | Fixed | 32:9.11.36-5.el8 | RHSA-2022:7790 |
| Red Hat Enterprise Linux 8 | bind-pkcs11 | Fixed | 32:9.11.36-5.el8 | RHSA-2022:7790 |
| Red Hat Enterprise Linux 8 | bind-pkcs11-devel | Fixed | 32:9.11.36-5.el8 | RHSA-2022:7790 |
| Red Hat Enterprise Linux 8 | bind-pkcs11-libs | Fixed | 32:9.11.36-5.el8 | RHSA-2022:7790 |
| Red Hat Enterprise Linux 8 | bind-pkcs11-utils | Fixed | 32:9.11.36-5.el8 | RHSA-2022:7790 |
| Red Hat Enterprise Linux 8 | bind-sdb | Fixed | 32:9.11.36-5.el8 | RHSA-2022:7790 |
| Red Hat Enterprise Linux 8 | bind-sdb-chroot | Fixed | 32:9.11.36-5.el8 | RHSA-2022:7790 |
| Red Hat Enterprise Linux 8 | bind-utils | Fixed | 32:9.11.36-5.el8 | RHSA-2022:7790 |
| Red Hat Enterprise Linux 8 | bind9.16 | Fixed | 32:9.16.23-0.9.el8.1 | RHSA-2022:7643 |
| Red Hat Enterprise Linux 8 | bind9.16-chroot | Fixed | 32:9.16.23-0.9.el8.1 | RHSA-2022:7643 |
| Red Hat Enterprise Linux 8 | bind9.16-devel | Fixed | 32:9.16.23-0.9.el8.1 | RHSA-2022:7643 |
| Red Hat Enterprise Linux 8 | bind9.16-dnssec-utils | Fixed | 32:9.16.23-0.9.el8.1 | RHSA-2022:7643 |
| Red Hat Enterprise Linux 8 | bind9.16-doc | Fixed | 32:9.16.23-0.9.el8.1 | RHSA-2022:7643 |
| Red Hat Enterprise Linux 8 | bind9.16-libs | Fixed | 32:9.16.23-0.9.el8.1 | RHSA-2022:7643 |
| Red Hat Enterprise Linux 8 | bind9.16-license | Fixed | 32:9.16.23-0.9.el8.1 | RHSA-2022:7643 |
| Red Hat Enterprise Linux 8 | bind9.16-utils | Fixed | 32:9.16.23-0.9.el8.1 | RHSA-2022:7643 |
| Red Hat Enterprise Linux 8 | python3-bind | Fixed | 32:9.11.36-5.el8 | RHSA-2022:7790 |
| Red Hat Enterprise Linux 8 | python3-bind9.16 | Fixed | 32:9.16.23-0.9.el8.1 | RHSA-2022:7643 |
| Red Hat Enterprise Linux 7 | bind | Fixed | 32:9.11.4-26.P2.el7_9.13 | RHSA-2023:0402 |
| Red Hat Enterprise Linux 7 | bind-chroot | Fixed | 32:9.11.4-26.P2.el7_9.13 | RHSA-2023:0402 |
| Red Hat Enterprise Linux 7 | bind-devel | Fixed | 32:9.11.4-26.P2.el7_9.13 | RHSA-2023:0402 |
| Red Hat Enterprise Linux 7 | bind-export-devel | Fixed | 32:9.11.4-26.P2.el7_9.13 | RHSA-2023:0402 |
| Red Hat Enterprise Linux 7 | bind-export-libs | Fixed | 32:9.11.4-26.P2.el7_9.13 | RHSA-2023:0402 |
| Red Hat Enterprise Linux 7 | bind-libs | Fixed | 32:9.11.4-26.P2.el7_9.13 | RHSA-2023:0402 |
| Red Hat Enterprise Linux 7 | bind-libs-lite | Fixed | 32:9.11.4-26.P2.el7_9.13 | RHSA-2023:0402 |
| Red Hat Enterprise Linux 7 | bind-license | Fixed | 32:9.11.4-26.P2.el7_9.13 | RHSA-2023:0402 |
| Red Hat Enterprise Linux 7 | bind-lite-devel | Fixed | 32:9.11.4-26.P2.el7_9.13 | RHSA-2023:0402 |
| Red Hat Enterprise Linux 7 | bind-pkcs11 | Fixed | 32:9.11.4-26.P2.el7_9.13 | RHSA-2023:0402 |
| Red Hat Enterprise Linux 7 | bind-pkcs11-devel | Fixed | 32:9.11.4-26.P2.el7_9.13 | RHSA-2023:0402 |
| Red Hat Enterprise Linux 7 | bind-pkcs11-libs | Fixed | 32:9.11.4-26.P2.el7_9.13 | RHSA-2023:0402 |
| Red Hat Enterprise Linux 7 | bind-pkcs11-utils | Fixed | 32:9.11.4-26.P2.el7_9.13 | RHSA-2023:0402 |
| Red Hat Enterprise Linux 7 | bind-sdb | Fixed | 32:9.11.4-26.P2.el7_9.13 | RHSA-2023:0402 |
| Red Hat Enterprise Linux 7 | bind-sdb-chroot | Fixed | 32:9.11.4-26.P2.el7_9.13 | RHSA-2023:0402 |
| Red Hat Enterprise Linux 7 | bind-utils | Fixed | 32:9.11.4-26.P2.el7_9.13 | RHSA-2023:0402 |
| AlmaLinux 9 | bind | Fixed | 32:9.16.23-5.el9_1 | ALSA-2022:8068 |
| AlmaLinux 9 | bind-chroot | Fixed | 32:9.16.23-5.el9_1 | ALSA-2022:8068 |
| AlmaLinux 9 | bind-devel | Fixed | 32:9.16.23-5.el9_1 | ALSA-2022:8068 |
| AlmaLinux 9 | bind-dnssec-doc | Fixed | 32:9.16.23-5.el9_1 | ALSA-2022:8068 |
| AlmaLinux 9 | bind-dnssec-utils | Fixed | 32:9.16.23-5.el9_1 | ALSA-2022:8068 |
| AlmaLinux 9 | bind-doc | Fixed | 32:9.16.23-5.el9_1 | ALSA-2022:8068 |
| AlmaLinux 9 | bind-libs | Fixed | 32:9.16.23-5.el9_1 | ALSA-2022:8068 |
| AlmaLinux 9 | bind-license | Fixed | 32:9.16.23-5.el9_1 | ALSA-2022:8068 |
| AlmaLinux 9 | bind-utils | Fixed | 32:9.16.23-5.el9_1 | ALSA-2022:8068 |
| AlmaLinux 9 | dhcp-client | Fixed | 12:4.4.2-17.b1.el9 | ALSA-2022:8385 |
| AlmaLinux 9 | dhcp-common | Fixed | 12:4.4.2-17.b1.el9 | ALSA-2022:8385 |
| AlmaLinux 9 | dhcp-relay | Fixed | 12:4.4.2-17.b1.el9 | ALSA-2022:8385 |
| AlmaLinux 9 | dhcp-server | Fixed | 12:4.4.2-17.b1.el9 | ALSA-2022:8385 |
| AlmaLinux 9 | python3-bind | Fixed | 32:9.16.23-5.el9_1 | ALSA-2022:8068 |
| AlmaLinux 8 | bind | Fixed | 32:9.11.36-5.el8 | ALSA-2022:7790 |
| AlmaLinux 8 | bind-chroot | Fixed | 32:9.11.36-5.el8 | ALSA-2022:7790 |
| AlmaLinux 8 | bind-devel | Fixed | 32:9.11.36-5.el8 | ALSA-2022:7790 |
| AlmaLinux 8 | bind-export-devel | Fixed | 32:9.11.36-5.el8 | ALSA-2022:7790 |
| AlmaLinux 8 | bind-export-libs | Fixed | 32:9.11.36-5.el8 | ALSA-2022:7790 |
| AlmaLinux 8 | bind-libs | Fixed | 32:9.11.36-5.el8 | ALSA-2022:7790 |
| AlmaLinux 8 | bind-libs-lite | Fixed | 32:9.11.36-5.el8 | ALSA-2022:7790 |
| AlmaLinux 8 | bind-license | Fixed | 32:9.11.36-5.el8 | ALSA-2022:7790 |
| AlmaLinux 8 | bind-lite-devel | Fixed | 32:9.11.36-5.el8 | ALSA-2022:7790 |
| AlmaLinux 8 | bind-pkcs11 | Fixed | 32:9.11.36-5.el8 | ALSA-2022:7790 |
| AlmaLinux 8 | bind-pkcs11-devel | Fixed | 32:9.11.36-5.el8 | ALSA-2022:7790 |
| AlmaLinux 8 | bind-pkcs11-libs | Fixed | 32:9.11.36-5.el8 | ALSA-2022:7790 |
| AlmaLinux 8 | bind-pkcs11-utils | Fixed | 32:9.11.36-5.el8 | ALSA-2022:7790 |
| AlmaLinux 8 | bind-sdb | Fixed | 32:9.11.36-5.el8 | ALSA-2022:7790 |
| AlmaLinux 8 | bind-sdb-chroot | Fixed | 32:9.11.36-5.el8 | ALSA-2022:7790 |
| AlmaLinux 8 | bind-utils | Fixed | 32:9.11.36-5.el8 | ALSA-2022:7790 |
| AlmaLinux 8 | bind9.16 | Fixed | 32:9.16.23-0.9.el8.1 | ALSA-2022:7643 |
| AlmaLinux 8 | bind9.16-chroot | Fixed | 32:9.16.23-0.9.el8.1 | ALSA-2022:7643 |
| AlmaLinux 8 | bind9.16-devel | Fixed | 32:9.16.23-0.9.el8.1 | ALSA-2022:7643 |
| AlmaLinux 8 | bind9.16-dnssec-utils | Fixed | 32:9.16.23-0.9.el8.1 | ALSA-2022:7643 |
| AlmaLinux 8 | bind9.16-doc | Fixed | 32:9.16.23-0.9.el8.1 | ALSA-2022:7643 |
| AlmaLinux 8 | bind9.16-libs | Fixed | 32:9.16.23-0.9.el8.1 | ALSA-2022:7643 |
| AlmaLinux 8 | bind9.16-license | Fixed | 32:9.16.23-0.9.el8.1 | ALSA-2022:7643 |
| AlmaLinux 8 | bind9.16-utils | Fixed | 32:9.16.23-0.9.el8.1 | ALSA-2022:7643 |
| AlmaLinux 8 | python3-bind | Fixed | 32:9.11.36-5.el8 | ALSA-2022:7790 |
| AlmaLinux 8 | python3-bind9.16 | Fixed | 32:9.16.23-0.9.el8.1 | ALSA-2022:7643 |
| Rocky Linux 9 | bind | Fixed | 2:9.16.23-5.el9_1 | RLSA-2022:8068 |
| Rocky Linux 9 | dhcp | Fixed | 2:4.4.2-17.b1.el9 | RLSA-2022:8385 |
| Rocky Linux 8 | bind | Fixed | 2:9.11.36-5.el8_7.2 | RLSA-2022:7790 |
| Rocky Linux 8 | bind9.16 | Fixed | 2:9.16.23-0.9.el8.1 | RLSA-2022:7643 |
| Alpine Linux 3.24 | bind | Fixed | 9.16.27-r0 | ALPINE-CVE-2021-25220 |
| Alpine Linux 3.23 | bind | Fixed | 9.16.27-r0 | ALPINE-CVE-2021-25220 |
| Alpine Linux 3.22 | bind | Fixed | 9.16.27-r0 | ALPINE-CVE-2021-25220 |
| Alpine Linux 3.21 | bind | Fixed | 9.16.27-r0 | ALPINE-CVE-2021-25220 |
| Alpine Linux 3.20 | bind | Fixed | 9.16.27-r0 | ALPINE-CVE-2021-25220 |
| Alpine Linux 3.19 | bind | Fixed | 9.16.27-r0 | ALPINE-CVE-2021-25220 |
| Alpine Linux 3.18 | bind | Fixed | 9.16.27-r0 | ALPINE-CVE-2021-25220 |
| Alpine Linux 3.17 | bind | Fixed | 9.16.27-r0 | ALPINE-CVE-2021-25220 |
| Alpine Linux 3.16 | bind | Fixed | 9.16.27-r0 | ALPINE-CVE-2021-25220 |
| Alpine Linux 3.15 | bind | Fixed | 9.16.27-r0 | ALPINE-CVE-2021-25220 |
| Alpine Linux 3.14 | bind | Fixed | 9.16.27-r0 | ALPINE-CVE-2021-25220 |
| Alpine Linux 3.13 | bind | Fixed | 9.16.27-r0 | ALPINE-CVE-2021-25220 |
| Alpine Linux 3.12 | bind | Fixed | 9.16.27-r0 | ALPINE-CVE-2021-25220 |
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.
- ISC BIND: affected: Open Source Branch 9.11 9.11.0 through versions before 9.11.37, Development Branch 9.17 BIND 9.17 all version, Open Source Branch 9.12-16 9.12.0 through versions before 9.16.27, Open Source Branch 9.18 9.18.0, Supported Preview Branch 9.11-S 9.11.0-S through versions before 9.11.37-S, Supported Preview Branch 9.16-S 9.16.0-S through versions before 9.16.27-S
Solution: Upgrade to the patched release most closely related to your current version of BIND: BIND 9.11.37 BIND 9.16.27 BIND 9.18.1 BIND Supported Preview Edition is a special feature preview branch of BIND provided to eligible ISC support customers. BIND 9.11.37-S1 BIND 9.16.27-S1
Workaround: If applicable, modify your configuration to either remove all forwarding or all possibility of recursion. Depending on your use-case, it may be possible to use other zone types to replace forward zones. Active exploits: We are not aware of any active exploits.
Vendor advisories:
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/… (vendor-advisory)
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/… (vendor-advisory)
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/… (vendor-advisory)
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/… (vendor-advisory)
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/… (vendor-advisory)
- https://security.gentoo.org/glsa/202210-25 (vendor-advisory)
References
- https://kb.isc.org/v1/docs/cve-2021-25220
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/NYD7US4HZRFUGAJ66ZTHFBYVP5N3OQBY/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/API7U5E7SX7BAAVFNW366FFJGD6NZZKV/
- https://security.netapp.com/advisory/ntap-20220408-0001/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/5VX3I2U3ICOIEI5Y7OYA6CHOLFMNH3YQ/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/2SXT7247QTKNBQ67MNRGZD23ADXU6E5U/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/DE3UAVCPUMAKG27ZL5YXSP2C3RIOW3JZ/
- https://cert-portal.siemens.com/productcert/pdf/ssa-637483.pdf
- https://security.gentoo.org/glsa/202210-25
- https://supportportal.juniper.net/s/article/2022-10-Security-Bulletin-Junos-OS-SRX-Series-Cache-poisoning-vulnerability-in-BIND-used-by-DNS-Proxy-CVE-2021-25220?language=en_US
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.