CVE-2023-6516
Specific recursive query patterns may lead to an out-of-memory condition
At a glance
- Source
- NVD
- EPSS
- EPSS 1.10 % · percentile 66 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- isc
- NVD status
- Modified
Description
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.
Weaknesses (CWE)
- CWE-789 — Memory Allocation with Excessive Size Value
- CWE-770 — Allocation of Resources Without Limits or Throttling
References
- 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/package-announce@lists.fedoraproject.org/message/PNNHZSZPG2E7NBMBNYPGHCFI4V4XRWNQ/
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ZDZFMEKQTZ4L7RY46FCENWFB5MDT263R/
- https://security.netapp.com/advisory/ntap-20240503-0008/
Scores
| Version | Score | Vector | Scored by |
|---|---|---|---|
| CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H | isc |
| CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H | NVD · security-officer@isc.org (Secondary) |
European references
- ENISA EUVD · EUVD-2023-58747
- GCVE · GCVE-0-2023-6516
CERT-FR advisories
- CERTFR-2025-AVI-0018 — Multiples vulnérabilités dans les produits Juniper Networks · cert.ssi.gouv.fr
- CERTFR-2024-AVI-0470 — Multiples vulnérabilités dans les produits IBM · cert.ssi.gouv.fr
- CERTFR-2024-AVI-0122 — Multiples vulnérabilités dans Bind · cert.ssi.gouv.fr
Affected configurations (NVD CPE)
cpe:2.3:a:isc:bind:*:*:*:*:-:*:*:*≥ 9.16.0 ≤ 9.16.45cpe:2.3:a:isc:bind:9.16.8:s1:*:*:supported_preview:*:*:*cpe:2.3:a:isc:bind:9.16.11:s1:*:*:supported_preview:*:*:*cpe:2.3:a:isc:bind:9.16.12:s1:*:*:supported_preview:*:*:*cpe:2.3:a:isc:bind:9.16.13:s1:*:*:supported_preview:*:*:*cpe:2.3:a:isc:bind:9.16.14:s1:*:*:supported_preview:*:*:*cpe:2.3:a:isc:bind:9.16.21:s1:*:*:supported_preview:*:*:*cpe:2.3:a:isc:bind:9.16.32:s1:*:*:supported_preview:*:*:*cpe:2.3:a:isc:bind:9.16.36:s1:*:*:supported_preview:*:*:*cpe:2.3:a:isc:bind:9.16.43:s1:*:*:supported_preview:*:*:*cpe:2.3:a:isc:bind:9.16.45:s1:*:*:supported_preview:*:*:*cpe:2.3:a:netapp:active_iq_unified_manager:-:*:*:*:*:vmware_vsphere:*:*
Affected products
| Product | Versions |
|---|---|
| ISC · BIND 9 | affected 9.16.0 ≤ 9.16.45 ; affected 9.16.8-S1 ≤ 9.16.45-S1 |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| CERT-FR (ANSSI) | Licence Ouverte / Etalab 2.0 |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |