CVE-2021-25215
An assertion check can fail while answering queries for DNAME records that require the DNAME to be processed to resolve itself
Description
In BIND 9.0.0 -> 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 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 query for a record triggering the flaw described above, the named process will terminate due to a failed assertion check. The vulnerability affects all currently maintained BIND 9 branches (9.11, 9.11-S, 9.16, 9.16-S, 9.17) as well as all other versions of BIND 9.
Severity (CVSS)
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- 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
- none: the attacker does not need an account
- User interaction
- none: nobody has to click or open anything
- Scope
- unchanged: the damage stays inside the vulnerable component
- Impact
- confidentiality none, integrity none, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)
Exploitation
EPSS 10.2%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 96.4% of all scored CVEs. Scores of 26 Nov 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| BIND9 |
affected Open Source Branches 9.0 through 9.11 9.0.0 through versions before 9.11.30 affected Open Source Branches 9.12 through 9.16 9.12.0 through versions before 9.16.14 affected Supported Preview Branches 9.9-S through 9.11-S 9.9.3-S1 through versions… 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 versiosn before 9.17.12
|
Is my server affected?
Find the installed version of bind9 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 bind9
# packages whose changelog names the CVE (fixed in the installed version)
zgrep -l CVE-2021-25215 /usr/share/doc/*/changelog.Debian.gz
# Ubuntu
pro fix CVE-2021-25215RHEL, Rocky, Alma, Fedora
rpm -q bind9
# lists the advisory while the fix is not installed
dnf updateinfo list --cve CVE-2021-25215Alpine
apk list --installed | grep -i bind9With 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-25215
trivy image --scanners vuln IMAGE | grep CVE-2021-25215
Patchbrief 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. Install the agent.
References
Advisories
- https://kb.isc.org/v1/docs/cve-2021-25215 kb.isc.org
- DSA-4909 debian.org · vendor advisory
- FEDORA-2021-ace61cbee1 lists.fedoraproject.org · vendor advisory
- FEDORA-2021-47f23870ec lists.fedoraproject.org · vendor advisory
- https://security.netapp.com/advisory/ntap-20210521-0006/ security.netapp.com
- https://cert-portal.siemens.com/productcert/pdf/ssa-389290.pdf cert-portal.siemens.com
Other references
- [oss-security] 20210428 ISC discloses three BIND vulnerabilities (CVE-2021-25214, CVE-2021-25215, and CVE-2021-25216) openwall.com · mailing list
- [oss-security] 20210429 Re: ISC discloses three BIND vulnerabilities (CVE-2021-25214, CVE-2021-25215, and… openwall.com · mailing list
- [oss-security] 20210429 Re: ISC discloses three BIND vulnerabilities (CVE-2021-25214, CVE-2021-25215, and… openwall.com · mailing list
- [oss-security] 20210429 Re: ISC discloses three BIND vulnerabilities (CVE-2021-25214, CVE-2021-25215, and… openwall.com · mailing list
- [debian-lts-announce] 20210504 [SECURITY] [DLA 2647-1] bind9 security update lists.debian.org · mailing list
- https://www.oracle.com/security-alerts/cpuoct2021.html oracle.com
Source: the record CVE-2021-25215 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.