CVE-2023-6516
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.
| Package | Ecosystem | Fixed in |
|---|---|---|
| bind-libs | Amazon Linux | 32:9.16.48-1.amzn2023.0.1 |
| bind | Amazon Linux | 32:9.16.48-1.amzn2023.0.1 |
| bind-dlz-sqlite3 | Amazon Linux | 32:9.16.48-1.amzn2023.0.1 |
| python3-bind | Amazon Linux | 32:9.16.48-1.amzn2023.0.1 |
| bind-doc | Amazon Linux | 32:9.16.48-1.amzn2023.0.1 |
| bind-dlz-filesystem | Amazon Linux | 32:9.16.48-1.amzn2023.0.1 |
| bind-dnssec-utils | Amazon Linux | 32:9.16.48-1.amzn2023.0.1 |
| bind | Wolfi | 9.18.24-r0 |
| bind-pkcs11-utils | Amazon Linux | 32:9.16.48-1.amzn2023.0.1 |
| bind-license | Amazon Linux | 32:9.16.48-1.amzn2023.0.1 |
| bind-pkcs11 | Amazon Linux | 32:9.16.48-1.amzn2023.0.1 |
| bind-dlz-mysql | Amazon Linux | 32:9.16.48-1.amzn2023.0.1 |
11 more packages have a fixed version. See every fix in Lookup.
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| ISC | BIND 9 | 9.16.0, 9.16.8-S1 |
| amazon:2023 | bind-libs | 0 |
| ISC | BIND 9 | 9.16.0, 9.16.8-S1 |
| amazon:2023 | bind | 0 |
| amazon:2023 | bind-dlz-sqlite3 | 0 |
| amazon:2023 | python3-bind | 0 |
| amazon:2023 | bind-doc | 0 |
| amazon:2023 | bind-dlz-filesystem | 0 |
| amazon:2023 | bind-dnssec-utils | 0 |
| wolfi | bind | 0 |
| isc | bind | 9.16.0, 9.16.8-s1 |
| amazon:2023 | bind-pkcs11-utils | 0 |
| amazon:2023 | bind-license | 0 |
| amazon:2023 | bind-pkcs11 | 0 |
| amazon:2023 | bind-dlz-mysql | 0 |
| amazon:2023 | bind-devel | 0 |
| amazon:2023 | bind-dnssec-doc | 0 |
| amazon:2023 | bind-dlz-ldap | 0 |
| amazon:2023 | bind-chroot | 0 |
| amazon:2023 | bind-utils | 0 |
…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
- CVE-2023-6516 vendor-advisory