CVE-2021-25216
A second vulnerability in BIND's GSSAPI security policy negotiation can be targeted by a buffer overflow attack
At a glance
- Source
- NVD
- EPSS
- EPSS 82.99 % · percentile 100 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- isc
- NVD status
- Modified
Description
In BIND 9.5.0 -> 9.11.29, 9.12.0 -> 9.16.13, and versions BIND 9.11.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.1 of the BIND 9.17 development branch, 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 values for the tkey-gssapi-keytab or tkey-gssapi-credential configuration 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. For servers that meet these conditions, the ISC SPNEGO implementation is vulnerable to various attacks, depending on the CPU architecture for which BIND was built: For named binaries compiled for 64-bit platforms, this flaw can be used to trigger a buffer over-read, leading to a server crash. For named binaries compiled for 32-bit platforms, this flaw can be used to trigger a server crash due to a buffer overflow and possibly also to achieve remote code execution. We have determined that standard SPNEGO implementations are available in the MIT and Heimdal Kerberos libraries, which support a broad range of operating systems, rendering the ISC implementation unnecessary and obsolete. Therefore, to reduce the attack surface for BIND users, we will be removing the ISC SPNEGO implementation in the April releases of BIND 9.11 and 9.16 (it had already been dropped from BIND 9.17). We would not normally remove something from a stable ESV (Extended Support Version) of BIND, but since system libraries can replace the ISC SPNEGO implementation, we have made an exception in this case for reasons of stability and security.
Weaknesses (CWE)
- CWE-125 — Out-of-bounds Read
References
- https://kb.isc.org/v1/docs/cve-2021-25215
- http://www.openwall.com/lists/oss-security/2021/04/29/1
- http://www.openwall.com/lists/oss-security/2021/04/29/2
- http://www.openwall.com/lists/oss-security/2021/04/29/3
- http://www.openwall.com/lists/oss-security/2021/04/29/4
- https://www.debian.org/security/2021/dsa-4909
- https://lists.debian.org/debian-lts-announce/2021/05/msg00001.html
- https://security.netapp.com/advisory/ntap-20210521-0006/
- https://www.zerodayinitiative.com/advisories/ZDI-21-657/
- https://cert-portal.siemens.com/productcert/pdf/ssa-389290.pdf
Scores
| Version | Score | Vector | Scored by |
|---|---|---|---|
| CVSS 3.1 | HIGH 8.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H | isc |
| CVSS 3.1 | HIGH 8.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H | NVD · security-officer@isc.org (Secondary) |
| CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H | NVD · nvd@nist.gov (Primary) |
| CVSS 2.0 | MEDIUM 6.8 | AV:N/AC:M/Au:N/C:P/I:P/A:P | NVD · nvd@nist.gov (Primary) |
European references
- ENISA EUVD · EUVD-2021-12127
- GCVE · GCVE-0-2021-25216
CERT-FR advisories
- CERTFR-2022-AVI-339 — Vulnérabilité dans Synology DNS Server · cert.ssi.gouv.fr
- CERTFR-2022-AVI-216 — Multiples vulnérabilités dans les produits Siemens · cert.ssi.gouv.fr
- CERTFR-2021-AVI-325 — Multiples vulnérabilités dans BIND · cert.ssi.gouv.fr
Affected configurations (NVD CPE)
cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*cpe:2.3:a:isc:bind:*:*:*:*:-:*:*:*≥ 9.0.0 < 9.11.31cpe:2.3:a:isc:bind:*:*:*:*:-:*:*:*≥ 9.12.0 < 9.16.15cpe:2.3:a:isc:bind:*:*:*:*:-:*:*:*≥ 9.17.0 < 9.17.12cpe:2.3:a:isc:bind:9.9.3:s1:*:*:supported_preview:*:*:*cpe:2.3:a:isc:bind:9.9.12:s1:*:*:supported_preview:*:*:*cpe:2.3:a:isc:bind:9.9.13:s1:*:*:supported_preview:*:*:*cpe:2.3:a:isc:bind:9.10.5:s1:*:*:supported_preview:*:*:*cpe:2.3:a:isc:bind:9.10.7:s1:*:*:supported_preview:*:*:*cpe:2.3:a:isc:bind:9.11.3:s1:*:*:supported_preview:*:*:*cpe:2.3:a:isc:bind:9.11.5:s3:*:*:supported_preview:*:*:*cpe:2.3:a:isc:bind:9.11.5:s5:*:*:supported_preview:*:*:*cpe:2.3:a:isc:bind:9.11.5:s6:*:*:supported_preview:*:*:*cpe:2.3:a:isc:bind:9.11.6:s1:*:*:supported_preview:*:*:*cpe:2.3:a:isc:bind:9.11.7:s1:*:*:supported_preview:*:*:*cpe:2.3:a:isc:bind:9.11.8:s1:*:*:supported_preview:*:*:*cpe:2.3:a:isc:bind:9.11.12:s1:*:*:supported_preview:*:*:*cpe:2.3:a:isc:bind:9.11.21:s1:*:*:supported_preview:*:*:*cpe:2.3:a:isc:bind:9.11.27:s1:*:*:supported_preview:*:*:*cpe:2.3:a:isc:bind:9.11.29:s1:*:*:supported_preview:*:*:*cpe:2.3:a:isc:bind:9.16.8:s1:*:*:supported_preview:*:*:*cpe:2.3:a:isc:bind:9.16.11:s1:*:*:supported_preview:*:*:*cpe:2.3:a:isc:bind:9.16.13:s1:*:*:supported_preview:*:*:*cpe:2.3:a:siemens:sinec_infrastructure_network_services:*:*:*:*:*:*:*:*< 1.0.1.1cpe:2.3:a:netapp:active_iq_unified_manager:-:*:*:*:*:vsphere:*:*cpe:2.3:a:netapp:cloud_backup:-:*:*:*:*:*:*:*cpe:2.3:o:netapp:aff_a250_firmware:-:*:*:*:*:*:*:*cpe:2.3:o:netapp:aff_500f_firmware:-:*:*:*:*:*:*:*cpe:2.3:o:netapp:h300s_firmware:-:*:*:*:*:*:*:*cpe:2.3:o:netapp:h500s_firmware:-:*:*:*:*:*:*:*cpe:2.3:o:netapp:h700s_firmware:-:*:*:*:*:*:*:*cpe:2.3:o:netapp:h300e_firmware:-:*:*:*:*:*:*:*cpe:2.3:o:netapp:h500e_firmware:-:*:*:*:*:*:*:*cpe:2.3:o:netapp:h700e_firmware:-:*:*:*:*:*:*:*cpe:2.3:o:netapp:h410s_firmware:-:*:*:*:*:*:*:*
Affected products
| Product | Versions |
|---|---|
| ISC · BIND9 | affected Open Source Branches 9.5 though 9.11 9.5.0 through versions before 9.11.31 ; affected Open Source Branches 9.12 though 9.16 9.12.0 through versions before 9.16.14 ; affected Supported Preview Branch 9.11-S 9.11.3-S1 through versions before 9.11.31-S1 ; 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 versions before 9.17.2 |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| CERT-FR (ANSSI) | Licence Ouverte / Etalab 2.0 |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |