CVE-2023-2828named's configured cache size limit can be significantly exceeded
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
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 26.04 | isc-dhcp | Under investigation | UBUNTU-CVE-2023-2828 | |
| Ubuntu 25.10 | isc-dhcp | Will 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.04 | isc-dhcp | Under investigation | UBUNTU-CVE-2023-2828 | |
| Ubuntu 22.04 | bind9 | Fixed | 1:9.18.12-0ubuntu0.22.04.2 | UBUNTU-CVE-2023-2828 |
| Ubuntu 22.04 | bind9-libs | Under investigation | UBUNTU-CVE-2023-2828 | |
| Ubuntu 22.04 | isc-dhcp | Not affected vulnerable_code_not_present | ||
| Ubuntu 20.04 | bind9 | Fixed | 1:9.16.1-0ubuntu2.15 | UBUNTU-CVE-2023-2828 |
| Ubuntu 20.04 | bind9-libs | Will 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.04 | isc-dhcp | Not affected vulnerable_code_not_present | ||
| Ubuntu 18.04 | bind9 | Fix pending | 1:9.11.3+dfsg-1ubuntu1.19+esm1 (Ubuntu Pro) | UBUNTU-CVE-2023-2828 |
| Ubuntu 18.04 | isc-dhcp | Not affected vulnerable_code_not_present | ||
| Ubuntu 16.04 | bind9 | Will 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.04 | isc-dhcp | Not affected vulnerable_code_not_present | ||
| Ubuntu 14.04 | bind9 | Fix pending | 1:9.9.5.dfsg-3ubuntu0.19+esm10 (Ubuntu Pro) | UBUNTU-CVE-2023-2828 |
| Debian 14 | bind9 | Fixed | 1:9.18.16-1 | DEBIAN-CVE-2023-2828 |
| Debian 13 | bind9 | Fixed | 1:9.18.16-1 | DEBIAN-CVE-2023-2828 |
| Debian 12 | bind9 | Fixed | 1:9.18.16-1~deb12u1 | DEBIAN-CVE-2023-2828 |
| Red Hat Enterprise Linux 9 | bind | Fixed | 32:9.16.23-11.el9_2.1 | RHSA-2023:4099 |
| Red Hat Enterprise Linux 9 | bind-chroot | Fixed | 32:9.16.23-11.el9_2.1 | RHSA-2023:4099 |
| Red Hat Enterprise Linux 9 | bind-devel | Fixed | 32:9.16.23-11.el9_2.1 | RHSA-2023:4099 |
| Red Hat Enterprise Linux 9 | bind-dnssec-doc | Fixed | 32:9.16.23-11.el9_2.1 | RHSA-2023:4099 |
| Red Hat Enterprise Linux 9 | bind-dnssec-utils | Fixed | 32:9.16.23-11.el9_2.1 | RHSA-2023:4099 |
| Red Hat Enterprise Linux 9 | bind-doc | Fixed | 32:9.16.23-11.el9_2.1 | RHSA-2023:4099 |
| Red Hat Enterprise Linux 9 | bind-libs | Fixed | 32:9.16.23-11.el9_2.1 | RHSA-2023:4099 |
| Red Hat Enterprise Linux 9 | bind-license | Fixed | 32:9.16.23-11.el9_2.1 | RHSA-2023:4099 |
| Red Hat Enterprise Linux 9 | bind-utils | Fixed | 32:9.16.23-11.el9_2.1 | RHSA-2023:4099 |
| 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-11.el9_2.1 | RHSA-2023:4099 |
| Red Hat Enterprise Linux 8 | bind | Fixed | 32:9.11.36-8.el8_8.1 | RHSA-2023:4102 |
| Red Hat Enterprise Linux 8 | bind-chroot | Fixed | 32:9.11.36-8.el8_8.1 | RHSA-2023:4102 |
| Red Hat Enterprise Linux 8 | bind-devel | Fixed | 32:9.11.36-8.el8_8.1 | RHSA-2023:4102 |
| Red Hat Enterprise Linux 8 | bind-export-devel | Fixed | 32:9.11.36-8.el8_8.1 | RHSA-2023:4102 |
| Red Hat Enterprise Linux 8 | bind-export-libs | Fixed | 32:9.11.36-8.el8_8.1 | RHSA-2023:4102 |
| Red Hat Enterprise Linux 8 | bind-libs | Fixed | 32:9.11.36-8.el8_8.1 | RHSA-2023:4102 |
| Red Hat Enterprise Linux 8 | bind-libs-lite | Fixed | 32:9.11.36-8.el8_8.1 | RHSA-2023:4102 |
| Red Hat Enterprise Linux 8 | bind-license | Fixed | 32:9.11.36-8.el8_8.1 | RHSA-2023:4102 |
| Red Hat Enterprise Linux 8 | bind-lite-devel | Fixed | 32:9.11.36-8.el8_8.1 | RHSA-2023:4102 |
| Red Hat Enterprise Linux 8 | bind-pkcs11 | Fixed | 32:9.11.36-8.el8_8.1 | RHSA-2023:4102 |
| Red Hat Enterprise Linux 8 | bind-pkcs11-devel | Fixed | 32:9.11.36-8.el8_8.1 | RHSA-2023:4102 |
| Red Hat Enterprise Linux 8 | bind-pkcs11-libs | Fixed | 32:9.11.36-8.el8_8.1 | RHSA-2023:4102 |
| Red Hat Enterprise Linux 8 | bind-pkcs11-utils | Fixed | 32:9.11.36-8.el8_8.1 | RHSA-2023:4102 |
| Red Hat Enterprise Linux 8 | bind-sdb | Fixed | 32:9.11.36-8.el8_8.1 | RHSA-2023:4102 |
| Red Hat Enterprise Linux 8 | bind-sdb-chroot | Fixed | 32:9.11.36-8.el8_8.1 | RHSA-2023:4102 |
| Red Hat Enterprise Linux 8 | bind-utils | Fixed | 32:9.11.36-8.el8_8.1 | RHSA-2023:4102 |
| Red Hat Enterprise Linux 8 | bind9.16 | Fixed | 32:9.16.23-0.14.el8_8.1 | RHSA-2023:4100 |
| Red Hat Enterprise Linux 8 | bind9.16-chroot | Fixed | 32:9.16.23-0.14.el8_8.1 | RHSA-2023:4100 |
| Red Hat Enterprise Linux 8 | bind9.16-devel | Fixed | 32:9.16.23-0.14.el8_8.1 | RHSA-2023:4100 |
| Red Hat Enterprise Linux 8 | bind9.16-dnssec-utils | Fixed | 32:9.16.23-0.14.el8_8.1 | RHSA-2023:4100 |
| Red Hat Enterprise Linux 8 | bind9.16-doc | Fixed | 32:9.16.23-0.14.el8_8.1 | RHSA-2023:4100 |
| Red Hat Enterprise Linux 8 | bind9.16-libs | Fixed | 32:9.16.23-0.14.el8_8.1 | RHSA-2023:4100 |
| Red Hat Enterprise Linux 8 | bind9.16-license | Fixed | 32:9.16.23-0.14.el8_8.1 | RHSA-2023:4100 |
| Red Hat Enterprise Linux 8 | bind9.16-utils | Fixed | 32:9.16.23-0.14.el8_8.1 | RHSA-2023:4100 |
| Red Hat Enterprise Linux 8 | python3-bind | Fixed | 32:9.11.36-8.el8_8.1 | RHSA-2023:4102 |
| Red Hat Enterprise Linux 8 | python3-bind9.16 | Fixed | 32:9.16.23-0.14.el8_8.1 | RHSA-2023:4100 |
| Red Hat Enterprise Linux 7 | bind | Fixed | 32:9.11.4-26.P2.el7_9.14 | RHSA-2023:4152 |
| Red Hat Enterprise Linux 7 | bind-chroot | Fixed | 32:9.11.4-26.P2.el7_9.14 | RHSA-2023:4152 |
| Red Hat Enterprise Linux 7 | bind-devel | Fixed | 32:9.11.4-26.P2.el7_9.14 | RHSA-2023:4152 |
| Red Hat Enterprise Linux 7 | bind-export-devel | Fixed | 32:9.11.4-26.P2.el7_9.14 | RHSA-2023:4152 |
| Red Hat Enterprise Linux 7 | bind-export-libs | Fixed | 32:9.11.4-26.P2.el7_9.14 | RHSA-2023:4152 |
| Red Hat Enterprise Linux 7 | bind-libs | Fixed | 32:9.11.4-26.P2.el7_9.14 | RHSA-2023:4152 |
| Red Hat Enterprise Linux 7 | bind-libs-lite | Fixed | 32:9.11.4-26.P2.el7_9.14 | RHSA-2023:4152 |
| Red Hat Enterprise Linux 7 | bind-license | Fixed | 32:9.11.4-26.P2.el7_9.14 | RHSA-2023:4152 |
| Red Hat Enterprise Linux 7 | bind-lite-devel | Fixed | 32:9.11.4-26.P2.el7_9.14 | RHSA-2023:4152 |
| Red Hat Enterprise Linux 7 | bind-pkcs11 | Fixed | 32:9.11.4-26.P2.el7_9.14 | RHSA-2023:4152 |
| Red Hat Enterprise Linux 7 | bind-pkcs11-devel | Fixed | 32:9.11.4-26.P2.el7_9.14 | RHSA-2023:4152 |
| Red Hat Enterprise Linux 7 | bind-pkcs11-libs | Fixed | 32:9.11.4-26.P2.el7_9.14 | RHSA-2023:4152 |
| Red Hat Enterprise Linux 7 | bind-pkcs11-utils | Fixed | 32:9.11.4-26.P2.el7_9.14 | RHSA-2023:4152 |
| Red Hat Enterprise Linux 7 | bind-sdb | Fixed | 32:9.11.4-26.P2.el7_9.14 | RHSA-2023:4152 |
| Red Hat Enterprise Linux 7 | bind-sdb-chroot | Fixed | 32:9.11.4-26.P2.el7_9.14 | RHSA-2023:4152 |
| Red Hat Enterprise Linux 7 | bind-utils | Fixed | 32:9.11.4-26.P2.el7_9.14 | RHSA-2023:4152 |
| 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-11.el9_2.1 | ALSA-2023:4099 |
| AlmaLinux 9 | bind-chroot | Fixed | 32:9.16.23-11.el9_2.1 | ALSA-2023:4099 |
| AlmaLinux 9 | bind-devel | Fixed | 32:9.16.23-11.el9_2.1 | ALSA-2023:4099 |
| AlmaLinux 9 | bind-dnssec-doc | Fixed | 32:9.16.23-11.el9_2.1 | ALSA-2023:4099 |
| AlmaLinux 9 | bind-dnssec-utils | Fixed | 32:9.16.23-11.el9_2.1 | ALSA-2023:4099 |
| AlmaLinux 9 | bind-doc | Fixed | 32:9.16.23-11.el9_2.1 | ALSA-2023:4099 |
| AlmaLinux 9 | bind-libs | Fixed | 32:9.16.23-11.el9_2.1 | ALSA-2023:4099 |
| AlmaLinux 9 | bind-license | Fixed | 32:9.16.23-11.el9_2.1 | ALSA-2023:4099 |
| AlmaLinux 9 | bind-utils | Fixed | 32:9.16.23-11.el9_2.1 | ALSA-2023:4099 |
| AlmaLinux 9 | python3-bind | Fixed | 32:9.16.23-11.el9_2.1 | ALSA-2023:4099 |
| AlmaLinux 8 | bind | Fixed | 32:9.11.36-8.el8_8.1 | ALSA-2023:4102 |
| AlmaLinux 8 | bind-chroot | Fixed | 32:9.11.36-8.el8_8.1 | ALSA-2023:4102 |
| AlmaLinux 8 | bind-devel | Fixed | 32:9.11.36-8.el8_8.1 | ALSA-2023:4102 |
| AlmaLinux 8 | bind-export-devel | Fixed | 32:9.11.36-8.el8_8.1 | ALSA-2023:4102 |
| AlmaLinux 8 | bind-export-libs | Fixed | 32:9.11.36-8.el8_8.1 | ALSA-2023:4102 |
| AlmaLinux 8 | bind-libs | Fixed | 32:9.11.36-8.el8_8.1 | ALSA-2023:4102 |
| AlmaLinux 8 | bind-libs-lite | Fixed | 32:9.11.36-8.el8_8.1 | ALSA-2023:4102 |
| AlmaLinux 8 | bind-license | Fixed | 32:9.11.36-8.el8_8.1 | ALSA-2023:4102 |
| AlmaLinux 8 | bind-lite-devel | Fixed | 32:9.11.36-8.el8_8.1 | ALSA-2023:4102 |
| AlmaLinux 8 | bind-pkcs11 | Fixed | 32:9.11.36-8.el8_8.1 | ALSA-2023:4102 |
| AlmaLinux 8 | bind-pkcs11-devel | Fixed | 32:9.11.36-8.el8_8.1 | ALSA-2023:4102 |
| AlmaLinux 8 | bind-pkcs11-libs | Fixed | 32:9.11.36-8.el8_8.1 | ALSA-2023:4102 |
| AlmaLinux 8 | bind-pkcs11-utils | Fixed | 32:9.11.36-8.el8_8.1 | ALSA-2023:4102 |
| AlmaLinux 8 | bind-sdb | Fixed | 32:9.11.36-8.el8_8.1 | ALSA-2023:4102 |
| AlmaLinux 8 | bind-sdb-chroot | Fixed | 32:9.11.36-8.el8_8.1 | ALSA-2023:4102 |
| AlmaLinux 8 | bind-utils | Fixed | 32:9.11.36-8.el8_8.1 | ALSA-2023:4102 |
| AlmaLinux 8 | bind9.16 | Fixed | 32:9.16.23-0.14.el8_8.1.alma | ALSA-2023:4100 |
| AlmaLinux 8 | bind9.16-chroot | Fixed | 32:9.16.23-0.14.el8_8.1.alma | ALSA-2023:4100 |
| AlmaLinux 8 | bind9.16-devel | Fixed | 32:9.16.23-0.14.el8_8.1.alma | ALSA-2023:4100 |
| AlmaLinux 8 | bind9.16-dnssec-utils | Fixed | 32:9.16.23-0.14.el8_8.1.alma | ALSA-2023:4100 |
| AlmaLinux 8 | bind9.16-doc | Fixed | 32:9.16.23-0.14.el8_8.1.alma | ALSA-2023:4100 |
| AlmaLinux 8 | bind9.16-libs | Fixed | 32:9.16.23-0.14.el8_8.1.alma | ALSA-2023:4100 |
| AlmaLinux 8 | bind9.16-license | Fixed | 32:9.16.23-0.14.el8_8.1.alma | ALSA-2023:4100 |
| AlmaLinux 8 | bind9.16-utils | Fixed | 32:9.16.23-0.14.el8_8.1.alma | ALSA-2023:4100 |
| AlmaLinux 8 | python3-bind | Fixed | 32:9.11.36-8.el8_8.1 | ALSA-2023:4102 |
| AlmaLinux 8 | python3-bind9.16 | Fixed | 32:9.16.23-0.14.el8_8.1.alma | ALSA-2023:4100 |
| Rocky Linux 9 | bind | Fixed | 2:9.16.23-11.el9_2.1 | RLSA-2023:4099 |
| Rocky Linux 8 | bind | Fixed | 2:9.11.36-8.el8_8.1 | RLSA-2023:4102 |
| Rocky Linux 8 | bind9.16 | Fixed | 2:9.16.23-0.14.el8_8.1 | RLSA-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.
- ISC BIND 9: affected: 9.11.0 to 9.16.41, 9.18.0 to 9.18.15, 9.19.0 to 9.19.13, 9.11.3-S1 to 9.16.41-S1, 9.18.11-S1 to 9.18.15-S1
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:
- https://kb.isc.org/docs/cve-2023-2828 (vendor-advisory)
References
- https://kb.isc.org/docs/cve-2023-2828
- http://www.openwall.com/lists/oss-security/2023/06/21/6
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/U3K6AJK7RRSR53HRF5GGKPA6PDUDWOD2/
- https://www.debian.org/security/2023/dsa-5439
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/SEFCEVCTYEMKTWA7V7EYPI5YQQ4JWDLI/
- https://security.netapp.com/advisory/ntap-20230703-0010/
- https://lists.debian.org/debian-lts-announce/2023/07/msg00021.html
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.