Skip to content
OpenAdvisories
High · 7.5 CVE-2023-3341 EUVD-2023-44009GHSA-w5c6-c6wv-54h7

A stack exhaustion flaw in control channel code may cause named to terminate unexpectedly

Published Sep 20, 2023 · Updated Dec 2, 2025 · Assigned by isc

Description

The code that processes control channel messages sent to `named` calls certain functions recursively during packet parsing. Recursion depth is only limited by the maximum accepted packet size; depending on the environment, this may cause the packet-parsing code to run out of available stack memory, causing `named` to terminate unexpectedly. Since each incoming control channel message is fully parsed before its contents are authenticated, exploiting this flaw does not require the attacker to hold a valid RNDC key; only network access to the control channel's configured TCP port is necessary.
This issue affects BIND 9 versions 9.2.0 through 9.16.43, 9.18.0 through 9.18.18, 9.19.0 through 9.19.16, 9.9.3-S1 through 9.16.43-S1, and 9.18.0-S1 through 9.18.18-S1.

Affected products

VendorProductAffectedFixed
ISC BIND 9 9.2.0 – ≤ 9.16.43, 9.18.0 – ≤ 9.18.18, 9.19.0 – ≤ 9.19.16, 9.9.3-S1 – ≤ 9.16.43-S1, 9.18.0-S1 – ≤ 9.18.18-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.19.17-1 —
Debian 13 bind9 1:9.19.17-1 —
Debian 12 bind9 1:9.18.19-1~deb12u1 DSA-5504-1
Debian 11 bind9 1:9.16.44-1~deb11u1 DSA-5504-1
Debian 10 bind9 1:9.11.5.P4+dfsg-5.1+deb10u10 DLA-3726-1
ReleasePackageFixed inAdvisory
Ubuntu 24.04 LTS bind9 1:9.18.18-0ubuntu2 —
Ubuntu 22.04 LTS bind9 1:9.18.12-0ubuntu0.22.04.3 USN-6390-1
Ubuntu 20.04 LTS bind9 1:9.16.1-0ubuntu2.16 USN-6390-1
Show 3 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 18.04 LTS bind9 1:9.11.3+dfsg-1ubuntu1.19+esm2 USN-6421-1
Ubuntu Pro 16.04 LTS bind9 1:9.10.3.dfsg.P4-8ubuntu1.19+esm7 USN-6421-1
Ubuntu Pro 14.04 LTS bind9 1:9.9.5.dfsg-3ubuntu0.19+esm11 USN-6421-1
ReleasePackageFixed inAdvisory
RHEL 9 bind +9 32:9.16.23-11.el9_2.2 RHSA-2023:5689
RHEL 8 bind +16 32:9.11.36-8.el8_8.2 RHSA-2023:5474
RHEL 8 bind9.16 +8 32:9.16.23-0.14.el8_8.2 RHSA-2023:5460
RHEL 7 bind +15 32:9.11.4-26.P2.el7_9.15 RHSA-2023:5691
Show 10 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
RHEL 9.0 EUS bind +8 32:9.16.23-1.el9_0.3 RHSA-2023:5690
RHEL 8.6 EUS bind +16 32:9.11.36-3.el8_6.5 RHSA-2023:5473
RHEL 8.6 EUS bind9.16 +8 32:9.16.23-0.7.el8_6.3 RHSA-2023:5771
RHEL 8.4 TUS bind +16 32:9.11.26-4.el8_4.3 RHSA-2023:5529
RHEL 8.4 E4S bind +16 32:9.11.26-4.el8_4.3 RHSA-2023:5529
RHEL 8.4 AUS bind +16 32:9.11.26-4.el8_4.3 RHSA-2023:5529
RHEL 8.2 TUS bind +16 32:9.11.13-6.el8_2.6 RHSA-2023:5527
RHEL 8.2 E4S bind +16 32:9.11.13-6.el8_2.6 RHSA-2023:5527
RHEL 8.2 AUS bind +16 32:9.11.13-6.el8_2.6 RHSA-2023:5527
RHEL 8.1 E4S bind +16 32:9.11.4-26.P2.el8_1.8 RHSA-2023:5526
RHEL 6 ELS bind +5 32:9.8.2-0.68.rc1.el6_10.14 RHSA-2025:0039
RHEL 6 ELS bind-dyndb-ldap 2.3-8.el6_10.1 RHSA-2025:0039

AlmaLinux

