Vulnerability · Published Sep 20, 2023 · Assigned by isc
CVE-2023-3341A stack exhaustion flaw in control channel code may cause named to terminate unexpectedly
High 7.5
In plain English
A high-severity security flaw in BIND 9 from ISC. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 2.9% (higher than 87% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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 packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux:8 | bind | 32:9.11.36-8.el8_8.2 | ALSA-2023:5474 |
| AlmaLinux:9 | bind | 32:9.16.23-11.el9_2.2 | ALSA-2023:5689 |
| AlmaLinux:8 | bind-chroot | 32:9.11.36-8.el8_8.2 | ALSA-2023:5474 |
| AlmaLinux:9 | bind-chroot | 32:9.16.23-11.el9_2.2 | ALSA-2023:5689 |
| AlmaLinux:8 | bind-devel | 32:9.11.36-8.el8_8.2 | ALSA-2023:5474 |
| AlmaLinux:9 | bind-devel | 32:9.16.23-11.el9_2.2 | ALSA-2023:5689 |
| AlmaLinux:9 | bind-dnssec-doc | 32:9.16.23-11.el9_2.2 | ALSA-2023:5689 |
| AlmaLinux:9 | bind-dnssec-utils | 32:9.16.23-11.el9_2.2 | ALSA-2023:5689 |
| AlmaLinux:9 | bind-doc | 32:9.16.23-11.el9_2.2 | ALSA-2023:5689 |
| AlmaLinux:8 | bind-export-devel | 32:9.11.36-8.el8_8.2 | ALSA-2023:5474 |
| AlmaLinux:8 | bind-export-libs | 32:9.11.36-8.el8_8.2 | ALSA-2023:5474 |
| AlmaLinux:8 | bind-libs | 32:9.11.36-8.el8_8.2 | ALSA-2023:5474 |
| AlmaLinux:9 | bind-libs | 32:9.16.23-11.el9_2.2 | ALSA-2023:5689 |
| AlmaLinux:8 | bind-libs-lite | 32:9.11.36-8.el8_8.2 | ALSA-2023:5474 |
| AlmaLinux:8 | bind-license | 32:9.11.36-8.el8_8.2 | ALSA-2023:5474 |
| AlmaLinux:9 | bind-license | 32:9.16.23-11.el9_2.2 | ALSA-2023:5689 |
| AlmaLinux:8 | bind-lite-devel | 32:9.11.36-8.el8_8.2 | ALSA-2023:5474 |
| AlmaLinux:8 | bind-pkcs11 | 32:9.11.36-8.el8_8.2 | ALSA-2023:5474 |
| AlmaLinux:8 | bind-pkcs11-devel | 32:9.11.36-8.el8_8.2 | ALSA-2023:5474 |
| AlmaLinux:8 | bind-pkcs11-libs | 32:9.11.36-8.el8_8.2 | ALSA-2023:5474 |
| AlmaLinux:8 | bind-pkcs11-utils | 32:9.11.36-8.el8_8.2 | ALSA-2023:5474 |
| AlmaLinux:8 | bind-sdb | 32:9.11.36-8.el8_8.2 | ALSA-2023:5474 |
| AlmaLinux:8 | bind-sdb-chroot | 32:9.11.36-8.el8_8.2 | ALSA-2023:5474 |
| AlmaLinux:8 | bind-utils | 32:9.11.36-8.el8_8.2 | ALSA-2023:5474 |
| AlmaLinux:9 | bind-utils | 32:9.16.23-11.el9_2.2 | ALSA-2023:5689 |
| AlmaLinux:8 | bind9.16 | 32:9.16.23-0.14.el8_8.2.alma.1 | ALSA-2023:5460 |
| AlmaLinux:8 | bind9.16-chroot | 32:9.16.23-0.14.el8_8.2.alma.1 | ALSA-2023:5460 |
| AlmaLinux:8 | bind9.16-devel | 32:9.16.23-0.14.el8_8.2.alma.1 | ALSA-2023:5460 |
| AlmaLinux:8 | bind9.16-dnssec-utils | 32:9.16.23-0.14.el8_8.2.alma.1 | ALSA-2023:5460 |
| AlmaLinux:8 | bind9.16-doc | 32:9.16.23-0.14.el8_8.2.alma.1 | ALSA-2023:5460 |
| AlmaLinux:8 | bind9.16-libs | 32:9.16.23-0.14.el8_8.2.alma.1 | ALSA-2023:5460 |
| AlmaLinux:8 | bind9.16-license | 32:9.16.23-0.14.el8_8.2.alma.1 | ALSA-2023:5460 |
| AlmaLinux:8 | bind9.16-utils | 32:9.16.23-0.14.el8_8.2.alma.1 | ALSA-2023:5460 |
| AlmaLinux:8 | python3-bind | 32:9.11.36-8.el8_8.2 | ALSA-2023:5474 |
| AlmaLinux:9 | python3-bind | 32:9.16.23-11.el9_2.2 | ALSA-2023:5689 |
| AlmaLinux:8 | python3-bind9.16 | 32:9.16.23-0.14.el8_8.2.alma.1 | ALSA-2023:5460 |
| Alpine:v3.20 | bind | 9.18.19-r0 | ALPINE-CVE-2023-3341 |
| Alpine:v3.21 | bind | 9.18.19-r0 | ALPINE-CVE-2023-3341 |
| Alpine:v3.22 | bind | 9.18.19-r0 | ALPINE-CVE-2023-3341 |
| Alpine:v3.23 | bind | 9.18.19-r0 | ALPINE-CVE-2023-3341 |
| Alpine:v3.24 | bind | 9.18.19-r0 | ALPINE-CVE-2023-3341 |
| Debian:12 | bind9 | 1:9.18.19-1~deb12u1 | DSA-5504-1 |
| Debian:12 | bind9 | 1:9.18.19-1~deb12u1 | DEBIAN-CVE-2023-3341 |
| Debian:13 | bind9 | 1:9.19.17-1 | DEBIAN-CVE-2023-3341 |
| Debian:14 | bind9 | 1:9.19.17-1 | DEBIAN-CVE-2023-3341 |
| Rocky Linux:9 | bind | 2:9.16.23-11.el9_2.2 | RLSA-2023:5689 |
| Ubuntu:22.04:LTS | bind9 | 1:9.18.12-0ubuntu0.22.04.3 | USN-6390-1 |
| Ubuntu:22.04:LTS | bind9 | 1:9.18.12-0ubuntu0.22.04.3 | UBUNTU-CVE-2023-3341 |
| Ubuntu:24.04:LTS | bind9 | 1:9.18.18-0ubuntu2 | UBUNTU-CVE-2023-3341 |
Affected products (as reported)
Weakness: CWE-1325 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
References
- CVE-2023-3341 vendor-advisory
- 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/package-announce@lists.fedoraproject.org/message/IPJLLTJCSDJJII7IIZPLTBQNWP7MZH7F/
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/U35OARLQCPMVCBBPHWBXY5M6XJLD2TZ5/
- https://security.netapp.com/advisory/ntap-20231013-0003/
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/VSK5V4W4OHPM3JTJGWAQD6CZW7SFD75B/
- https://lists.debian.org/debian-lts-announce/2024/01/msg00021.html