CVE-2021-25220
DNS forwarders - cache poisoning vulnerability
Check your servers for CVE-2021-25220
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2021-25220 affects bind, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
Description
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.
Severity (CVSS)
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:N/I:H/A:N
- Attack vector
- network: an attacker can reach the vulnerable part over the network, often from the internet
- Attack complexity
- low: an attack works without special conditions
- Privileges required
- high: the attacker needs an administrative account
- User interaction
- none: nobody has to click or open anything
- Scope
- changed: the damage reaches other components, such as the host of a container or other users
- Impact
- confidentiality none, integrity high, availability none: what an attacker can read (confidentiality), change (integrity) or stop (availability)
Exploitation
EPSS 3.48%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 89.4% of all scored CVEs. Scores of 1 Dec 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| BIND |
affected Open Source Branch 9.11 9.11.0 through versions before 9.11.37 affected Development Branch 9.17 BIND 9.17 all version affected Open Source Branch 9.12-16 9.12.0 through versions before 9.16.27 affected Open Source Branch 9.18 9.18.0 affected Supported Preview Branch 9.11-S 9.11.0-S through versions before 9.11.37-S affected Supported Preview Branch 9.16-S 9.16.0-S through versions before 9.16.27-S
|
Is my server affected?
Find the installed version of bind and compare it with the fixed version of your distribution. Distributions often fix a CVE in a package version of their own, so the version number of the upstream project can mislead.
Debian, Ubuntu
dpkg -l | grep -i bind
# packages whose changelog names the CVE (fixed in the installed version)
zgrep -l CVE-2021-25220 /usr/share/doc/*/changelog.Debian.gz
# Ubuntu
pro fix CVE-2021-25220RHEL, Rocky, Alma, Fedora
rpm -q bind
# lists the advisory while the fix is not installed
dnf updateinfo list --cve CVE-2021-25220Alpine
apk list --installed | grep -i bindWith Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2021-25220
trivy image --scanners vuln IMAGE | grep CVE-2021-25220
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Advisories
- FEDORA-2022-14e36aac0c lists.fedoraproject.org · vendor advisory
- FEDORA-2022-042d9c6146 lists.fedoraproject.org · vendor advisory
- FEDORA-2022-a88218de5c lists.fedoraproject.org · vendor advisory
- FEDORA-2022-05918f0838 lists.fedoraproject.org · vendor advisory
- FEDORA-2022-3f293290c3 lists.fedoraproject.org · vendor advisory
- GLSA-202210-25 security.gentoo.org · vendor advisory
Other references
- https://kb.isc.org/v1/docs/cve-2021-25220 kb.isc.org
- https://security.netapp.com/advisory/ntap-20220408-0001/ security.netapp.com
- https://cert-portal.siemens.com/productcert/pdf/ssa-637483.pdf cert-portal.siemens.com
- 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 supportportal.juniper.net
Source: the record CVE-2021-25220 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse