CVE-2023-6516
CVE-2023-6516 · Specific recursive query patterns may lead to an out-of-memory condition
This page contains facts from public vulnerability sources. Check the original advisory before updating.
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.
CVSS 7.5 · High · EPSS 1.1% · Fix available
- Published
- Updated
Stack: system
Affected products and versions
bind 9
- Versions
- ≥ 9.16.0, ≤ 9.16.45: Affected (custom)
- ≥ 9.16.8-S1, ≤ 9.16.45-S1: Affected (custom)
No fix published
bind9 Debian:12
- Affected ranges
- ECOSYSTEM: < 1:9.17.19-1
Update to 1:9.17.19-1
bind9 Debian:13
- Affected ranges
- ECOSYSTEM: < 1:9.17.19-1
Update to 1:9.17.19-1
bind9 Debian:14
- Affected ranges
- ECOSYSTEM: < 1:9.17.19-1
Update to 1:9.17.19-1
bind9 Ubuntu:20.04:LTS
- Versions
- 1:9.11.5.P4+dfsg-5.1ubuntu2
- 1:9.11.5.P4+dfsg-5.1ubuntu3
- 1:9.11.5.P4+dfsg-5.1ubuntu4
- 1:9.11.5.P4+dfsg-5.1ubuntu5
- 1:9.11.14+dfsg-1ubuntu1
- 1:9.11.14+dfsg-3ubuntu1
- 1:9.16.0-1ubuntu3
- 1:9.16.0-1ubuntu4
- 1:9.16.0-1ubuntu5
- 1:9.16.1-0ubuntu1
- 1:9.16.1-0ubuntu2
- 1:9.16.1-0ubuntu2.1
- 1:9.16.1-0ubuntu2.2
- 1:9.16.1-0ubuntu2.3
- 1:9.16.1-0ubuntu2.4
- 1:9.16.1-0ubuntu2.6
- 1:9.16.1-0ubuntu2.7
- 1:9.16.1-0ubuntu2.8
- 1:9.16.1-0ubuntu2.9
- 1:9.16.1-0ubuntu2.10
- 1:9.16.1-0ubuntu2.11
- 1:9.16.1-0ubuntu2.12
- 1:9.16.1-0ubuntu2.14
- 1:9.16.1-0ubuntu2.15
- 1:9.16.1-0ubuntu2.16
- Affected ranges
- ECOSYSTEM: < 1:9.16.48-0ubuntu0.20.04.1
Update to 1:9.16.48-0ubuntu0.20.04.1
Original sources
- https://kb.isc.org/docs/cve-2023-6516
- http://www.openwall.com/lists/oss-security/2024/02/13/1
- https://lists.fedoraproject.org/archives/list/[email protected]/message/PNNHZSZPG2E7NBMBNYPGHCFI4V4XRWNQ/
- https://lists.fedoraproject.org/archives/list/[email protected]/message/ZDZFMEKQTZ4L7RY46FCENWFB5MDT263R/
- https://security.netapp.com/advisory/ntap-20240503-0008/
- https://nvd.nist.gov/vuln/detail/CVE-2023-6516