Skip to content
OpenAdvisories
High · 7.5 CVE-2023-6516 EUVD-2023-58747GHSA-8mxm-4gjm-vrc7

Specific recursive query patterns may lead to an out-of-memory condition

Published Feb 13, 2024 · Updated Feb 13, 2025 · Assigned by isc

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.

Affected products

VendorProductAffectedFixed
ISC BIND 9 9.16.0 – ≤ 9.16.45, 9.16.8-S1 – ≤ 9.16.45-S1 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 bind9 1:9.17.19-1 —
Debian 13 bind9 1:9.17.19-1 —
Debian 12 bind9 1:9.17.19-1 —
ReleasePackageFixed inAdvisory
Ubuntu 20.04 LTS bind9 1:9.16.48-0ubuntu0.20.04.1 USN-6642-1
ReleasePackageFixed inAdvisory
RHEL 9 bind +9 32:9.16.23-14.el9_3.4 RHSA-2024:2551, RHSA-2024:1789
RHEL 9 bind-dyndb-ldap 11.9-8.el9_3.3 RHSA-2024:2551, RHSA-2024:1789
RHEL 8 bind9.16 +8 32:9.16.23-0.16.el8_9.2 RHSA-2024:1781
Show 4 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
RHEL 9.2 EUS bind +9 32:9.16.23-11.el9_2.4 RHSA-2024:1803
RHEL 9.2 EUS bind-dyndb-ldap 11.9-8.el9_2.2 RHSA-2024:1803
RHEL 9.0 EUS bind +8 32:9.16.23-1.el9_0.5 RHSA-2024:1800
RHEL 9.0 EUS bind-dyndb-ldap 11.9-7.el9_0.1 RHSA-2024:1800
RHEL 8.8 EUS bind9.16 +8 32:9.16.23-0.14.el8_8.4 RHSA-2024:1648
RHEL 8.6 EUS bind9.16 +8 32:9.16.23-0.7.el8_6.5 RHSA-2024:1647

AlmaLinux

Errata ↗
ReleasePackageFixed inAdvisory
AlmaLinux 9 bind +9 32:9.16.23-14.el9_3.4 ALSA-2024:2551, ALSA-2024:1789
AlmaLinux 9 bind-dyndb-ldap 11.9-8.el9_3.3.alma.1 ALSA-2024:2551, ALSA-2024:1789
AlmaLinux 8 bind9.16 +8 32:9.16.23-0.16.el8_9.2.alma.1 ALSA-2024:1781

Rocky Linux

Errata ↗
ReleasePackageFixed inAdvisory
Rocky Linux 9 bind 2:9.16.23-18.el9_4.1 RLSA-2024:2551
Rocky Linux 9 bind-dyndb-ldap 11.9-9.el9_4 RLSA-2024:2551
Rocky Linux 8 bind9.16 2:9.16.23-0.16.el8_9.2 RLSA-2024:1781
ReleasePackageFixed inAdvisory
SLES 15 SP6 bind 9.16.6-150300.22.44.1 SUSE-SU-2024:1982-1
SLES 15 SP5 bind 9.16.48-150500.8.16.1 SUSE-SU-2024:0574-1
SLES 15 SP4 bind 9.16.48-150400.5.40.1 SUSE-SU-2024:0590-1
SLES 15 SP3 bind 9.16.6-150300.22.44.1 SUSE-SU-2024:1982-1
SLES 15 SP2 bind 9.16.6-150000.12.74.2 SUSE-SU-2024:2033-1
SLES 15 SP2 libuv 1.18.0-150000.3.2.1 SUSE-SU-2024:2033-1
Show 10 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES for SAP 15 SP4 bind 9.16.48-150400.5.40.1 SUSE-SU-2024:0590-1
SLES for SAP 15 SP3 bind 9.16.6-150300.22.44.1 SUSE-SU-2024:1982-1
SLES for SAP 15 SP2 bind 9.16.6-150000.12.74.2 SUSE-SU-2024:2033-1
SLES for SAP 15 SP2 libuv 1.18.0-150000.3.2.1 SUSE-SU-2024:2033-1
SLE HPC 15 SP4 bind 9.16.48-150400.5.40.1 SUSE-SU-2024:0590-1
SLE HPC 15 SP3 bind 9.16.6-150300.22.44.1 SUSE-SU-2024:1982-1
SLE HPC 15 SP2 bind 9.16.6-150000.12.74.2 SUSE-SU-2024:2033-1
SLE HPC 15 SP2 libuv 1.18.0-150000.3.2.1 SUSE-SU-2024:2033-1
SUSE Manager Server 4.3 bind 9.16.48-150400.5.40.1 SUSE-SU-2024:0590-1
SUSE Manager Proxy 4.3 bind 9.16.48-150400.5.40.1 SUSE-SU-2024:0590-1
SUSE Manager Client Tools for SLE Micro 5 bind 9.16.6-150000.12.74.2 SUSE-SU-2024:2033-1
SUSE Manager Client Tools for SLE Micro 5 libuv 1.18.0-150000.3.2.1 SUSE-SU-2024:2033-1
SUSE Enterprise Storage 7.1 bind 9.16.6-150300.22.44.1 SUSE-SU-2024:1982-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed bind 9.18.24-1.1 openSUSE-SU-2024:13687-1
openSUSE Leap 15.5 bind 9.16.48-150500.8.16.1 SUSE-SU-2024:0574-1
ReleasePackageFixed inAdvisory
Alpine v3.24 bind 9.18.24-r0 —
Alpine v3.23 bind 9.18.24-r0 —
Alpine v3.22 bind 9.18.24-r0 —
Alpine v3.21 bind 9.18.24-r0 —
Alpine v3.20 bind 9.18.24-r0 —
Show 4 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Alpine v3.19 bind 9.18.24-r0 —
Alpine v3.18 bind 9.18.24-r0 —
Alpine v3.17 bind 9.18.24-r0 —
Alpine v3.16 bind 9.16.48-r0 —

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2023 bind +17 32:9.16.48-1.amzn2023.0.1 ALAS2023-2024-550

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 3 bind 9.19.21-1 —

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 9 bind +9 32:9.16.23-14.el9_3.4 ELSA-2024-2551, ELSA-2024-1789
Oracle Linux 9 bind-dyndb-ldap 11.9-8.el9_3.3 ELSA-2024-2551, ELSA-2024-1789
Oracle Linux 8 bind9.16 +8 32:9.16.23-0.16.el8_9.2 ELSA-2024-1781

Wolfi

ReleasePackageFixed inAdvisory
Wolfi rolling bind 9.18.24-r0 —

Advisories 28

References