Skip to content
OpenAdvisories
High · 7.5 CVE-2023-2828 EUVD-2023-34279GHSA-v668-ccv8-m5gx

named's configured cache size limit can be significantly exceeded

Published Jun 21, 2023 · Updated Feb 13, 2025 · Assigned by isc

Description

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.

Affected products

VendorProductAffectedFixed
ISC BIND 9 9.11.0 – ≤ 9.16.41, 9.18.0 – ≤ 9.18.15, 9.19.0 – ≤ 9.19.13, 9.11.3-S1 – ≤ 9.16.41-S1, 9.18.11-S1 – ≤ 9.18.15-S1 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 bind9 1:9.18.16-1 —
Debian 13 bind9 1:9.18.16-1 —
Debian 12 bind9 1:9.18.16-1~deb12u1 DSA-5439-1
Debian 11 bind9 1:9.16.42-1~deb11u1 DSA-5439-1
Debian 10 bind9 1:9.11.5.P4+dfsg-5.1+deb10u9 DLA-3498-1
ReleasePackageFixed inAdvisory
Ubuntu 26.04 LTS isc-dhcp No fix yet —
Ubuntu 25.10 isc-dhcp No fix yet —
Ubuntu 24.04 LTS isc-dhcp No fix yet —
Ubuntu 22.04 LTS bind9 1:9.18.12-0ubuntu0.22.04.2 USN-6183-1
Ubuntu 22.04 LTS bind9-libs No fix yet —
Ubuntu 20.04 LTS bind9 1:9.16.1-0ubuntu2.15 USN-6183-1
Ubuntu 20.04 LTS bind9-libs No fix yet —
Show 3 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 18.04 LTS bind9 1:9.11.3+dfsg-1ubuntu1.19+esm1 USN-6183-2
Ubuntu Pro 16.04 LTS bind9 1:9.10.3.dfsg.P4-8ubuntu1.19+esm6 USN-6183-2
Ubuntu Pro 14.04 LTS bind9 1:9.9.5.dfsg-3ubuntu0.19+esm10 USN-6183-2
ReleasePackageFixed inAdvisory
RHEL 9 bind +9 32:9.16.23-11.el9_2.1 RHSA-2023:4099
RHEL 8 bind +16 32:9.11.36-8.el8_8.1 RHSA-2023:4102
RHEL 8 bind9.16 +8 32:9.16.23-0.14.el8_8.1 RHSA-2023:4100
RHEL 7 bind +15 32:9.11.4-26.P2.el7_9.14 RHSA-2023:4152
Show 9 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
RHEL 9.0 EUS bind +8 32:9.16.23-1.el9_0.2 RHSA-2023:4005
RHEL 8.6 EUS bind +16 32:9.11.36-3.el8_6.4 RHSA-2023:4101
RHEL 8.6 EUS bind9.16 +8 32:9.16.23-0.7.el8_6.2 RHSA-2023:4037
RHEL 8.4 TUS bind +16 32:9.11.26-4.el8_4.2 RHSA-2023:4332
RHEL 8.4 E4S bind +16 32:9.11.26-4.el8_4.2 RHSA-2023:4332
RHEL 8.4 AUS bind +16 32:9.11.26-4.el8_4.2 RHSA-2023:4332
RHEL 8.2 TUS bind +16 32:9.11.13-6.el8_2.5 RHSA-2023:4153
RHEL 8.2 E4S bind +16 32:9.11.13-6.el8_2.5 RHSA-2023:4153
RHEL 8.2 AUS bind +16 32:9.11.13-6.el8_2.5 RHSA-2023:4153
RHEL 8.1 E4S bind +16 32:9.11.4-26.P2.el8_1.7 RHSA-2023:4154

AlmaLinux

Errata ↗
ReleasePackageFixed inAdvisory
AlmaLinux 9 bind +9 32:9.16.23-11.el9_2.1 ALSA-2023:4099
AlmaLinux 8 bind +16 32:9.11.36-8.el8_8.1 ALSA-2023:4102
AlmaLinux 8 bind9.16 +8 32:9.16.23-0.14.el8_8.1.alma ALSA-2023:4100

Rocky Linux

