VDB

CVE-2023-6516

CVE-2023-6516 PUBLISHED CVSS 7.5 HIGH

Specific recursive query patterns may lead to an out-of-memory condition

Reported by isc · Published February 13, 2024

To keep its cache database efficient, `named` running as a recursive resolver occasionally attempts to clean up the database. It uses several methods, including some that are asynchronous: a small chunk of memory pointing to the cache element that can be cleaned up is first allocated and then queued for later processing. It was discovered that if the resolver is continuously processing query patterns triggering this type of cache-database maintenance, `named` may not be able to handle the cleanup events in a timely manner. This in turn enables the list of queued cleanup events to grow infinitely large over time, allowing the configured `max-cache-size` limit to be significantly exceeded. This issue affects BIND 9 versions 9.16.0 through 9.16.45 and 9.16.8-S1 through 9.16.45-S1.

Fixed versions

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

PackageEcosystemFixed in
bind-libsAmazon Linux32:9.16.48-1.amzn2023.0.1
bindAmazon Linux32:9.16.48-1.amzn2023.0.1
bind-dlz-sqlite3Amazon Linux32:9.16.48-1.amzn2023.0.1
python3-bindAmazon Linux32:9.16.48-1.amzn2023.0.1
bind-docAmazon Linux32:9.16.48-1.amzn2023.0.1
bind-dlz-filesystemAmazon Linux32:9.16.48-1.amzn2023.0.1
bind-dnssec-utilsAmazon Linux32:9.16.48-1.amzn2023.0.1
bindWolfi9.18.24-r0
bind-pkcs11-utilsAmazon Linux32:9.16.48-1.amzn2023.0.1
bind-licenseAmazon Linux32:9.16.48-1.amzn2023.0.1
bind-pkcs11Amazon Linux32:9.16.48-1.amzn2023.0.1
bind-dlz-mysqlAmazon Linux32:9.16.48-1.amzn2023.0.1

11 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.16.0, 9.16.8-S1
amazon:2023bind-libs0
ISCBIND 99.16.0, 9.16.8-S1
amazon:2023bind0
amazon:2023bind-dlz-sqlite30
amazon:2023python3-bind0
amazon:2023bind-doc0
amazon:2023bind-dlz-filesystem0
amazon:2023bind-dnssec-utils0
wolfibind0
iscbind9.16.0, 9.16.8-s1
amazon:2023bind-pkcs11-utils0
amazon:2023bind-license0
amazon:2023bind-pkcs110
amazon:2023bind-dlz-mysql0
amazon:2023bind-devel0
amazon:2023bind-dnssec-doc0
amazon:2023bind-dlz-ldap0
amazon:2023bind-chroot0
amazon:2023bind-utils0

…and 4 more

Timeline

  • Feb 13, 2024 CVE Published
  • Feb 14, 2024 EPSS Score (30 in total, the first dated here)
  • Oct 5, 2024 Coalition ESS Score (12 in total, the first dated here)
  • Jun 2, 2026 Security Advisory (51 in total, the first dated here)
  • Nov 22, 2026 Distribution Patch (48 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2023-6516
vulnetix vdb fixes CVE-2023-6516

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-6516/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 ›