Skip to content
OpenAdvisories
High · 7.5 Public exploit CVE-2020-8617 EUVD-2020-29465GHSA-q6g5-8p95-hqh7

A logic error in code which checks TSIG validity can be used to trigger an assertion failure in tsig.c

Published May 19, 2020 · Updated Sep 16, 2024 · Assigned by isc

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.

Affected products

VendorProductAffectedFixed
ISC BIND9 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, and releases 9.17.0 -> 9.17.1 of the 9.17 experimental development branch. All releases in the obsolete 9.13 and 9.15 development branches. All releases of BIND Supported Preview Edition from 9.9.3-S1 -> 9.11.18-S1 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 bind9 1:9.16.3-1 —
Debian 13 bind9 1:9.16.3-1 —
Debian 12 bind9 1:9.16.3-1 —
Debian 10 bind9 1:9.11.5.P4+dfsg-5.1+deb10u1 DSA-4689-1
Debian 9 bind9 1:9.10.3.dfsg.P4-12.3+deb9u6 DSA-4689-1
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Debian 8 bind9 1:9.9.5.dfsg-9+deb8u19 DLA-2227-1
ReleasePackageFixed inAdvisory
Ubuntu 20.04 LTS bind9 1:9.16.1-0ubuntu2.1 USN-4365-1
Ubuntu 18.04 LTS bind9 1:9.11.3+dfsg-1ubuntu1.12 USN-4365-1
Ubuntu 16.04 LTS bind9 1:9.10.3.dfsg.P4-8ubuntu1.16 USN-4365-1
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 14.04 LTS bind9 1:9.9.5.dfsg-3ubuntu0.19+esm2 USN-4365-2
ReleasePackageFixed inAdvisory
RHEL 8 bind +16 32:9.11.13-5.el8_2 RHSA-2020:2338
RHEL 7 bind +15 32:9.11.4-16.P2.el7_8.6 RHSA-2020:2344
RHEL 6 bind +5 32:9.8.2-0.68.rc1.el6_10.7 RHSA-2020:2383
Show 13 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
RHEL 8.1 EUS bind +16 32:9.11.4-26.P2.el8_1.3 RHSA-2020:2345
RHEL 8.0 E4S bind +16 32:9.11.4-19.P2.el8_0 RHSA-2020:2404
RHEL 7.7 EUS bind +15 32:9.11.4-9.P2.el7_7.1 RHSA-2020:2893
RHEL 7.6 EUS bind +13 32:9.9.4-74.el7_6.4 RHSA-2020:3475
RHEL 7.4 TUS bind +13 32:9.9.4-51.el7_4.4 RHSA-2020:3433
RHEL 7.4 E4S bind +13 32:9.9.4-51.el7_4.4 RHSA-2020:3433
RHEL 7.4 AUS bind +13 32:9.9.4-51.el7_4.4 RHSA-2020:3433
RHEL 7.3 TUS bind +13 32:9.9.4-50.el7_3.4 RHSA-2020:3470
RHEL 7.3 E4S bind +13 32:9.9.4-50.el7_3.4 RHSA-2020:3470
RHEL 7.3 AUS bind +13 32:9.9.4-50.el7_3.4 RHSA-2020:3470
RHEL 7.2 AUS bind +13 32:9.9.4-29.el7_2.9 RHSA-2020:3471
RHEL 6.6 AUS bind +5 32:9.8.2-0.30.rc1.el6_6.11 RHSA-2020:3378
RHEL 6.5 AUS bind +5 32:9.8.2-0.23.rc1.el6_5.9 RHSA-2020:3379
ReleasePackageFixed inAdvisory
SLES 15 SP2 bind 9.16.6-12.32.1 SUSE-SU-2020:2914-1
SLES 15 SP2 sysuser-tools 2.0-4.2.8 SUSE-SU-2020:2914-1
SLES 15 SP1 bind 9.16.6-12.32.1 SUSE-SU-2020:2914-1
SLES 15 SP1 sysuser-tools 2.0-4.2.8 SUSE-SU-2020:2914-1
SLES 15 bind 9.16.6-12.32.1 SUSE-SU-2020:2914-1
SLES 15 sysuser-tools 2.0-4.2.8 SUSE-SU-2020:2914-1
SLES 12 SP5 bind 9.11.2-3.17.1 SUSE-SU-2020:1350-1
SLES 12 SP4 bind 9.11.2-3.17.1 SUSE-SU-2020:1350-1
Show 15 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES 12 SP3 bind 9.9.9P1-63.17.1 SUSE-SU-2020:1914-1
SLES 12 SP2 bind 9.9.9P1-63.17.1 SUSE-SU-2020:1914-1
SLES 11 SP4 bind 9.9.6P1-0.51.20.1 SUSE-SU-2020:14400-1
SLES for SAP 15 bind 9.16.6-12.32.1 SUSE-SU-2020:2914-1
SLES for SAP 15 sysuser-tools 2.0-4.2.8 SUSE-SU-2020:2914-1
SLES for SAP 12 SP5 bind 9.11.2-3.17.1 SUSE-SU-2020:1350-1
SLES for SAP 12 SP4 bind 9.11.2-3.17.1 SUSE-SU-2020:1350-1
SLES for SAP 12 SP3 bind 9.9.9P1-63.17.1 SUSE-SU-2020:1914-1
SLES for SAP 12 SP2 bind 9.9.9P1-63.17.1 SUSE-SU-2020:1914-1
SLE HPC 15 bind 9.16.6-12.32.1 SUSE-SU-2020:2914-1
SLE HPC 15 sysuser-tools 2.0-4.2.8 SUSE-SU-2020:2914-1
SUSE OpenStack Cloud Crowbar 8 bind 9.9.9P1-63.17.1 SUSE-SU-2020:1914-1
SUSE OpenStack Cloud 8 bind 9.9.9P1-63.17.1 SUSE-SU-2020:1914-1
SUSE OpenStack Cloud 7 bind 9.9.9P1-63.17.1 SUSE-SU-2020:1914-1
SUSE Linux Enterprise Point of Sale 11 SP3 bind 9.9.6P1-0.51.20.1 SUSE-SU-2020:14400-1
SUSE HPE Helion OpenStack 8 bind 9.9.9P1-63.17.1 SUSE-SU-2020:1914-1
SUSE Enterprise Storage 5 bind 9.9.9P1-63.17.1 SUSE-SU-2020:1914-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed bind 9.16.20-1.4 openSUSE-SU-2024:10650-1
openSUSE Leap 15.2 bind 9.16.6-lp152.14.3.1 openSUSE-SU-2020:1699-1
openSUSE Leap 15.2 libuv 1.18.0-lp152.4.3.1 openSUSE-SU-2020:1699-1
openSUSE Leap 15.2 sysuser-tools 2.0-lp152.5.3.1 openSUSE-SU-2020:1699-1
openSUSE Leap 15.1 bind 9.16.6-lp151.11.9.1 openSUSE-SU-2020:1701-1
openSUSE Leap 15.1 libuv 1.18.0-lp151.3.3.1 openSUSE-SU-2020:1701-1
openSUSE Leap 15.1 sysuser-tools 2.0-lp151.4.3.1 openSUSE-SU-2020:1701-1
ReleasePackageFixed inAdvisory
Alpine v3.24 bind 9.14.12-r0 —
Alpine v3.23 bind 9.14.12-r0 —
Alpine v3.22 bind 9.14.12-r0 —
Alpine v3.21 bind 9.14.12-r0 —
Alpine v3.20 bind 9.14.12-r0 —
Show 10 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Alpine v3.19 bind 9.14.12-r0 —
Alpine v3.18 bind 9.14.12-r0 —
Alpine v3.17 bind 9.14.12-r0 —
Alpine v3.16 bind 9.14.12-r0 —
Alpine v3.15 bind 9.14.12-r0 —
Alpine v3.14 bind 9.14.12-r0 —
Alpine v3.13 bind 9.14.12-r0 —
Alpine v3.12 bind 9.14.12-r0 —
Alpine v3.11 bind 9.14.12-r0 —
Alpine v3.10 bind 9.14.12-r0 —

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2 bind +15 32:9.11.4-9.P2.amzn2.0.3 ALAS2-2020-1426

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 8 bind +16 32:9.11.13-5.el8_2 ELSA-2020-2338
Oracle Linux 7 bind +15 32:9.11.4-16.P2.el7_8.6 ELSA-2020-2344

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

Metasploit 1 module

Exploit-DB 1

GitHub 2 repositories

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Advisories 27

References