CVE-2020-8617
A logic error in code which checks TSIG validity can be used to trigger an assertion failure in tsig.c
Check your servers for CVE-2020-8617
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-8617 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
Using a specially-crafted message, an attacker may potentially cause a BIND server to reach an inconsistent state if the attacker knows (or successfully guesses) the name of a TSIG key used by the server. Since BIND, by default, configures a local session key even on servers whose configuration does not otherwise make use of it, almost all current BIND servers are vulnerable. In releases of BIND dating from March 2018 and after, an assertion check in tsig.c detects this inconsistent state and deliberately exits. Prior to the introduction of the check the server would continue operating in an inconsistent state, with potentially harmful results.
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 93.3%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 99.8% of all scored CVEs. Scores of 30 Nov 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| BIND9 |
affected 9.0.0 -> 9.11.18, 9.12.0 -> 9.12.4-P2, 9.14.0 -> 9.14.11, 9.16.0 -> 9.16.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-8617 /usr/share/doc/*/changelog.Debian.gz
# Ubuntu
pro fix CVE-2020-8617RHEL, Rocky, Alma, Fedora
rpm -q bind9
# lists the advisory while the fix is not installed
dnf updateinfo list --cve CVE-2020-8617Alpine
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-8617
trivy image --scanners vuln IMAGE | grep CVE-2020-8617
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/docs/cve-2020-8617 kb.isc.org
- DSA-4689 debian.org · vendor advisory
- https://security.netapp.com/advisory/ntap-20200522-0002/ security.netapp.com
- USN-4365-2 usn.ubuntu.com · vendor advisory
- USN-4365-1 usn.ubuntu.com · vendor advisory
- FEDORA-2020-2d89cbcfd9 lists.fedoraproject.org · vendor advisory
- FEDORA-2020-f9dcd4e9d5 lists.fedoraproject.org · vendor advisory
- openSUSE-SU-2020:1699 lists.opensuse.org · vendor advisory
- openSUSE-SU-2020:1701 lists.opensuse.org · vendor advisory
Other references
- [oss-security] 20200519 Two vulnerabilities disclosed in BIND (CVE-2020-8616 and CVE-2020-8617) openwall.com · mailing list
- http://packetstormsecurity.com/files/157836/BIND-TSIG-Denial-Of-Service.html packetstormsecurity.com
- [debian-lts-announce] 20200530 [SECURITY] [DLA 2227-1] bind9 security update lists.debian.org · mailing list
Source: the record CVE-2020-8617 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