VDB

CVE-2023-2828

CVE-2023-2828 PUBLISHED CVSS 7.5 HIGH

named's configured cache size limit can be significantly exceeded

Reported by isc · Published June 21, 2023

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
bind-pkcs11-develAmazon Linux32:9.16.42-1.amzn2023.0.1, 32:9.11.4-26.P2.amzn2.13.1
bind-dnssec-docAmazon Linux32:9.16.42-1.amzn2023.0.1
bind-chrootAmazon Linux32:9.16.42-1.amzn2023.0.1, 32:9.11.4-26.P2.amzn2.13.1
bind-dlz-mysqlAmazon Linux32:9.16.42-1.amzn2023.0.1
bind-licenseAmazon Linux32:9.16.42-1.amzn2023.0.1, 32:9.11.4-26.P2.amzn2.13.1
bind-pkcs11-utilsAmazon Linux32:9.16.42-1.amzn2023.0.1, 32:9.11.4-26.P2.amzn2.13.1
bind-sdbAmazon Linux32:9.11.4-26.P2.amzn2.13.1
bind-sdb-chrootAmazon Linux32:9.11.4-26.P2.amzn2.13.1
bindAmazon Linux32:9.16.42-1.amzn2023.0.1, 32:9.11.4-26.P2.amzn2.13.1
bind-utilsAmazon Linux32:9.16.42-1.amzn2023.0.1, 32:9.11.4-26.P2.amzn2.13.1
bind-pkcs11Amazon Linux32:9.16.42-1.amzn2023.0.1, 32:9.11.4-26.P2.amzn2.13.1
bind-export-develAmazon Linux32:9.11.4-26.P2.amzn2.13.1

14 more packages have a fixed version. See every fix in Lookup.

Risk scores

CVSS 3.1
7.5
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Affected products

VendorProductVersions
ISCBIND 99.11.0, 9.18.0, 9.19.0
amazon:2023bind-pkcs11-devel0
amazon:2023bind-dnssec-doc0
amazon:2bind-chroot0
amazon:2023bind-dlz-mysql0
amazon:2bind-license0
ISCBIND 99.18.11-S1, 9.18.0, 9.11.0
amazon:2bind-pkcs11-devel0
amazon:2023bind-pkcs11-utils0
amazon:2bind-sdb0
amazon:2bind-pkcs11-utils0
amazon:2bind-sdb-chroot0
amazon:2bind0
amazon:2023bind-utils0
amazon:2bind-pkcs110
amazon:2bind-export-devel0
amazon:2bind-utils0
amazon:2023bind-dnssec-utils0
amazon:2023bind-devel0
amazon:2bind-libs0

…and 16 more

Timeline

  • Jun 21, 2023 CVE Published
  • Jun 22, 2023 EPSS Score (30 in total, the first dated here)
  • Feb 8, 2024 PoC Published
  • Feb 13, 2025 CVE Updated
  • Feb 18, 2026 Distribution Patch (16 in total, the first dated here)
  • Feb 18, 2026 Security Advisory (18 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2023-2828
vulnetix vdb fixes CVE-2023-2828

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2023-2828/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›