CVEfocus › CVE database › CVE-2024-4076

CVE-2024-4076Assertion failure when serving both stale cache data and authoritative zone content

CVSS 7.5 HighEPSS 2.1% (higher than 82% of CVEs)Published 2024-07-23Updated 2025-02-13Assigner: isc

Client queries that trigger serving stale data and that also require lookups in local authoritative zone data may result in an assertion failure. This issue affects BIND 9 versions 9.16.13 through 9.16.50, 9.18.0 through 9.18.27, 9.19.0 through 9.19.24, 9.11.33-S1 through 9.11.37-S1, 9.16.13-S1 through 9.16.50-S1, and 9.18.11-S1 through 9.18.27-S1.

CWE-617

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.

Red Hat, Ubuntu have 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

57Fixed
9Fix pending
55Not affected

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.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 24.04bind9Fixed1:9.18.28-0ubuntu0.24.04.1UBUNTU-CVE-2024-4076
Ubuntu 24.04isc-dhcpNot affected
vulnerable_code_not_present
Ubuntu 22.04bind9Fixed1:9.18.28-0ubuntu0.22.04.1UBUNTU-CVE-2024-4076
Ubuntu 22.04bind9-libsNot affected
vulnerable_code_not_present
Ubuntu 22.04isc-dhcpNot affected
vulnerable_code_not_present
Ubuntu 20.04bind9Fixed1:9.18.28-0ubuntu0.20.04.1UBUNTU-CVE-2024-4076
Ubuntu 20.04bind9-libsFix pending
Ubuntu 20.04isc-dhcpNot affected
vulnerable_code_not_present
Debian 14bind9Fixed1:9.20.0-1DEBIAN-CVE-2024-4076
Debian 13bind9Fixed1:9.20.0-1DEBIAN-CVE-2024-4076
Debian 12bind9Fixed1:9.18.28-1~deb12u1DEBIAN-CVE-2024-4076
Red Hat Enterprise Linux 10bindFix pending
Affected
Red Hat Enterprise Linux 10bind-chrootFix pending
Affected
Red Hat Enterprise Linux 10bind-develFix pending
Affected
Red Hat Enterprise Linux 10bind-dnssec-utilsFix pending
Affected
Red Hat Enterprise Linux 10bind-docFix pending
Affected
Red Hat Enterprise Linux 10bind-libsFix pending
Affected
Red Hat Enterprise Linux 10bind-licenseFix pending
Affected
Red Hat Enterprise Linux 10bind-utilsFix pending
Affected
Red Hat Enterprise Linux 9bindFixed32:9.16.23-18.el9_4.6RHSA-2024:5231
Red Hat Enterprise Linux 9bind-chrootFixed32:9.16.23-18.el9_4.6RHSA-2024:5231
Red Hat Enterprise Linux 9bind-develFixed32:9.16.23-18.el9_4.6RHSA-2024:5231
Red Hat Enterprise Linux 9bind-dnssec-docFixed32:9.16.23-18.el9_4.6RHSA-2024:5231
Red Hat Enterprise Linux 9bind-dnssec-utilsFixed32:9.16.23-18.el9_4.6RHSA-2024:5231
Red Hat Enterprise Linux 9bind-docFixed32:9.16.23-18.el9_4.6RHSA-2024:5231
Red Hat Enterprise Linux 9bind-dyndb-ldapFixed0:11.9-10.el9_4RHSA-2024:5231
Red Hat Enterprise Linux 9bind-libsFixed32:9.16.23-18.el9_4.6RHSA-2024:5231
Red Hat Enterprise Linux 9bind-licenseFixed32:9.16.23-18.el9_4.6RHSA-2024:5231
Red Hat Enterprise Linux 9bind-utilsFixed32:9.16.23-18.el9_4.6RHSA-2024:5231
Red Hat Enterprise Linux 9bind9.18Not affected
Red Hat Enterprise Linux 9bind9.18-chrootNot affected
Red Hat Enterprise Linux 9bind9.18-develNot affected
Red Hat Enterprise Linux 9bind9.18-dnssec-utilsNot affected
Red Hat Enterprise Linux 9bind9.18-docNot affected
Red Hat Enterprise Linux 9bind9.18-libsNot affected
Red Hat Enterprise Linux 9bind9.18-utilsNot affected
Red Hat Enterprise Linux 9dhcpNot affected
Red Hat Enterprise Linux 9dhcp-clientNot affected
Red Hat Enterprise Linux 9dhcp-commonNot affected
Red Hat Enterprise Linux 9dhcp-relayNot affected
Red Hat Enterprise Linux 9dhcp-serverNot affected
Red Hat Enterprise Linux 9python3-bindFixed32:9.16.23-18.el9_4.6RHSA-2024:5231
Red Hat Enterprise Linux 8bindNot affected
Red Hat Enterprise Linux 8bind-chrootNot affected
Red Hat Enterprise Linux 8bind-develNot affected
Red Hat Enterprise Linux 8bind-export-develNot affected
Red Hat Enterprise Linux 8bind-export-libsNot affected
Red Hat Enterprise Linux 8bind-libsNot affected
Red Hat Enterprise Linux 8bind-libs-liteNot affected
Red Hat Enterprise Linux 8bind-licenseNot affected
Red Hat Enterprise Linux 8bind-lite-develNot affected
Red Hat Enterprise Linux 8bind-pkcs11Not affected
Red Hat Enterprise Linux 8bind-pkcs11-develNot affected
Red Hat Enterprise Linux 8bind-pkcs11-libsNot affected
Red Hat Enterprise Linux 8bind-pkcs11-utilsNot affected
Red Hat Enterprise Linux 8bind-sdbNot affected
Red Hat Enterprise Linux 8bind-sdb-chrootNot affected
Red Hat Enterprise Linux 8bind-utilsNot affected
Red Hat Enterprise Linux 8bind9.16Fixed32:9.16.23-0.22.el8_10RHSA-2024:5390
Red Hat Enterprise Linux 8bind9.16-chrootFixed32:9.16.23-0.22.el8_10RHSA-2024:5390
Red Hat Enterprise Linux 8bind9.16-develFixed32:9.16.23-0.22.el8_10RHSA-2024:5390
Red Hat Enterprise Linux 8bind9.16-dnssec-utilsFixed32:9.16.23-0.22.el8_10RHSA-2024:5390
Red Hat Enterprise Linux 8bind9.16-docFixed32:9.16.23-0.22.el8_10RHSA-2024:5390
Red Hat Enterprise Linux 8bind9.16-libsFixed32:9.16.23-0.22.el8_10RHSA-2024:5390
Red Hat Enterprise Linux 8bind9.16-licenseFixed32:9.16.23-0.22.el8_10RHSA-2024:5390
Red Hat Enterprise Linux 8bind9.16-utilsFixed32:9.16.23-0.22.el8_10RHSA-2024:5390
Red Hat Enterprise Linux 8python3-bindNot affected
Red Hat Enterprise Linux 8python3-bind9.16Fixed32:9.16.23-0.22.el8_10RHSA-2024:5390
Red Hat Enterprise Linux 7bindNot affected
Red Hat Enterprise Linux 7bind-chrootNot affected
Red Hat Enterprise Linux 7bind-develNot affected
Red Hat Enterprise Linux 7bind-export-develNot affected
Red Hat Enterprise Linux 7bind-export-libsNot affected
Red Hat Enterprise Linux 7bind-libsNot affected
Red Hat Enterprise Linux 7bind-libs-liteNot affected
Red Hat Enterprise Linux 7bind-licenseNot affected
Red Hat Enterprise Linux 7bind-lite-develNot affected
Red Hat Enterprise Linux 7bind-pkcs11Not affected
Red Hat Enterprise Linux 7bind-pkcs11-develNot affected
Red Hat Enterprise Linux 7bind-pkcs11-libsNot affected
Red Hat Enterprise Linux 7bind-pkcs11-utilsNot affected
Red Hat Enterprise Linux 7bind-sdbNot affected
Red Hat Enterprise Linux 7bind-sdb-chrootNot affected
Red Hat Enterprise Linux 7bind-utilsNot affected
Red Hat Enterprise Linux 6bindNot affected
Red Hat Enterprise Linux 6bind-chrootNot affected
Red Hat Enterprise Linux 6bind-develNot affected
Red Hat Enterprise Linux 6bind-libsNot affected
Red Hat Enterprise Linux 6bind-sdbNot affected
Red Hat Enterprise Linux 6bind-utilsNot affected
AlmaLinux 9bindFixed32:9.16.23-18.el9_4.6ALSA-2024:5231
AlmaLinux 9bind-chrootFixed32:9.16.23-18.el9_4.6ALSA-2024:5231
AlmaLinux 9bind-develFixed32:9.16.23-18.el9_4.6ALSA-2024:5231
AlmaLinux 9bind-dnssec-docFixed32:9.16.23-18.el9_4.6ALSA-2024:5231
AlmaLinux 9bind-dnssec-utilsFixed32:9.16.23-18.el9_4.6ALSA-2024:5231
AlmaLinux 9bind-docFixed32:9.16.23-18.el9_4.6ALSA-2024:5231
AlmaLinux 9bind-dyndb-ldapFixed11.9-10.el9_4.alma.1ALSA-2024:5231
AlmaLinux 9bind-libsFixed32:9.16.23-18.el9_4.6ALSA-2024:5231
AlmaLinux 9bind-licenseFixed32:9.16.23-18.el9_4.6ALSA-2024:5231
AlmaLinux 9bind-utilsFixed32:9.16.23-18.el9_4.6ALSA-2024:5231
AlmaLinux 9python3-bindFixed32:9.16.23-18.el9_4.6ALSA-2024:5231
AlmaLinux 8bind9.16Fixed32:9.16.23-0.22.el8_10ALSA-2024:5390
AlmaLinux 8bind9.16-chrootFixed32:9.16.23-0.22.el8_10ALSA-2024:5390
AlmaLinux 8bind9.16-develFixed32:9.16.23-0.22.el8_10ALSA-2024:5390
AlmaLinux 8bind9.16-dnssec-utilsFixed32:9.16.23-0.22.el8_10ALSA-2024:5390
AlmaLinux 8bind9.16-docFixed32:9.16.23-0.22.el8_10ALSA-2024:5390
AlmaLinux 8bind9.16-libsFixed32:9.16.23-0.22.el8_10ALSA-2024:5390
AlmaLinux 8bind9.16-licenseFixed32:9.16.23-0.22.el8_10ALSA-2024:5390
AlmaLinux 8bind9.16-utilsFixed32:9.16.23-0.22.el8_10ALSA-2024:5390
AlmaLinux 8python3-bind9.16Fixed32:9.16.23-0.22.el8_10ALSA-2024:5390
Rocky Linux 9bindFixed2:9.16.23-18.el9_4.6RLSA-2024:5231
Rocky Linux 9bind-dyndb-ldapFixed0:11.9-10.el9_4RLSA-2024:5231
Rocky Linux 8bind9.16Fixed2:9.16.23-0.22.el8_10RLSA-2024:5390
Alpine Linux 3.24bindFixed9.18.28-r0ALPINE-CVE-2024-4076
Alpine Linux 3.23bindFixed9.18.28-r0ALPINE-CVE-2024-4076
Alpine Linux 3.22bindFixed9.18.28-r0ALPINE-CVE-2024-4076
Alpine Linux 3.21bindFixed9.18.28-r0ALPINE-CVE-2024-4076
Alpine Linux 3.20bindFixed9.18.31-r0ALPINE-CVE-2024-4076
Alpine Linux 3.19bindFixed9.18.31-r0ALPINE-CVE-2024-4076
Alpine Linux 3.18bindFixed9.18.31-r0ALPINE-CVE-2024-4076
Alpine Linux 3.17bindFixed9.18.31-r0ALPINE-CVE-2024-4076

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.

Solution: Upgrade to the patched release most closely related to your current version of BIND 9: 9.18.28, 9.20.0, or 9.18.28-S1.

Workaround: Disabling serve-stale answers mitigates this issue.

Vendor advisories:

References

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.