CVEfocus › CVE database › CVE-2023-2828

CVE-2023-2828named's configured cache size limit can be significantly exceeded

CVSS 7.5 HighEPSS 3.7% (higher than 90% of CVEs)Published 2023-06-21Updated 2025-02-13Assigner: isc

Every `named` instance configured to run as a recursive resolver maintains a cache database holding the responses to the queries it has recently sent to authoritative servers. The size limit for that cache database can be configured using the `max-cache-size` statement in the configuration file; it defaults to 90% of the total amount of memory available on the host. When the size of the cache reaches 7/8 of the configured limit, a cache-cleaning algorithm starts to remove expired and/or least-recently used RRsets from the cache, to keep memory use below the configured limit. It has been discovered that the effectiveness of the cache-cleaning algorithm used in `named` can be severely diminished by querying the resolver for specific RRsets in a certain order, effectively allowing the configured `max-cache-size` limit to be significantly exceeded. This issue affects BIND 9 versions 9.11.0 through 9.16.41, 9.18.0 through 9.18.15, 9.19.0 through 9.19.13, 9.11.3-S1 through 9.16.41-S1, and 9.18.11-S1 through 9.18.15-S1.

What to do

Fixed builds are available from AlmaLinux, 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

96Fixed
2Fix pending
3Under investigation
3Will not fix
15Not 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 26.04isc-dhcpUnder investigationUBUNTU-CVE-2023-2828
Ubuntu 25.10isc-dhcpWill not fix
As of isc-dhcp-4.4.3-1, isc-dhcp vendors bind9 libs This is unlikely to affect isc-dhcp's use of bind9-libs and the vendored bind9 libs, marking as negligible
UBUNTU-CVE-2023-2828
Ubuntu 24.04isc-dhcpUnder investigationUBUNTU-CVE-2023-2828
Ubuntu 22.04bind9Fixed1:9.18.12-0ubuntu0.22.04.2UBUNTU-CVE-2023-2828
Ubuntu 22.04bind9-libsUnder investigationUBUNTU-CVE-2023-2828
Ubuntu 22.04isc-dhcpNot affected
vulnerable_code_not_present
Ubuntu 20.04bind9Fixed1:9.16.1-0ubuntu2.15UBUNTU-CVE-2023-2828
Ubuntu 20.04bind9-libsWill not fix
As of isc-dhcp-4.4.3-1, isc-dhcp vendors bind9 libs This is unlikely to affect isc-dhcp's use of bind9-libs and the vendored bind9 libs, marking as negligible
UBUNTU-CVE-2023-2828
Ubuntu 20.04isc-dhcpNot affected
vulnerable_code_not_present
Ubuntu 18.04bind9Fix pending1:9.11.3+dfsg-1ubuntu1.19+esm1 (Ubuntu Pro)UBUNTU-CVE-2023-2828
Ubuntu 18.04isc-dhcpNot affected
vulnerable_code_not_present
Ubuntu 16.04bind9Will not fix
As of isc-dhcp-4.4.3-1, isc-dhcp vendors bind9 libs This is unlikely to affect isc-dhcp's use of bind9-libs and the vendored bind9 libs, marking as negligible
1:9.10.3.dfsg.P4-8ubuntu1.19+esm6 (Ubuntu Pro)UBUNTU-CVE-2023-2828
Ubuntu 16.04isc-dhcpNot affected
vulnerable_code_not_present
Ubuntu 14.04bind9Fix pending1:9.9.5.dfsg-3ubuntu0.19+esm10 (Ubuntu Pro)UBUNTU-CVE-2023-2828
Debian 14bind9Fixed1:9.18.16-1DEBIAN-CVE-2023-2828
Debian 13bind9Fixed1:9.18.16-1DEBIAN-CVE-2023-2828
Debian 12bind9Fixed1:9.18.16-1~deb12u1DEBIAN-CVE-2023-2828
Red Hat Enterprise Linux 9bindFixed32:9.16.23-11.el9_2.1RHSA-2023:4099
Red Hat Enterprise Linux 9bind-chrootFixed32:9.16.23-11.el9_2.1RHSA-2023:4099
Red Hat Enterprise Linux 9bind-develFixed32:9.16.23-11.el9_2.1RHSA-2023:4099
Red Hat Enterprise Linux 9bind-dnssec-docFixed32:9.16.23-11.el9_2.1RHSA-2023:4099
Red Hat Enterprise Linux 9bind-dnssec-utilsFixed32:9.16.23-11.el9_2.1RHSA-2023:4099
Red Hat Enterprise Linux 9bind-docFixed32:9.16.23-11.el9_2.1RHSA-2023:4099
Red Hat Enterprise Linux 9bind-libsFixed32:9.16.23-11.el9_2.1RHSA-2023:4099
Red Hat Enterprise Linux 9bind-licenseFixed32:9.16.23-11.el9_2.1RHSA-2023:4099
Red Hat Enterprise Linux 9bind-utilsFixed32:9.16.23-11.el9_2.1RHSA-2023:4099
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-11.el9_2.1RHSA-2023:4099
Red Hat Enterprise Linux 8bindFixed32:9.11.36-8.el8_8.1RHSA-2023:4102
Red Hat Enterprise Linux 8bind-chrootFixed32:9.11.36-8.el8_8.1RHSA-2023:4102
Red Hat Enterprise Linux 8bind-develFixed32:9.11.36-8.el8_8.1RHSA-2023:4102
Red Hat Enterprise Linux 8bind-export-develFixed32:9.11.36-8.el8_8.1RHSA-2023:4102
Red Hat Enterprise Linux 8bind-export-libsFixed32:9.11.36-8.el8_8.1RHSA-2023:4102
Red Hat Enterprise Linux 8bind-libsFixed32:9.11.36-8.el8_8.1RHSA-2023:4102
Red Hat Enterprise Linux 8bind-libs-liteFixed32:9.11.36-8.el8_8.1RHSA-2023:4102
Red Hat Enterprise Linux 8bind-licenseFixed32:9.11.36-8.el8_8.1RHSA-2023:4102
Red Hat Enterprise Linux 8bind-lite-develFixed32:9.11.36-8.el8_8.1RHSA-2023:4102
Red Hat Enterprise Linux 8bind-pkcs11Fixed32:9.11.36-8.el8_8.1RHSA-2023:4102
Red Hat Enterprise Linux 8bind-pkcs11-develFixed32:9.11.36-8.el8_8.1RHSA-2023:4102
Red Hat Enterprise Linux 8bind-pkcs11-libsFixed32:9.11.36-8.el8_8.1RHSA-2023:4102
Red Hat Enterprise Linux 8bind-pkcs11-utilsFixed32:9.11.36-8.el8_8.1RHSA-2023:4102
Red Hat Enterprise Linux 8bind-sdbFixed32:9.11.36-8.el8_8.1RHSA-2023:4102
Red Hat Enterprise Linux 8bind-sdb-chrootFixed32:9.11.36-8.el8_8.1RHSA-2023:4102
Red Hat Enterprise Linux 8bind-utilsFixed32:9.11.36-8.el8_8.1RHSA-2023:4102
Red Hat Enterprise Linux 8bind9.16Fixed32:9.16.23-0.14.el8_8.1RHSA-2023:4100
Red Hat Enterprise Linux 8bind9.16-chrootFixed32:9.16.23-0.14.el8_8.1RHSA-2023:4100
Red Hat Enterprise Linux 8bind9.16-develFixed32:9.16.23-0.14.el8_8.1RHSA-2023:4100
Red Hat Enterprise Linux 8bind9.16-dnssec-utilsFixed32:9.16.23-0.14.el8_8.1RHSA-2023:4100
Red Hat Enterprise Linux 8bind9.16-docFixed32:9.16.23-0.14.el8_8.1RHSA-2023:4100
Red Hat Enterprise Linux 8bind9.16-libsFixed32:9.16.23-0.14.el8_8.1RHSA-2023:4100
Red Hat Enterprise Linux 8bind9.16-licenseFixed32:9.16.23-0.14.el8_8.1RHSA-2023:4100
Red Hat Enterprise Linux 8bind9.16-utilsFixed32:9.16.23-0.14.el8_8.1RHSA-2023:4100
Red Hat Enterprise Linux 8python3-bindFixed32:9.11.36-8.el8_8.1RHSA-2023:4102
Red Hat Enterprise Linux 8python3-bind9.16Fixed32:9.16.23-0.14.el8_8.1RHSA-2023:4100
Red Hat Enterprise Linux 7bindFixed32:9.11.4-26.P2.el7_9.14RHSA-2023:4152
Red Hat Enterprise Linux 7bind-chrootFixed32:9.11.4-26.P2.el7_9.14RHSA-2023:4152
Red Hat Enterprise Linux 7bind-develFixed32:9.11.4-26.P2.el7_9.14RHSA-2023:4152
Red Hat Enterprise Linux 7bind-export-develFixed32:9.11.4-26.P2.el7_9.14RHSA-2023:4152
Red Hat Enterprise Linux 7bind-export-libsFixed32:9.11.4-26.P2.el7_9.14RHSA-2023:4152
Red Hat Enterprise Linux 7bind-libsFixed32:9.11.4-26.P2.el7_9.14RHSA-2023:4152
Red Hat Enterprise Linux 7bind-libs-liteFixed32:9.11.4-26.P2.el7_9.14RHSA-2023:4152
Red Hat Enterprise Linux 7bind-licenseFixed32:9.11.4-26.P2.el7_9.14RHSA-2023:4152
Red Hat Enterprise Linux 7bind-lite-develFixed32:9.11.4-26.P2.el7_9.14RHSA-2023:4152
Red Hat Enterprise Linux 7bind-pkcs11Fixed32:9.11.4-26.P2.el7_9.14RHSA-2023:4152
Red Hat Enterprise Linux 7bind-pkcs11-develFixed32:9.11.4-26.P2.el7_9.14RHSA-2023:4152
Red Hat Enterprise Linux 7bind-pkcs11-libsFixed32:9.11.4-26.P2.el7_9.14RHSA-2023:4152
Red Hat Enterprise Linux 7bind-pkcs11-utilsFixed32:9.11.4-26.P2.el7_9.14RHSA-2023:4152
Red Hat Enterprise Linux 7bind-sdbFixed32:9.11.4-26.P2.el7_9.14RHSA-2023:4152
Red Hat Enterprise Linux 7bind-sdb-chrootFixed32:9.11.4-26.P2.el7_9.14RHSA-2023:4152
Red Hat Enterprise Linux 7bind-utilsFixed32:9.11.4-26.P2.el7_9.14RHSA-2023:4152
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-11.el9_2.1ALSA-2023:4099
AlmaLinux 9bind-chrootFixed32:9.16.23-11.el9_2.1ALSA-2023:4099
AlmaLinux 9bind-develFixed32:9.16.23-11.el9_2.1ALSA-2023:4099
AlmaLinux 9bind-dnssec-docFixed32:9.16.23-11.el9_2.1ALSA-2023:4099
AlmaLinux 9bind-dnssec-utilsFixed32:9.16.23-11.el9_2.1ALSA-2023:4099
AlmaLinux 9bind-docFixed32:9.16.23-11.el9_2.1ALSA-2023:4099
AlmaLinux 9bind-libsFixed32:9.16.23-11.el9_2.1ALSA-2023:4099
AlmaLinux 9bind-licenseFixed32:9.16.23-11.el9_2.1ALSA-2023:4099
AlmaLinux 9bind-utilsFixed32:9.16.23-11.el9_2.1ALSA-2023:4099
AlmaLinux 9python3-bindFixed32:9.16.23-11.el9_2.1ALSA-2023:4099
AlmaLinux 8bindFixed32:9.11.36-8.el8_8.1ALSA-2023:4102
AlmaLinux 8bind-chrootFixed32:9.11.36-8.el8_8.1ALSA-2023:4102
AlmaLinux 8bind-develFixed32:9.11.36-8.el8_8.1ALSA-2023:4102
AlmaLinux 8bind-export-develFixed32:9.11.36-8.el8_8.1ALSA-2023:4102
AlmaLinux 8bind-export-libsFixed32:9.11.36-8.el8_8.1ALSA-2023:4102
AlmaLinux 8bind-libsFixed32:9.11.36-8.el8_8.1ALSA-2023:4102
AlmaLinux 8bind-libs-liteFixed32:9.11.36-8.el8_8.1ALSA-2023:4102
AlmaLinux 8bind-licenseFixed32:9.11.36-8.el8_8.1ALSA-2023:4102
AlmaLinux 8bind-lite-develFixed32:9.11.36-8.el8_8.1ALSA-2023:4102
AlmaLinux 8bind-pkcs11Fixed32:9.11.36-8.el8_8.1ALSA-2023:4102
AlmaLinux 8bind-pkcs11-develFixed32:9.11.36-8.el8_8.1ALSA-2023:4102
AlmaLinux 8bind-pkcs11-libsFixed32:9.11.36-8.el8_8.1ALSA-2023:4102
AlmaLinux 8bind-pkcs11-utilsFixed32:9.11.36-8.el8_8.1ALSA-2023:4102
AlmaLinux 8bind-sdbFixed32:9.11.36-8.el8_8.1ALSA-2023:4102
AlmaLinux 8bind-sdb-chrootFixed32:9.11.36-8.el8_8.1ALSA-2023:4102
AlmaLinux 8bind-utilsFixed32:9.11.36-8.el8_8.1ALSA-2023:4102
AlmaLinux 8bind9.16Fixed32:9.16.23-0.14.el8_8.1.almaALSA-2023:4100
AlmaLinux 8bind9.16-chrootFixed32:9.16.23-0.14.el8_8.1.almaALSA-2023:4100
AlmaLinux 8bind9.16-develFixed32:9.16.23-0.14.el8_8.1.almaALSA-2023:4100
AlmaLinux 8bind9.16-dnssec-utilsFixed32:9.16.23-0.14.el8_8.1.almaALSA-2023:4100
AlmaLinux 8bind9.16-docFixed32:9.16.23-0.14.el8_8.1.almaALSA-2023:4100
AlmaLinux 8bind9.16-libsFixed32:9.16.23-0.14.el8_8.1.almaALSA-2023:4100
AlmaLinux 8bind9.16-licenseFixed32:9.16.23-0.14.el8_8.1.almaALSA-2023:4100
AlmaLinux 8bind9.16-utilsFixed32:9.16.23-0.14.el8_8.1.almaALSA-2023:4100
AlmaLinux 8python3-bindFixed32:9.11.36-8.el8_8.1ALSA-2023:4102
AlmaLinux 8python3-bind9.16Fixed32:9.16.23-0.14.el8_8.1.almaALSA-2023:4100
Rocky Linux 9bindFixed2:9.16.23-11.el9_2.1RLSA-2023:4099
Rocky Linux 8bindFixed2:9.11.36-8.el8_8.1RLSA-2023:4102
Rocky Linux 8bind9.16Fixed2:9.16.23-0.14.el8_8.1RLSA-2023:4100

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.16.42, 9.18.16, 9.19.14, 9.16.42-S1, or 9.18.16-S1.

Workaround: No workarounds known.

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.