CVE-2020-8625
A vulnerability in BIND's GSSAPI security policy negotiation can be targeted by a buffer overflow attack
Check your servers for CVE-2020-8625
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-2020-8625 affects bind9, 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 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 valid values for the tkey-gssapi-keytab or tkey-gssapi-credentialconfiguration 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. The most likely outcome of a successful exploitation of the vulnerability is a crash of the named process. However, remote code execution, while unproven, is theoretically possible. Affects: BIND 9.5.0 -> 9.11.27, 9.12.0 -> 9.16.11, and versions BIND 9.11.3-S1 -> 9.11.27-S1 and 9.16.8-S1 -> 9.16.11-S1 of BIND Supported Preview Edition. Also release versions 9.17.0 -> 9.17.1 of the BIND 9.17 development branch
Severity (CVSS)
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
- Attack vector
- network: an attacker can reach the vulnerable part over the network, often from the internet
- Attack complexity
- high: an attack depends on conditions outside the control of the attacker, such as a race
- 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 high, integrity high, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)
Exploitation
EPSS 65.4%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 99.4% of all scored CVEs. Scores of 30 Nov 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| BIND9 |
affected Open Source Branches 9.5 though 9.11 9.5.0 through versions before 9.11.28 affected Open Source Branches 9.12 though 9.16 9.12.0 through versions before 9.16.12 affected Supported Preview Branch 9.11-S 9.11.3-S1 through versions before 9.11.28-S1 affected Supported Preview Branch 9.16-S 9.16.8-S1 through versions before 9.16.12-S1 affected Development Branch 9.17 9.17.0 through versions before 9.17.2
|
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-2020-8625 /usr/share/doc/*/changelog.Debian.gz
# Ubuntu
pro fix CVE-2020-8625RHEL, Rocky, Alma, Fedora
rpm -q bind9
# lists the advisory while the fix is not installed
dnf updateinfo list --cve CVE-2020-8625Alpine
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-2020-8625
trivy image --scanners vuln IMAGE | grep CVE-2020-8625
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
- https://kb.isc.org/v1/docs/cve-2020-8625 kb.isc.org
- DSA-4857 debian.org · vendor advisory
- FEDORA-2021-0595625865 lists.fedoraproject.org · vendor advisory
- FEDORA-2021-28f97e232d lists.fedoraproject.org · vendor advisory
- https://security.netapp.com/advisory/ntap-20210319-0001/ security.netapp.com
- FEDORA-2021-8b4744f152 lists.fedoraproject.org · vendor advisory
- https://cert-portal.siemens.com/productcert/pdf/ssa-389290.pdf cert-portal.siemens.com
Other references
- [oss-security] 20210218 BIND Operational Notification: Enabling the new BIND option "stale-answer-client-timeout"… openwall.com · mailing list
- [debian-lts-announce] 20210219 [SECURITY] [DLA 2568-1] bind9 security update lists.debian.org · mailing list
- [oss-security] 20210220 BIND Operational Notification: Zone journal (.jnl) file incompatibility,after upgrading to… openwall.com · mailing list
- https://www.zerodayinitiative.com/advisories/ZDI-21-195/ zerodayinitiative.com
Source: the record CVE-2020-8625 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