Vulnerability · Published Jun 21, 2023 · Assigned by isc

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

High 7.5

In plain English

A high-severity security flaw in BIND 9 from ISC. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 3.7% (higher than 90% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)7.5High
Exploit odds (30 days)3.7%top 10.2% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official 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 packages & fixed versions

EcosystemPackageFixed inAdvisory
AlmaLinux:8bind32:9.11.36-8.el8_8.1ALSA-2023:4102
AlmaLinux:9bind32:9.16.23-11.el9_2.1ALSA-2023:4099
AlmaLinux:8bind-chroot32:9.11.36-8.el8_8.1ALSA-2023:4102
AlmaLinux:9bind-chroot32:9.16.23-11.el9_2.1ALSA-2023:4099
AlmaLinux:8bind-devel32:9.11.36-8.el8_8.1ALSA-2023:4102
AlmaLinux:9bind-devel32:9.16.23-11.el9_2.1ALSA-2023:4099
AlmaLinux:9bind-dnssec-doc32:9.16.23-11.el9_2.1ALSA-2023:4099
AlmaLinux:9bind-dnssec-utils32:9.16.23-11.el9_2.1ALSA-2023:4099
AlmaLinux:9bind-doc32:9.16.23-11.el9_2.1ALSA-2023:4099
AlmaLinux:8bind-export-devel32:9.11.36-8.el8_8.1ALSA-2023:4102
AlmaLinux:8bind-export-libs32:9.11.36-8.el8_8.1ALSA-2023:4102
AlmaLinux:8bind-libs32:9.11.36-8.el8_8.1ALSA-2023:4102
AlmaLinux:9bind-libs32:9.16.23-11.el9_2.1ALSA-2023:4099
AlmaLinux:8bind-libs-lite32:9.11.36-8.el8_8.1ALSA-2023:4102
AlmaLinux:8bind-license32:9.11.36-8.el8_8.1ALSA-2023:4102
AlmaLinux:9bind-license32:9.16.23-11.el9_2.1ALSA-2023:4099
AlmaLinux:8bind-lite-devel32:9.11.36-8.el8_8.1ALSA-2023:4102
AlmaLinux:8bind-pkcs1132:9.11.36-8.el8_8.1ALSA-2023:4102
AlmaLinux:8bind-pkcs11-devel32:9.11.36-8.el8_8.1ALSA-2023:4102
AlmaLinux:8bind-pkcs11-libs32:9.11.36-8.el8_8.1ALSA-2023:4102
AlmaLinux:8bind-pkcs11-utils32:9.11.36-8.el8_8.1ALSA-2023:4102
AlmaLinux:8bind-sdb32:9.11.36-8.el8_8.1ALSA-2023:4102
AlmaLinux:8bind-sdb-chroot32:9.11.36-8.el8_8.1ALSA-2023:4102
AlmaLinux:8bind-utils32:9.11.36-8.el8_8.1ALSA-2023:4102
AlmaLinux:9bind-utils32:9.16.23-11.el9_2.1ALSA-2023:4099
AlmaLinux:8bind9.1632:9.16.23-0.14.el8_8.1.almaALSA-2023:4100
AlmaLinux:8bind9.16-chroot32:9.16.23-0.14.el8_8.1.almaALSA-2023:4100
AlmaLinux:8bind9.16-devel32:9.16.23-0.14.el8_8.1.almaALSA-2023:4100
AlmaLinux:8bind9.16-dnssec-utils32:9.16.23-0.14.el8_8.1.almaALSA-2023:4100
AlmaLinux:8bind9.16-doc32:9.16.23-0.14.el8_8.1.almaALSA-2023:4100
AlmaLinux:8bind9.16-libs32:9.16.23-0.14.el8_8.1.almaALSA-2023:4100
AlmaLinux:8bind9.16-license32:9.16.23-0.14.el8_8.1.almaALSA-2023:4100
AlmaLinux:8bind9.16-utils32:9.16.23-0.14.el8_8.1.almaALSA-2023:4100
AlmaLinux:8python3-bind32:9.11.36-8.el8_8.1ALSA-2023:4102
AlmaLinux:9python3-bind32:9.16.23-11.el9_2.1ALSA-2023:4099
AlmaLinux:8python3-bind9.1632:9.16.23-0.14.el8_8.1.almaALSA-2023:4100
Debian:12bind91:9.18.16-1~deb12u1DSA-5439-1
Debian:12bind91:9.18.16-1~deb12u1DEBIAN-CVE-2023-2828
Debian:13bind91:9.18.16-1DEBIAN-CVE-2023-2828
Debian:14bind91:9.18.16-1DEBIAN-CVE-2023-2828
Rocky Linux:8bind2:9.11.36-8.el8_8.1RLSA-2023:4102
Rocky Linux:9bind2:9.16.23-11.el9_2.1RLSA-2023:4099
Rocky Linux:8bind9.162:9.16.23-0.14.el8_8.1RLSA-2023:4100
Ubuntu:22.04:LTSbind91:9.18.12-0ubuntu0.22.04.2USN-6183-1
Ubuntu:22.04:LTSbind91:9.18.12-0ubuntu0.22.04.2UBUNTU-CVE-2023-2828
Ubuntu:22.04:LTSbind9-libsno fix listedUBUNTU-CVE-2023-2828
Ubuntu:24.04:LTSisc-dhcpno fix listedUBUNTU-CVE-2023-2828
Ubuntu:25.10isc-dhcpno fix listedUBUNTU-CVE-2023-2828
Ubuntu:26.04:LTSisc-dhcpno fix listedUBUNTU-CVE-2023-2828

Affected products (as reported)

VendorProductVersions
ISC BIND 9 9.11.0 – through 9.16.419.18.0 – through 9.18.159.19.0 – through 9.19.139.11.3-S1 – through 9.16.41-S19.18.11-S1 – through 9.18.15-S1

References