Errata ↗
ReleasePackageFixed inAdvisory
AlmaLinux 9 bind +9 32:9.16.23-11.el9_2.2 ALSA-2023:5689
AlmaLinux 8 bind +16 32:9.11.36-8.el8_8.2 ALSA-2023:5474
AlmaLinux 8 bind9.16 +8 32:9.16.23-0.14.el8_8.2.alma.1 ALSA-2023:5460

Rocky Linux

Errata ↗
ReleasePackageFixed inAdvisory
Rocky Linux 9 bind 2:9.16.23-11.el9_2.2 RLSA-2023:5689
ReleasePackageFixed inAdvisory
SLES 15 SP5 bind 9.16.44-150500.8.12.2 SUSE-SU-2023:3821-1
SLES 15 SP4 bind 9.16.44-150400.5.37.2 SUSE-SU-2023:3737-1
SLES 15 SP3 bind 9.16.6-150300.22.41.1 SUSE-SU-2023:3934-1
SLES 15 SP2 bind 9.16.6-150000.12.71.1 SUSE-SU-2023:3805-1
SLES 15 SP1 bind 9.16.6-150000.12.71.1 SUSE-SU-2023:3805-1
Show 12 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES 12 SP5 bind 9.11.22-3.49.1 SUSE-SU-2023:3796-1
SLES for SAP 15 SP3 bind 9.16.6-150300.22.41.1 SUSE-SU-2023:3934-1
SLES for SAP 15 SP2 bind 9.16.6-150000.12.71.1 SUSE-SU-2023:3805-1
SLES for SAP 15 SP1 bind 9.16.6-150000.12.71.1 SUSE-SU-2023:3805-1
SLES for SAP 12 SP5 bind 9.11.22-3.49.1 SUSE-SU-2023:3796-1
SLE HPC 15 SP3 bind 9.16.6-150300.22.41.1 SUSE-SU-2023:3934-1
SLE HPC 15 SP2 bind 9.16.6-150000.12.71.1 SUSE-SU-2023:3805-1
SLE HPC 15 SP1 bind 9.16.6-150000.12.71.1 SUSE-SU-2023:3805-1
SUSE Manager Server 4.2 bind 9.16.6-150300.22.41.1 SUSE-SU-2023:3934-1
SUSE Manager Proxy 4.2 bind 9.16.6-150300.22.41.1 SUSE-SU-2023:3934-1
SUSE Manager Client Tools for SLE Micro 5 bind 9.16.6-150000.12.71.1 SUSE-SU-2023:3805-1
SUSE Enterprise Storage 7.1 bind 9.16.6-150300.22.41.1 SUSE-SU-2023:3934-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed bind 9.18.19-1.1 openSUSE-SU-2024:13249-1
openSUSE Leap 15.5 bind 9.16.44-150500.8.12.2 SUSE-SU-2023:3821-1
openSUSE Leap 15.4 bind 9.16.6-150000.12.71.1 SUSE-SU-2023:3805-1, SUSE-SU-2023:3737-1
ReleasePackageFixed inAdvisory
Alpine v3.24 bind 9.18.19-r0 —
Alpine v3.23 bind 9.18.19-r0 —
Alpine v3.22 bind 9.18.19-r0 —
Alpine v3.21 bind 9.18.19-r0 —
Alpine v3.20 bind 9.18.19-r0 —
Show 5 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Alpine v3.19 bind 9.18.19-r0 —
Alpine v3.18 bind 9.18.19-r0 —
Alpine v3.17 bind 9.18.19-r0 —
Alpine v3.16 bind 9.16.44-r0 —
Alpine v3.15 bind 9.16.44-r0 —

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2023 bind +17 32:9.16.42-1.amzn2023.0.5 ALAS2023-2023-372
Amazon Linux 2 bind +15 32:9.11.4-26.P2.amzn2.13.5 ALAS2-2023-2273

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 3 bind 9.16.44-1 —
Azure Linux 2 (CBL-Mariner) bind 9.16.44-1 —

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 9 bind +9 32:9.16.23-11.el9_2.2 ELSA-2023-5689
Oracle Linux 8 bind +16 32:9.11.36-8.el8_8.2 ELSA-2023-5474
Oracle Linux 8 bind9.16 +8 32:9.16.23-0.14.el8_8.2 ELSA-2023-5460
Oracle Linux 7 bind +15 32:9.11.4-26.P2.el7_9.15 ELSA-2023-5691

Advisories 39

References