CVE-2020-8625: ISC BIND TKEY Query Heap-based Buffer Overflow Remote Code Execution Vulnerability

Published Feb 17, 2021
·
Updated

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

Other sources

ISC BIND is vulnerable to a buffer overflow, caused by improper bounds checking by the SPNEGO implementation. By setting valid values for the tkey-gssapi-keytab or tkey-gssapi-credentialconfiguration options, a remote attacker could overflow a buffer and execute arbitrary code on the system or cause the named process to crash.

— IBM

This vulnerability allows remote attackers to execute arbitrary code on affected installations of ISC BIND. Authentication is not required to exploit this vulnerability. The specific flaw exists within the handling of TKEY queries. The issue results from the lack of proper validation of the length of user-supplied data prior to copying it to a heap-based buffer. An attacker can leverage this vulnerability to execute code in the context of the "bind" user.

Affected Software

50 affected componentsFixes available
debian/bind9
1:9.11.5.P4+dfsg-5.1+deb10u71:9.11.5.P4+dfsg-5.1+deb10u91:9.16.44-1~deb11u11:9.18.19-1~deb12u11:9.19.17-1
debian/bind9<=1:9.11.5.P4+dfsg-5.1+deb10u2, <=1:9.11.5.P4+dfsg-5.1, <=1:9.16.11-2
1:9.11.5.P4+dfsg-5.1+deb10u31:9.16.12-1
IBM Cloud Pak for Security (CP4S)<=1.7.2.0
IBM Cloud Pak for Security (CP4S)<=1.7.1.0
IBM Cloud Pak for Security (CP4S)<=1.7.0.0
ISC BIND>=9.5.0<=9.11.27
ISC BIND>=9.12.0<=9.16.11
ISC BIND=9.11.3-s1
ISC BIND=9.11.5-s3
ISC BIND=9.11.5-s5
ISC BIND=9.11.6-s1
ISC BIND=9.11.7-s1
ISC BIND=9.11.8-s1
ISC BIND=9.11.21-s1
ISC BIND=9.11.27-s1
ISC BIND=9.16.8-s1
ISC BIND=9.16.11-s1
ISC BIND=9.17.0
ISC BIND=9.17.1
Debian Debian Linux=9.0
Debian Debian Linux=10.0
Fedoraproject Fedora=32
Fedoraproject Fedora=33
Fedoraproject Fedora=34
Siemens Sinec Infrastructure Network Services<1.0.1.1
NetApp Cloud Backup
NetApp A250 Firmware
NetApp A250
NetApp 500f Firmware
NetApp 500f
All of the following
NetApp A250 Firmware
NetApp A250
All of the following
NetApp 500f Firmware
NetApp 500f
ISC BIND
alpine/bind>=9.12.0<9.16.11-r2
9.16.11-r2
alpine/bind>=9.12.0<9.16.11-r2
9.16.11-r2
alpine/bind>=9.12.0<9.16.11-r2
9.16.11-r2
alpine/bind>=9.12.0<9.16.11-r2
9.16.11-r2
alpine/bind>=9.12.0<9.16.11-r2
9.16.11-r2
alpine/bind>=9.12.0<9.16.11-r2
9.16.11-r2
alpine/bind>=9.12.0<9.16.11-r2
9.16.11-r2
alpine/bind>=9.12.0<9.16.11-r2
9.16.11-r2
alpine/bind>=9.12.0<9.16.11-r2
9.16.11-r2
alpine/bind>=9.12.0<9.16.11-r2
9.16.11-r2
alpine/bind>=9.12.0<9.16.11-r2
9.16.11-r2
alpine/bind>=9.12.0<9.16.11-r2
9.16.11-r2
alpine/bind>=9.12.0<9.16.11-r2
9.16.11-r2
alpine/bind>=9.12.0<9.16.11-r2
9.16.11-r2
alpine/bind>=9.12.0<9.16.11-r2
9.16.11-r2

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade debian/bind9 to a version that resolves this vulnerability.

    Fixed in 1:9.11.5.P4+dfsg-5.1+deb10u7Fixed in 1:9.11.5.P4+dfsg-5.1+deb10u9Fixed in 1:9.16.44-1~deb11u1Fixed in 1:9.18.19-1~deb12u1Fixed in 1:9.19.17-1
  2. Upgrade

    Upgrade debian/bind9 to a version that resolves this vulnerability.

    Fixed in 1:9.11.5.P4+dfsg-5.1+deb10u3Fixed in 1:9.16.12-1
  3. Upgrade

    Upgrade alpine/bind to a version that resolves this vulnerability.

    Fixed in 9.16.11-r2
  4. Upgrade

    Upgrade ISC BIND to a version that resolves this vulnerability.

    Fixed in 9.11.28
  5. Upgrade

    Upgrade ISC BIND Supported Preview Edition to a version that resolves this vulnerability.

    Fixed in 9.11.28-S1
  6. Upgrade

    Upgrade ISC BIND to a version that resolves this vulnerability.

    Fixed in 9.16.12
  7. Upgrade

    Upgrade ISC BIND Supported Preview Edition to a version that resolves this vulnerability.

    Fixed in 9.16.12-S1

Event History

Feb 17, 2021
CVE Published
via MITRE·10:40 PM
Data Sourced
via MITRE·10:40 PM
RemedyDescriptionSeverityWeakness
Data Sourced
via NVD·11:15 PM
RemedyDescriptionSeverityWeaknessAffected Software
Data Sourced
via OSV·11:15 PM
DescriptionSeverityAffected Software
Feb 24, 2021
Advisory Published
via ZDI·12:00 AM
Data Sourced
via ZDI·12:00 AM
DescriptionSeverityAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Frequently Asked Questions

1

What is CVE-2020-8625?

CVE-2020-8625 is a vulnerability in ISC BIND that allows for remote code execution due to a heap-based buffer overflow in TKEY query processing.

2

Which servers are vulnerable to CVE-2020-8625?

BIND servers running affected versions and configured to use GSS-TSIG features are vulnerable.

3

How severe is CVE-2020-8625?

CVE-2020-8625 has a severity rating of 8.1 (High).

4

How can I fix CVE-2020-8625?

To fix CVE-2020-8625, update to a patched version of ISC BIND or apply the recommended security updates for your specific software or platform.

5

Where can I find more information about CVE-2020-8625?

You can find more information about CVE-2020-8625 in the references provided: [reference 1](http://www.openwall.com/lists/oss-security/2021/02/19/1), [reference 2](http://www.openwall.com/lists/oss-security/2021/02/20/2), [reference 3](https://cert-portal.siemens.com/productcert/pdf/ssa-389290.pdf).

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203