Errata ↗
ReleasePackageFixed inAdvisory
Rocky Linux 9 bind 2:9.16.23-11.el9_2.1 RLSA-2023:4099
Rocky Linux 8 bind 2:9.11.36-8.el8_8.1 RLSA-2023:4102
Rocky Linux 8 bind9.16 2:9.16.23-0.14.el8_8.1 RLSA-2023:4100
ReleasePackageFixed inAdvisory
SLES 15 SP5 bind 9.16.6-150300.22.30.1 SUSE-SU-2023:2954-1, SUSE-SU-2023:2836-1
SLES 15 SP4 bind 9.16.6-150300.22.30.1 SUSE-SU-2023:2954-1, SUSE-SU-2023:2667-1
SLES 15 SP3 bind 9.16.6-150300.22.30.1 SUSE-SU-2023:2954-1
SLES 15 SP2 bind 9.16.6-150000.12.68.1 SUSE-SU-2023:2794-1
SLES 15 SP1 bind 9.16.6-150000.12.68.1 SUSE-SU-2023:2794-1
Show 19 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES 12 SP5 bind 9.11.22-3.46.4 SUSE-SU-2023:2793-1
SLES 12 SP4 bind 9.11.22-3.46.4 SUSE-SU-2023:2793-1
SLES 12 SP2 bind 9.9.9P1-63.40.1 SUSE-SU-2023:2789-1
SLES for SAP 15 SP3 bind 9.16.6-150300.22.30.1 SUSE-SU-2023:2954-1
SLES for SAP 15 SP2 bind 9.16.6-150000.12.68.1 SUSE-SU-2023:2794-1
SLES for SAP 15 SP1 bind 9.16.6-150000.12.68.1 SUSE-SU-2023:2794-1
SLES for SAP 12 SP5 bind 9.11.22-3.46.4 SUSE-SU-2023:2793-1
SLES for SAP 12 SP4 bind 9.11.22-3.46.4 SUSE-SU-2023:2793-1
SLE Real Time 15 SP3 bind 9.16.6-150300.22.30.1 SUSE-SU-2023:2954-1
SLE HPC 15 SP3 bind 9.16.6-150300.22.30.1 SUSE-SU-2023:2954-1
SLE HPC 15 SP2 bind 9.16.6-150000.12.68.1 SUSE-SU-2023:2794-1
SLE HPC 15 SP1 bind 9.16.6-150000.12.68.1 SUSE-SU-2023:2794-1
SUSE OpenStack Cloud Crowbar 9 bind 9.11.22-3.46.4 SUSE-SU-2023:2793-1
SUSE OpenStack Cloud 9 bind 9.11.22-3.46.4 SUSE-SU-2023:2793-1
SUSE Manager Server 4.2 bind 9.16.6-150300.22.30.1 SUSE-SU-2023:2954-1
SUSE Manager Proxy 4.2 bind 9.16.6-150300.22.30.1 SUSE-SU-2023:2954-1
SUSE Manager Client Tools for SLE Micro 5 bind 9.16.6-150000.12.68.1 SUSE-SU-2023:2794-1
SUSE Enterprise Storage 7.1 bind 9.16.6-150300.22.30.1 SUSE-SU-2023:2954-1
SUSE Enterprise Storage 7 bind 9.16.6-150000.12.68.1 SUSE-SU-2023:2794-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed bind 9.18.16-1.1 openSUSE-SU-2024:13015-1
openSUSE Leap 15.5 bind 9.16.42-150500.8.3.1 SUSE-SU-2023:2836-1
openSUSE Leap 15.4 bind 9.16.6-150000.12.68.1 SUSE-SU-2023:2954-1, SUSE-SU-2023:2794-1, SUSE-SU-2023:2667-1

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2023 bind +17 32:9.16.42-1.amzn2023.0.1 ALAS2023-2023-240
Amazon Linux 2 bind +15 32:9.11.4-26.P2.amzn2.13.1 ALAS2-2023-2112

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 2 (CBL-Mariner) bind 9.16.33-2 —
Azure Linux 2 (CBL-Mariner) dhcp 4.4.2-5 —

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 9 bind +9 32:9.16.23-11.el9_2.1 ELSA-2023-4099
Oracle Linux 8 bind +16 32:9.11.36-8.el8_8.1 ELSA-2023-4102
Oracle Linux 8 bind9.16 +8 32:9.16.23-0.14.el8_8.1 ELSA-2023-4100
Oracle Linux 7 bind +15 32:9.11.4-26.P2.el7_9.14 ELSA-2023-4152

Advisories 41

References