Bug 2263911 (CVE-2023-6516) - CVE-2023-6516 bind9: Specific recursive query patterns may lead to an out-of-memory condition
Summary: CVE-2023-6516 bind9: Specific recursive query patterns may lead to an out-of-...
Keywords:
Status: NEW
Alias: CVE-2023-6516
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 2264065 2264362
Blocks: 2263895
TreeView+ depends on / blocked
 
Reported: 2024-02-12 18:38 UTC by Marco Benatto
Modified: 2024-04-30 14:37 UTC (History)
1 user (show)

Fixed In Version: bind 9.16.48
Doc Type: If docs needed, set a value
Doc Text:
A flaw was found in the `named` application, part of the bind9 package, which uses a cache database to speeds up DNS queries. To maintain its efficiency when running as a recursive name resolver, `named` performs a cache database clean up under certain conditions. This issue may allow an attacker to craft a continuous set of crafted queries, which can induce `named` to trigger the cleanup process with a high frequency, making the internal cleanup items queue to grow indefinitely. This can lead to an uncontrolled memory consumption and resource starvation, potentially making `named` consume all available memory in the host, leading to a Denial of Service of the targeted system.
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2024:1792 0 None None None 2024-04-11 19:32:15 UTC
Red Hat Product Errata RHSA-2024:1647 0 None None None 2024-04-02 20:49:42 UTC
Red Hat Product Errata RHSA-2024:1648 0 None None None 2024-04-02 20:50:46 UTC
Red Hat Product Errata RHSA-2024:1781 0 None None None 2024-04-11 10:59:46 UTC
Red Hat Product Errata RHSA-2024:1789 0 None None None 2024-04-11 17:43:12 UTC
Red Hat Product Errata RHSA-2024:1800 0 None None None 2024-04-15 01:26:32 UTC
Red Hat Product Errata RHSA-2024:1803 0 None None None 2024-04-15 01:47:24 UTC
Red Hat Product Errata RHSA-2024:2551 0 None None None 2024-04-30 14:37:42 UTC

Description Marco Benatto 2024-02-12 18:38:02 UTC
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.

Comment 3 Dhananjay Arunesh 2024-02-13 16:45:15 UTC
Created bind tracking bugs for this issue:

Affects: fedora-all [bug 2264065]

Comment 5 Dhananjay Arunesh 2024-02-15 08:16:15 UTC
Created dhcp tracking bugs for this issue:

Affects: fedora-all [bug 2264362]

Comment 7 errata-xmlrpc 2024-04-02 20:49:41 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8.6 Extended Update Support

Via RHSA-2024:1647 https://access.redhat.com/errata/RHSA-2024:1647

Comment 8 errata-xmlrpc 2024-04-02 20:50:45 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8.8 Extended Update Support

Via RHSA-2024:1648 https://access.redhat.com/errata/RHSA-2024:1648

Comment 9 errata-xmlrpc 2024-04-11 10:59:44 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

Via RHSA-2024:1781 https://access.redhat.com/errata/RHSA-2024:1781

Comment 10 errata-xmlrpc 2024-04-11 17:43:10 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9

Via RHSA-2024:1789 https://access.redhat.com/errata/RHSA-2024:1789

Comment 11 errata-xmlrpc 2024-04-15 01:26:30 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9.0 Extended Update Support

Via RHSA-2024:1800 https://access.redhat.com/errata/RHSA-2024:1800

Comment 12 errata-xmlrpc 2024-04-15 01:47:23 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9.2 Extended Update Support

Via RHSA-2024:1803 https://access.redhat.com/errata/RHSA-2024:1803

Comment 13 errata-xmlrpc 2024-04-30 14:37:41 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9

Via RHSA-2024:2551 https://access.redhat.com/errata/RHSA-2024:2551


Note You need to log in before you can comment on or make changes to this bug.