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.

Severity (CVSS 3.1)7.5High
Exploit odds (30 days)2.9%top 12.8% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

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

EcosystemPackageFixed inAdvisory
AlmaLinux:8bind32:9.11.36-8.el8_8.2ALSA-2023:5474
AlmaLinux:9bind32:9.16.23-11.el9_2.2ALSA-2023:5689
AlmaLinux:8bind-chroot32:9.11.36-8.el8_8.2ALSA-2023:5474
AlmaLinux:9bind-chroot32:9.16.23-11.el9_2.2ALSA-2023:5689
AlmaLinux:8bind-devel32:9.11.36-8.el8_8.2ALSA-2023:5474
AlmaLinux:9bind-devel32:9.16.23-11.el9_2.2ALSA-2023:5689
AlmaLinux:9bind-dnssec-doc32:9.16.23-11.el9_2.2ALSA-2023:5689
AlmaLinux:9bind-dnssec-utils32:9.16.23-11.el9_2.2ALSA-2023:5689
AlmaLinux:9bind-doc32:9.16.23-11.el9_2.2ALSA-2023:5689
AlmaLinux:8bind-export-devel32:9.11.36-8.el8_8.2ALSA-2023:5474
AlmaLinux:8bind-export-libs32:9.11.36-8.el8_8.2ALSA-2023:5474
AlmaLinux:8bind-libs32:9.11.36-8.el8_8.2ALSA-2023:5474
AlmaLinux:9bind-libs32:9.16.23-11.el9_2.2ALSA-2023:5689
AlmaLinux:8bind-libs-lite32:9.11.36-8.el8_8.2ALSA-2023:5474
AlmaLinux:8bind-license32:9.11.36-8.el8_8.2ALSA-2023:5474
AlmaLinux:9bind-license32:9.16.23-11.el9_2.2ALSA-2023:5689
AlmaLinux:8bind-lite-devel32:9.11.36-8.el8_8.2ALSA-2023:5474
AlmaLinux:8bind-pkcs1132:9.11.36-8.el8_8.2ALSA-2023:5474
AlmaLinux:8bind-pkcs11-devel32:9.11.36-8.el8_8.2ALSA-2023:5474
AlmaLinux:8bind-pkcs11-libs32:9.11.36-8.el8_8.2ALSA-2023:5474
AlmaLinux:8bind-pkcs11-utils32:9.11.36-8.el8_8.2ALSA-2023:5474
AlmaLinux:8bind-sdb32:9.11.36-8.el8_8.2ALSA-2023:5474
AlmaLinux:8bind-sdb-chroot32:9.11.36-8.el8_8.2ALSA-2023:5474
AlmaLinux:8bind-utils32:9.11.36-8.el8_8.2ALSA-2023:5474
AlmaLinux:9bind-utils32:9.16.23-11.el9_2.2ALSA-2023:5689
AlmaLinux:8bind9.1632:9.16.23-0.14.el8_8.2.alma.1ALSA-2023:5460
AlmaLinux:8bind9.16-chroot32:9.16.23-0.14.el8_8.2.alma.1ALSA-2023:5460
AlmaLinux:8bind9.16-devel32:9.16.23-0.14.el8_8.2.alma.1ALSA-2023:5460
AlmaLinux:8bind9.16-dnssec-utils32:9.16.23-0.14.el8_8.2.alma.1ALSA-2023:5460
AlmaLinux:8bind9.16-doc32:9.16.23-0.14.el8_8.2.alma.1ALSA-2023:5460
AlmaLinux:8bind9.16-libs32:9.16.23-0.14.el8_8.2.alma.1ALSA-2023:5460
AlmaLinux:8bind9.16-license32:9.16.23-0.14.el8_8.2.alma.1ALSA-2023:5460
AlmaLinux:8bind9.16-utils32:9.16.23-0.14.el8_8.2.alma.1ALSA-2023:5460
AlmaLinux:8python3-bind32:9.11.36-8.el8_8.2ALSA-2023:5474
AlmaLinux:9python3-bind32:9.16.23-11.el9_2.2ALSA-2023:5689
AlmaLinux:8python3-bind9.1632:9.16.23-0.14.el8_8.2.alma.1ALSA-2023:5460
Alpine:v3.20bind9.18.19-r0ALPINE-CVE-2023-3341
Alpine:v3.21bind9.18.19-r0ALPINE-CVE-2023-3341
Alpine:v3.22bind9.18.19-r0ALPINE-CVE-2023-3341
Alpine:v3.23bind9.18.19-r0ALPINE-CVE-2023-3341
Alpine:v3.24bind9.18.19-r0ALPINE-CVE-2023-3341
Debian:12bind91:9.18.19-1~deb12u1DSA-5504-1
Debian:12bind91:9.18.19-1~deb12u1DEBIAN-CVE-2023-3341
Debian:13bind91:9.19.17-1DEBIAN-CVE-2023-3341
Debian:14bind91:9.19.17-1DEBIAN-CVE-2023-3341
Rocky Linux:9bind2:9.16.23-11.el9_2.2RLSA-2023:5689
Ubuntu:22.04:LTSbind91:9.18.12-0ubuntu0.22.04.3USN-6390-1
Ubuntu:22.04:LTSbind91:9.18.12-0ubuntu0.22.04.3UBUNTU-CVE-2023-3341
Ubuntu:24.04:LTSbind91:9.18.18-0ubuntu2UBUNTU-CVE-2023-3341

Affected products (as reported)

VendorProductVersions
ISC BIND 9 9.2.0 – through 9.16.439.18.0 – through 9.18.189.19.0 – through 9.19.169.9.3-S1 – through 9.16.43-S19.18.0-S1 – through 9.18.18-S1

Weakness: CWE-1325 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

References