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.
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
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux:8 | bind | 32:9.11.36-8.el8_8.1 | ALSA-2023:4102 |
| AlmaLinux:9 | bind | 32:9.16.23-11.el9_2.1 | ALSA-2023:4099 |
| AlmaLinux:8 | bind-chroot | 32:9.11.36-8.el8_8.1 | ALSA-2023:4102 |
| AlmaLinux:9 | bind-chroot | 32:9.16.23-11.el9_2.1 | ALSA-2023:4099 |
| AlmaLinux:8 | bind-devel | 32:9.11.36-8.el8_8.1 | ALSA-2023:4102 |
| AlmaLinux:9 | bind-devel | 32:9.16.23-11.el9_2.1 | ALSA-2023:4099 |
| AlmaLinux:9 | bind-dnssec-doc | 32:9.16.23-11.el9_2.1 | ALSA-2023:4099 |
| AlmaLinux:9 | bind-dnssec-utils | 32:9.16.23-11.el9_2.1 | ALSA-2023:4099 |
| AlmaLinux:9 | bind-doc | 32:9.16.23-11.el9_2.1 | ALSA-2023:4099 |
| AlmaLinux:8 | bind-export-devel | 32:9.11.36-8.el8_8.1 | ALSA-2023:4102 |
| AlmaLinux:8 | bind-export-libs | 32:9.11.36-8.el8_8.1 | ALSA-2023:4102 |
| AlmaLinux:8 | bind-libs | 32:9.11.36-8.el8_8.1 | ALSA-2023:4102 |
| AlmaLinux:9 | bind-libs | 32:9.16.23-11.el9_2.1 | ALSA-2023:4099 |
| AlmaLinux:8 | bind-libs-lite | 32:9.11.36-8.el8_8.1 | ALSA-2023:4102 |
| AlmaLinux:8 | bind-license | 32:9.11.36-8.el8_8.1 | ALSA-2023:4102 |
| AlmaLinux:9 | bind-license | 32:9.16.23-11.el9_2.1 | ALSA-2023:4099 |
| AlmaLinux:8 | bind-lite-devel | 32:9.11.36-8.el8_8.1 | ALSA-2023:4102 |
| AlmaLinux:8 | bind-pkcs11 | 32:9.11.36-8.el8_8.1 | ALSA-2023:4102 |
| AlmaLinux:8 | bind-pkcs11-devel | 32:9.11.36-8.el8_8.1 | ALSA-2023:4102 |
| AlmaLinux:8 | bind-pkcs11-libs | 32:9.11.36-8.el8_8.1 | ALSA-2023:4102 |
| AlmaLinux:8 | bind-pkcs11-utils | 32:9.11.36-8.el8_8.1 | ALSA-2023:4102 |
| AlmaLinux:8 | bind-sdb | 32:9.11.36-8.el8_8.1 | ALSA-2023:4102 |
| AlmaLinux:8 | bind-sdb-chroot | 32:9.11.36-8.el8_8.1 | ALSA-2023:4102 |
| AlmaLinux:8 | bind-utils | 32:9.11.36-8.el8_8.1 | ALSA-2023:4102 |
| AlmaLinux:9 | bind-utils | 32:9.16.23-11.el9_2.1 | ALSA-2023:4099 |
| AlmaLinux:8 | bind9.16 | 32:9.16.23-0.14.el8_8.1.alma | ALSA-2023:4100 |
| AlmaLinux:8 | bind9.16-chroot | 32:9.16.23-0.14.el8_8.1.alma | ALSA-2023:4100 |
| AlmaLinux:8 | bind9.16-devel | 32:9.16.23-0.14.el8_8.1.alma | ALSA-2023:4100 |
| AlmaLinux:8 | bind9.16-dnssec-utils | 32:9.16.23-0.14.el8_8.1.alma | ALSA-2023:4100 |
| AlmaLinux:8 | bind9.16-doc | 32:9.16.23-0.14.el8_8.1.alma | ALSA-2023:4100 |
| AlmaLinux:8 | bind9.16-libs | 32:9.16.23-0.14.el8_8.1.alma | ALSA-2023:4100 |
| AlmaLinux:8 | bind9.16-license | 32:9.16.23-0.14.el8_8.1.alma | ALSA-2023:4100 |
| AlmaLinux:8 | bind9.16-utils | 32:9.16.23-0.14.el8_8.1.alma | ALSA-2023:4100 |
| AlmaLinux:8 | python3-bind | 32:9.11.36-8.el8_8.1 | ALSA-2023:4102 |
| AlmaLinux:9 | python3-bind | 32:9.16.23-11.el9_2.1 | ALSA-2023:4099 |
| AlmaLinux:8 | python3-bind9.16 | 32:9.16.23-0.14.el8_8.1.alma | ALSA-2023:4100 |
| Debian:12 | bind9 | 1:9.18.16-1~deb12u1 | DSA-5439-1 |
| Debian:12 | bind9 | 1:9.18.16-1~deb12u1 | DEBIAN-CVE-2023-2828 |
| Debian:13 | bind9 | 1:9.18.16-1 | DEBIAN-CVE-2023-2828 |
| Debian:14 | bind9 | 1:9.18.16-1 | DEBIAN-CVE-2023-2828 |
| Rocky Linux:8 | bind | 2:9.11.36-8.el8_8.1 | RLSA-2023:4102 |
| Rocky Linux:9 | bind | 2:9.16.23-11.el9_2.1 | RLSA-2023:4099 |
| Rocky Linux:8 | bind9.16 | 2:9.16.23-0.14.el8_8.1 | RLSA-2023:4100 |
| Ubuntu:22.04:LTS | bind9 | 1:9.18.12-0ubuntu0.22.04.2 | USN-6183-1 |
| Ubuntu:22.04:LTS | bind9 | 1:9.18.12-0ubuntu0.22.04.2 | UBUNTU-CVE-2023-2828 |
| Ubuntu:22.04:LTS | bind9-libs | no fix listed | UBUNTU-CVE-2023-2828 |
| Ubuntu:24.04:LTS | isc-dhcp | no fix listed | UBUNTU-CVE-2023-2828 |
| Ubuntu:25.10 | isc-dhcp | no fix listed | UBUNTU-CVE-2023-2828 |
| Ubuntu:26.04:LTS | isc-dhcp | no fix listed | UBUNTU-CVE-2023-2828 |
Affected products (as reported)
References
- CVE-2023-2828 vendor-advisory
- 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