CVE-2023-6516: Specific recursive query patterns may lead to an out-of-memory condition

Published Feb 12, 2024
·
Updated

Last updated 24 July 2024

Other sources

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.

MITRE

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.

Red Hat

Affected Software

14 affected componentsFixes available
redhat/bind<9.16.48
9.16.48
ISC BIND>=9.16.0<=9.16.45
ISC BIND=9.16.8-s1
ISC BIND=9.16.11-s1
ISC BIND=9.16.12-s1
ISC BIND=9.16.13-s1
ISC BIND=9.16.14-s1
ISC BIND=9.16.21-s1
ISC BIND=9.16.32-s1
ISC BIND=9.16.36-s1
ISC BIND=9.16.43-s1
ISC BIND=9.16.45-s1
NetApp Active Iq Unified Manager Vmware Vsphere
debian/bind9
1:9.16.50-1~deb11u21:9.16.50-1~deb11u31:9.18.33-1~deb12u21:9.20.8-6

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade debian/bind9 to a version that resolves this vulnerability.

    Fixed in 1:9.16.50-1~deb11u2Fixed in 1:9.16.50-1~deb11u3Fixed in 1:9.18.33-1~deb12u2Fixed in 1:9.20.8-6
  2. Upgrade

    Upgrade redhat/bind to a version that resolves this vulnerability.

    Fixed in 9.16.48
  3. Upgrade

    Upgrade ISC BIND 9 (named recursive resolver) to a version that resolves this vulnerability.

    Fixed in 9.16.48
  4. Upgrade

    Upgrade ISC BIND 9 (named recursive resolver) to a version that resolves this vulnerability.

    Fixed in 9.16.48-S1

Event History

Feb 12, 2024
Data Sourced
via Red Hat·06:38 PM
DescriptionSeverityAffected Software
Feb 13, 2024
CVE Published
via MITRE·02:05 PM
Data Sourced
via MITRE·02:05 PM
RemedyDescriptionSeverity
May 29, 2024
Data Sourced
via Launchpad·04:06 PM
Description
Sep 14, 2024
Data Sourced
via Ubuntu·04:21 PM
RemedyDescriptionSeverityAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2023-6516?

CVE-2023-6516 has been classified as a moderate severity vulnerability.

2

What software is affected by CVE-2023-6516?

CVE-2023-6516 affects various versions of ISC BIND including versions from 9.16.0 up to 9.16.45.

3

How do I fix CVE-2023-6516?

To fix CVE-2023-6516, update ISC BIND to version 9.16.48 or later.

4

Can CVE-2023-6516 be exploited remotely?

Yes, CVE-2023-6516 can be exploited remotely under certain conditions.

5

Is there a workaround for CVE-2023-6516?

There are no known workarounds for CVE-2023-6516; updating the software is the recommended action.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203