CVE-2023-5679Enabling both DNS64 and serve-stale may cause an assertion failure during recursive…
A bad interaction between DNS64 and serve-stale may cause `named` to crash with an assertion failure during recursive resolution, when both of these features are enabled. This issue affects BIND 9 versions 9.16.12 through 9.16.45, 9.18.0 through 9.18.21, 9.19.0 through 9.19.19, 9.16.12-S1 through 9.16.45-S1, and 9.18.11-S1 through 9.18.21-S1.
What to do
Fixed builds are available from AlmaLinux, Alpine, Debian, Red Hat, Rocky Linux, Ubuntu: see the table below for the fixed version per release.
Ubuntu has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 24.04 | isc-dhcp | Not affected vulnerable_code_not_present | ||
| Ubuntu 22.04 | bind9 | Fixed | 1:9.18.18-0ubuntu0.22.04.2 | UBUNTU-CVE-2023-5679 |
| Ubuntu 22.04 | bind9-libs | Not affected vulnerable_code_not_present | ||
| Ubuntu 22.04 | isc-dhcp | Not affected vulnerable_code_not_present | ||
| Ubuntu 20.04 | bind9-libs | Not affected vulnerable_code_not_present | ||
| Ubuntu 20.04 | isc-dhcp | Not affected vulnerable_code_not_present | ||
| Ubuntu 18.04 | isc-dhcp | Not affected vulnerable_code_not_present | ||
| Ubuntu 16.04 | bind9 | Fix pending | ||
| Ubuntu 16.04 | isc-dhcp | Not affected vulnerable_code_not_present | ||
| Debian 14 | bind9 | Fixed | 1:9.19.21-1 | DEBIAN-CVE-2023-5679 |
| Debian 13 | bind9 | Fixed | 1:9.19.21-1 | DEBIAN-CVE-2023-5679 |
| Debian 12 | bind9 | Fixed | 1:9.18.24-1 | DEBIAN-CVE-2023-5679 |
| Red Hat Enterprise Linux 9 | bind | Fixed | 32:9.16.23-14.el9_3.4 | RHSA-2024:2551 |
| Red Hat Enterprise Linux 9 | bind-chroot | Fixed | 32:9.16.23-18.el9_4.1 | RHSA-2024:1789 |
| Red Hat Enterprise Linux 9 | bind-devel | Fixed | 32:9.16.23-14.el9_3.4 | RHSA-2024:2551 |
| Red Hat Enterprise Linux 9 | bind-dnssec-doc | Fixed | 32:9.16.23-18.el9_4.1 | RHSA-2024:1789 |
| Red Hat Enterprise Linux 9 | bind-dnssec-utils | Fixed | 32:9.16.23-14.el9_3.4 | RHSA-2024:2551 |
| Red Hat Enterprise Linux 9 | bind-doc | Fixed | 32:9.16.23-18.el9_4.1 | RHSA-2024:1789 |
| Red Hat Enterprise Linux 9 | bind-dyndb-ldap | Fixed | 0:11.9-8.el9_3.3 | RHSA-2024:2551 |
| Red Hat Enterprise Linux 9 | bind-libs | Fixed | 32:9.16.23-18.el9_4.1 | RHSA-2024:1789 |
| Red Hat Enterprise Linux 9 | bind-license | Fixed | 32:9.16.23-18.el9_4.1 | RHSA-2024:1789 |
| Red Hat Enterprise Linux 9 | bind-utils | Fixed | 32:9.16.23-14.el9_3.4 | RHSA-2024:2551 |
| Red Hat Enterprise Linux 9 | dhcp | Not affected | ||
| Red Hat Enterprise Linux 9 | dhcp-client | Not affected | ||
| Red Hat Enterprise Linux 9 | dhcp-common | Not affected | ||
| Red Hat Enterprise Linux 9 | dhcp-relay | Not affected | ||
| Red Hat Enterprise Linux 9 | dhcp-server | Not affected | ||
| Red Hat Enterprise Linux 9 | python3-bind | Fixed | 32:9.16.23-14.el9_3.4 | RHSA-2024:2551 |
| Red Hat Enterprise Linux 8 | bind | Not affected | ||
| Red Hat Enterprise Linux 8 | bind-chroot | Not affected | ||
| Red Hat Enterprise Linux 8 | bind-devel | Not affected | ||
| Red Hat Enterprise Linux 8 | bind-export-devel | Not affected | ||
| Red Hat Enterprise Linux 8 | bind-export-libs | Not affected | ||
| Red Hat Enterprise Linux 8 | bind-libs | Not affected | ||
| Red Hat Enterprise Linux 8 | bind-libs-lite | Not affected | ||
| Red Hat Enterprise Linux 8 | bind-license | Not affected | ||
| Red Hat Enterprise Linux 8 | bind-lite-devel | Not affected | ||
| Red Hat Enterprise Linux 8 | bind-pkcs11 | Not affected | ||
| Red Hat Enterprise Linux 8 | bind-pkcs11-devel | Not affected | ||
| Red Hat Enterprise Linux 8 | bind-pkcs11-libs | Not affected | ||
| Red Hat Enterprise Linux 8 | bind-pkcs11-utils | Not affected | ||
| Red Hat Enterprise Linux 8 | bind-sdb | Not affected | ||
| Red Hat Enterprise Linux 8 | bind-sdb-chroot | Not affected | ||
| Red Hat Enterprise Linux 8 | bind-utils | Not affected | ||
| Red Hat Enterprise Linux 8 | bind9.16 | Fixed | 32:9.16.23-0.16.el8_9.2 | RHSA-2024:1781 |
| Red Hat Enterprise Linux 8 | bind9.16-chroot | Fixed | 32:9.16.23-0.16.el8_9.2 | RHSA-2024:1781 |
| Red Hat Enterprise Linux 8 | bind9.16-devel | Fixed | 32:9.16.23-0.16.el8_9.2 | RHSA-2024:1781 |
| Red Hat Enterprise Linux 8 | bind9.16-dnssec-utils | Fixed | 32:9.16.23-0.16.el8_9.2 | RHSA-2024:1781 |
| Red Hat Enterprise Linux 8 | bind9.16-doc | Fixed | 32:9.16.23-0.16.el8_9.2 | RHSA-2024:1781 |
| Red Hat Enterprise Linux 8 | bind9.16-libs | Fixed | 32:9.16.23-0.16.el8_9.2 | RHSA-2024:1781 |
| Red Hat Enterprise Linux 8 | bind9.16-license | Fixed | 32:9.16.23-0.16.el8_9.2 | RHSA-2024:1781 |
| Red Hat Enterprise Linux 8 | bind9.16-utils | Fixed | 32:9.16.23-0.16.el8_9.2 | RHSA-2024:1781 |
| Red Hat Enterprise Linux 8 | python3-bind | Not affected | ||
| Red Hat Enterprise Linux 8 | python3-bind9.16 | Fixed | 32:9.16.23-0.16.el8_9.2 | RHSA-2024:1781 |
| Red Hat Enterprise Linux 7 | bind | Not affected | ||
| Red Hat Enterprise Linux 7 | bind-chroot | Not affected | ||
| Red Hat Enterprise Linux 7 | bind-devel | Not affected | ||
| Red Hat Enterprise Linux 7 | bind-export-devel | Not affected | ||
| Red Hat Enterprise Linux 7 | bind-export-libs | Not affected | ||
| Red Hat Enterprise Linux 7 | bind-libs | Not affected | ||
| Red Hat Enterprise Linux 7 | bind-libs-lite | Not affected | ||
| Red Hat Enterprise Linux 7 | bind-license | Not affected | ||
| Red Hat Enterprise Linux 7 | bind-lite-devel | Not affected | ||
| Red Hat Enterprise Linux 7 | bind-pkcs11 | Not affected | ||
| Red Hat Enterprise Linux 7 | bind-pkcs11-devel | Not affected | ||
| Red Hat Enterprise Linux 7 | bind-pkcs11-libs | Not affected | ||
| Red Hat Enterprise Linux 7 | bind-pkcs11-utils | Not affected | ||
| Red Hat Enterprise Linux 7 | bind-sdb | Not affected | ||
| Red Hat Enterprise Linux 7 | bind-sdb-chroot | Not affected | ||
| Red Hat Enterprise Linux 7 | bind-utils | Not affected | ||
| Red Hat Enterprise Linux 6 | bind | Not affected | ||
| Red Hat Enterprise Linux 6 | bind-chroot | Not affected | ||
| Red Hat Enterprise Linux 6 | bind-devel | Not affected | ||
| Red Hat Enterprise Linux 6 | bind-libs | Not affected | ||
| Red Hat Enterprise Linux 6 | bind-sdb | Not affected | ||
| Red Hat Enterprise Linux 6 | bind-utils | Not affected | ||
| AlmaLinux 9 | bind | Fixed | 32:9.16.23-14.el9_3.4 | ALSA-2024:2551 |
| AlmaLinux 9 | bind-chroot | Fixed | 32:9.16.23-14.el9_3.4 | ALSA-2024:2551 |
| AlmaLinux 9 | bind-devel | Fixed | 32:9.16.23-14.el9_3.4 | ALSA-2024:2551 |
| AlmaLinux 9 | bind-dnssec-doc | Fixed | 32:9.16.23-14.el9_3.4 | ALSA-2024:2551 |
| AlmaLinux 9 | bind-dnssec-utils | Fixed | 32:9.16.23-18.el9_4.1 | ALSA-2024:1789 |
| AlmaLinux 9 | bind-doc | Fixed | 32:9.16.23-14.el9_3.4 | ALSA-2024:2551 |
| AlmaLinux 9 | bind-dyndb-ldap | Fixed | 11.9-9.el9_4.alma.1 | ALSA-2024:1789 |
| AlmaLinux 9 | bind-libs | Fixed | 32:9.16.23-14.el9_3.4 | ALSA-2024:2551 |
| AlmaLinux 9 | bind-license | Fixed | 32:9.16.23-14.el9_3.4 | ALSA-2024:2551 |
| AlmaLinux 9 | bind-utils | Fixed | 32:9.16.23-18.el9_4.1 | ALSA-2024:1789 |
| AlmaLinux 9 | python3-bind | Fixed | 32:9.16.23-18.el9_4.1 | ALSA-2024:1789 |
| AlmaLinux 8 | bind9.16 | Fixed | 32:9.16.23-0.16.el8_9.2.alma.1 | ALSA-2024:1781 |
| AlmaLinux 8 | bind9.16-chroot | Fixed | 32:9.16.23-0.16.el8_9.2.alma.1 | ALSA-2024:1781 |
| AlmaLinux 8 | bind9.16-devel | Fixed | 32:9.16.23-0.16.el8_9.2.alma.1 | ALSA-2024:1781 |
| AlmaLinux 8 | bind9.16-dnssec-utils | Fixed | 32:9.16.23-0.16.el8_9.2.alma.1 | ALSA-2024:1781 |
| AlmaLinux 8 | bind9.16-doc | Fixed | 32:9.16.23-0.16.el8_9.2.alma.1 | ALSA-2024:1781 |
| AlmaLinux 8 | bind9.16-libs | Fixed | 32:9.16.23-0.16.el8_9.2.alma.1 | ALSA-2024:1781 |
| AlmaLinux 8 | bind9.16-license | Fixed | 32:9.16.23-0.16.el8_9.2.alma.1 | ALSA-2024:1781 |
| AlmaLinux 8 | bind9.16-utils | Fixed | 32:9.16.23-0.16.el8_9.2.alma.1 | ALSA-2024:1781 |
| AlmaLinux 8 | python3-bind9.16 | Fixed | 32:9.16.23-0.16.el8_9.2.alma.1 | ALSA-2024:1781 |
| Rocky Linux 9 | bind | Fixed | 2:9.16.23-18.el9_4.1 | RLSA-2024:2551 |
| Rocky Linux 9 | bind-dyndb-ldap | Fixed | 0:11.9-9.el9_4 | RLSA-2024:2551 |
| Rocky Linux 8 | bind9.16 | Fixed | 2:9.16.23-0.16.el8_9.2 | RLSA-2024:1781 |
| Alpine Linux 3.24 | bind | Fixed | 9.18.24-r0 | ALPINE-CVE-2023-5679 |
| Alpine Linux 3.23 | bind | Fixed | 9.18.24-r0 | ALPINE-CVE-2023-5679 |
| Alpine Linux 3.22 | bind | Fixed | 9.18.24-r0 | ALPINE-CVE-2023-5679 |
| Alpine Linux 3.21 | bind | Fixed | 9.18.24-r0 | ALPINE-CVE-2023-5679 |
| Alpine Linux 3.20 | bind | Fixed | 9.18.24-r0 | ALPINE-CVE-2023-5679 |
| Alpine Linux 3.19 | bind | Fixed | 9.18.24-r0 | ALPINE-CVE-2023-5679 |
| Alpine Linux 3.18 | bind | Fixed | 9.18.24-r0 | ALPINE-CVE-2023-5679 |
| Alpine Linux 3.17 | bind | Fixed | 9.18.24-r0 | ALPINE-CVE-2023-5679 |
| Alpine Linux 3.16 | bind | Fixed | 9.16.48-r0 | ALPINE-CVE-2023-5679 |
What the vendor says
As published in the CVE record by isc, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- ISC BIND 9: affected: 9.16.12 to 9.16.45, 9.18.0 to 9.18.21, 9.19.0 to 9.19.19, 9.16.12-S1 to 9.16.45-S1, 9.18.11-S1 to 9.18.21-S1
Solution: Upgrade to the patched release most closely related to your current version of BIND 9: 9.16.48, 9.18.24, 9.19.21, 9.16.48-S1, or 9.18.24-S1.
Workaround: Disabling serve-stale (with `stale-cache-enable no;` and `stale-answer-enable no;`) and/or disabling `dns64` makes the faulty code path impossible to reach, preventing this flaw from being exploitable.
Vendor advisories:
- https://kb.isc.org/docs/cve-2023-5679 (vendor-advisory)
References
- https://kb.isc.org/docs/cve-2023-5679
- http://www.openwall.com/lists/oss-security/2024/02/13/1
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/PNNHZSZPG2E7NBMBNYPGHCFI4V4XRWNQ/
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/RGS7JN6FZXUSTC2XKQHH27574XOULYYJ/
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/HVRDSJVZKMCXKKPP6PNR62T7RWZ3YSDZ/
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ZDZFMEKQTZ4L7RY46FCENWFB5MDT263R/
- https://security.netapp.com/advisory/ntap-20240426-0002/
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.