CVE-2023-3341
CVE-2023-3341 · A stack exhaustion flaw in control channel code may cause named to terminate unexpectedly
This page contains facts from public vulnerability sources. Check the original advisory before updating.
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.
CVSS 7.5 · High · EPSS 3.0% · Fix available
- Published
- Updated
Stack: system
Affected products and versions
bind 9
- Versions
- ≥ 9.2.0, ≤ 9.16.43: Affected (custom)
- ≥ 9.18.0, ≤ 9.18.18: Affected (custom)
- ≥ 9.19.0, ≤ 9.19.16: Affected (custom)
- ≥ 9.9.3-S1, ≤ 9.16.43-S1: Affected (custom)
- ≥ 9.18.0-S1, ≤ 9.18.18-S1: Affected (custom)
No fix published
bind9 Debian:12
- Versions
- 1:9.18.12-1
- 1:9.18.13-1
- 1:9.18.16-1
- 1:9.18.16-1~deb12u1
- 1:9.18.16-1~deb12u1~bpo11+1
- 1:9.18.19-1~deb12u1~bpo11+1
- Affected ranges
- ECOSYSTEM: < 1:9.18.19-1~deb12u1
Update to 1:9.18.19-1~deb12u1
bind9 Debian:13
- Affected ranges
- ECOSYSTEM: < 1:9.19.17-1
Update to 1:9.19.17-1
bind9 Debian:14
- Affected ranges
- ECOSYSTEM: < 1:9.19.17-1
Update to 1:9.19.17-1
bind9 Ubuntu:Pro:14.04:LTS
- Versions
- 1:9.9.3.dfsg.P2-4ubuntu1
- 1:9.9.3.dfsg.P2-4ubuntu2
- 1:9.9.3.dfsg.P2-4ubuntu3
- 1:9.9.5.dfsg-2
- 1:9.9.5.dfsg-3
- 1:9.9.5.dfsg-3ubuntu0.1
- 1:9.9.5.dfsg-3ubuntu0.2
- 1:9.9.5.dfsg-3ubuntu0.3
- 1:9.9.5.dfsg-3ubuntu0.4
- 1:9.9.5.dfsg-3ubuntu0.5
- 1:9.9.5.dfsg-3ubuntu0.6
- 1:9.9.5.dfsg-3ubuntu0.7
- 1:9.9.5.dfsg-3ubuntu0.8
- 1:9.9.5.dfsg-3ubuntu0.9
- 1:9.9.5.dfsg-3ubuntu0.10
- 1:9.9.5.dfsg-3ubuntu0.11
- 1:9.9.5.dfsg-3ubuntu0.12
- 1:9.9.5.dfsg-3ubuntu0.13
- 1:9.9.5.dfsg-3ubuntu0.14
- 1:9.9.5.dfsg-3ubuntu0.15
- 1:9.9.5.dfsg-3ubuntu0.16
- 1:9.9.5.dfsg-3ubuntu0.17
- 1:9.9.5.dfsg-3ubuntu0.18
- 1:9.9.5.dfsg-3ubuntu0.19
- 1:9.9.5.dfsg-3ubuntu0.19+esm1
- 1:9.9.5.dfsg-3ubuntu0.19+esm2
- 1:9.9.5.dfsg-3ubuntu0.19+esm3
- 1:9.9.5.dfsg-3ubuntu0.19+esm4
- 1:9.9.5.dfsg-3ubuntu0.19+esm5
- 1:9.9.5.dfsg-3ubuntu0.19+esm6
- 1:9.9.5.dfsg-3ubuntu0.19+esm7
- 1:9.9.5.dfsg-3ubuntu0.19+esm9
- 1:9.9.5.dfsg-3ubuntu0.19+esm10
- Affected ranges
- ECOSYSTEM: < 1:9.9.5.dfsg-3ubuntu0.19+esm11
Update to 1:9.9.5.dfsg-3ubuntu0.19+esm11
bind9 Ubuntu:Pro:16.04:LTS
- Versions
- 1:9.9.5.dfsg-11ubuntu1
- 1:9.9.5.dfsg-12
- 1:9.9.5.dfsg-12.1
- 1:9.9.5.dfsg-12.1ubuntu1
- 1:9.10.3.dfsg.P2-4
- 1:9.10.3.dfsg.P2-5
- 1:9.10.3.dfsg.P4-3
- 1:9.10.3.dfsg.P4-4
- 1:9.10.3.dfsg.P4-5
- 1:9.10.3.dfsg.P4-8
- 1:9.10.3.dfsg.P4-8ubuntu1
- 1:9.10.3.dfsg.P4-8ubuntu1.1
- 1:9.10.3.dfsg.P4-8ubuntu1.2
- 1:9.10.3.dfsg.P4-8ubuntu1.3
- 1:9.10.3.dfsg.P4-8ubuntu1.4
- 1:9.10.3.dfsg.P4-8ubuntu1.5
- 1:9.10.3.dfsg.P4-8ubuntu1.6
- 1:9.10.3.dfsg.P4-8ubuntu1.7
- 1:9.10.3.dfsg.P4-8ubuntu1.8
- 1:9.10.3.dfsg.P4-8ubuntu1.9
- 1:9.10.3.dfsg.P4-8ubuntu1.10
- 1:9.10.3.dfsg.P4-8ubuntu1.11
- 1:9.10.3.dfsg.P4-8ubuntu1.12
- 1:9.10.3.dfsg.P4-8ubuntu1.14
- 1:9.10.3.dfsg.P4-8ubuntu1.15
- 1:9.10.3.dfsg.P4-8ubuntu1.16
- 1:9.10.3.dfsg.P4-8ubuntu1.17
- 1:9.10.3.dfsg.P4-8ubuntu1.18
- 1:9.10.3.dfsg.P4-8ubuntu1.19
- 1:9.10.3.dfsg.P4-8ubuntu1.19+esm1
- 1:9.10.3.dfsg.P4-8ubuntu1.19+esm2
- 1:9.10.3.dfsg.P4-8ubuntu1.19+esm3
- 1:9.10.3.dfsg.P4-8ubuntu1.19+esm5
- 1:9.10.3.dfsg.P4-8ubuntu1.19+esm6
- Affected ranges
- ECOSYSTEM: < 1:9.10.3.dfsg.P4-8ubuntu1.19+esm7
Update to 1:9.10.3.dfsg.P4-8ubuntu1.19+esm7
bind9 Ubuntu:Pro:18.04:LTS
- Versions
- 1:9.10.3.dfsg.P4-12.6ubuntu1
- 1:9.11.2.P1-1ubuntu2
- 1:9.11.2.P1-1ubuntu3
- 1:9.11.2.P1-1ubuntu4
- 1:9.11.2.P1-1ubuntu5
- 1:9.11.3+dfsg-1ubuntu1
- 1:9.11.3+dfsg-1ubuntu1.1
- 1:9.11.3+dfsg-1ubuntu1.2
- 1:9.11.3+dfsg-1ubuntu1.3
- 1:9.11.3+dfsg-1ubuntu1.5
- 1:9.11.3+dfsg-1ubuntu1.7
- 1:9.11.3+dfsg-1ubuntu1.8
- 1:9.11.3+dfsg-1ubuntu1.9
- 1:9.11.3+dfsg-1ubuntu1.10
- 1:9.11.3+dfsg-1ubuntu1.11
- 1:9.11.3+dfsg-1ubuntu1.12
- 1:9.11.3+dfsg-1ubuntu1.13
- 1:9.11.3+dfsg-1ubuntu1.14
- 1:9.11.3+dfsg-1ubuntu1.15
- 1:9.11.3+dfsg-1ubuntu1.16
- 1:9.11.3+dfsg-1ubuntu1.17
- 1:9.11.3+dfsg-1ubuntu1.18
- 1:9.11.3+dfsg-1ubuntu1.19+esm1
- Affected ranges
- ECOSYSTEM: < 1:9.11.3+dfsg-1ubuntu1.19+esm2
Update to 1:9.11.3+dfsg-1ubuntu1.19+esm2
bind9 Ubuntu:20.04:LTS
- Versions
- 1:9.11.5.P4+dfsg-5.1ubuntu2
- 1:9.11.5.P4+dfsg-5.1ubuntu3
- 1:9.11.5.P4+dfsg-5.1ubuntu4
- 1:9.11.5.P4+dfsg-5.1ubuntu5
- 1:9.11.14+dfsg-1ubuntu1
- 1:9.11.14+dfsg-3ubuntu1
- 1:9.16.0-1ubuntu3
- 1:9.16.0-1ubuntu4
- 1:9.16.0-1ubuntu5
- 1:9.16.1-0ubuntu1
- 1:9.16.1-0ubuntu2
- 1:9.16.1-0ubuntu2.1
- 1:9.16.1-0ubuntu2.2
- 1:9.16.1-0ubuntu2.3
- 1:9.16.1-0ubuntu2.4
- 1:9.16.1-0ubuntu2.6
- 1:9.16.1-0ubuntu2.7
- 1:9.16.1-0ubuntu2.8
- 1:9.16.1-0ubuntu2.9
- 1:9.16.1-0ubuntu2.10
- 1:9.16.1-0ubuntu2.11
- 1:9.16.1-0ubuntu2.12
- 1:9.16.1-0ubuntu2.14
- 1:9.16.1-0ubuntu2.15
- Affected ranges
- ECOSYSTEM: < 1:9.16.1-0ubuntu2.16
Update to 1:9.16.1-0ubuntu2.16
bind9 Ubuntu:22.04:LTS
- Versions
- 1:9.16.15-1ubuntu1
- 1:9.16.15-1ubuntu2
- 1:9.16.15-1ubuntu3
- 1:9.18.0-2ubuntu1
- 1:9.18.0-2ubuntu2
- 1:9.18.0-2ubuntu3
- 1:9.18.1-1ubuntu1
- 1:9.18.1-1ubuntu1.1
- 1:9.18.1-1ubuntu1.2
- 1:9.18.1-1ubuntu1.3
- 1:9.18.12-0ubuntu0.22.04.1
- 1:9.18.12-0ubuntu0.22.04.2
- Affected ranges
- ECOSYSTEM: < 1:9.18.12-0ubuntu0.22.04.3
Update to 1:9.18.12-0ubuntu0.22.04.3
bind9 Ubuntu:24.04:LTS
- Affected ranges
- ECOSYSTEM: < 1:9.18.18-0ubuntu2
Update to 1:9.18.18-0ubuntu2
Original sources
- https://kb.isc.org/docs/cve-2023-3341
- http://www.openwall.com/lists/oss-security/2023/09/20/2
- https://www.debian.org/security/2023/dsa-5504
- https://lists.fedoraproject.org/archives/list/[email protected]/message/IPJLLTJCSDJJII7IIZPLTBQNWP7MZH7F/
- https://lists.fedoraproject.org/archives/list/[email protected]/message/U35OARLQCPMVCBBPHWBXY5M6XJLD2TZ5/
- https://security.netapp.com/advisory/ntap-20231013-0003/
- https://lists.fedoraproject.org/archives/list/[email protected]/message/VSK5V4W4OHPM3JTJGWAQD6CZW7SFD75B/
- https://lists.debian.org/debian-lts-announce/2024/01/msg00021.html
- https://nvd.nist.gov/vuln/detail/CVE-2023-3341