CVE-2023-3341: A stack exhaustion flaw in control channel code may cause named to terminate unexpectedly
A stack exhaustion flaw in control channel code may cause named to terminate unexpectedly
Other sources
ISC BIND is vulnerable to a denial of service, caused by a stack exhaustion flaw in control channel code. By sending a specially crafted message over the control channel, a remote attacker could exploit this vulnerability to cause named to terminate.
— IBM
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.
— Ubuntu
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.
— Red Hat
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
debian/bind9to a version that resolves this vulnerability.Fixed in 1:9.19.17-1Fixed in 1:9.18.19-1~deb12u1Fixed in 1:9.16.44-1~deb11u1 - Upgrade
Upgrade
debian/bind9to a version that resolves this vulnerability.Fixed in 1:9.11.5.P4+dfsg-5.1+deb10u10Fixed in 1:9.16.44-1~deb11u1Fixed in 1:9.16.48-1Fixed in 1:9.18.19-1~deb12u1Fixed in 1:9.18.24-1Fixed in 1:9.19.21-1 - Upgrade
Upgrade
ubuntu/bind9to a version that resolves this vulnerability.Fixed in 1:9.11.3+dfsg-1ubuntu1.19+ - Upgrade
Upgrade
ubuntu/bind9to a version that resolves this vulnerability.Fixed in 1:9.16.1-0ubuntu2.16 - Upgrade
Upgrade
ubuntu/bind9to a version that resolves this vulnerability.Fixed in 1:9.18.12-0ubuntu0.22.04.3 - Upgrade
Upgrade
ubuntu/bind9to a version that resolves this vulnerability.Fixed in 1:9.18.12-1ubuntu1.2 - Upgrade
Upgrade
ubuntu/bind9to a version that resolves this vulnerability.Fixed in 1:9.18.18-0ubuntu2 - Upgrade
Upgrade
ubuntu/bind9to a version that resolves this vulnerability.Fixed in 1:9.9.5.dfsg-3ubuntu0.19+ - Upgrade
Upgrade
ubuntu/bind9to a version that resolves this vulnerability.Fixed in 9.16.44Fixed in 9.18.19Fixed in 9.19.17 - Upgrade
Upgrade
ubuntu/bind9to a version that resolves this vulnerability.Fixed in 1:9.10.3.dfsg. - Upgrade
Upgrade
redhat/bindto a version that resolves this vulnerability.Fixed in 9.16.44 - Upgrade
Upgrade
redhat/bindto a version that resolves this vulnerability.Fixed in 9.18.19 - Upgrade
Upgrade
redhat/bindto a version that resolves this vulnerability.Fixed in 9.19.17 - Upgrade
Upgrade
ISC BIND 9to a version that resolves this vulnerability.Fixed in 9.16.44 - Upgrade
Upgrade
ISC BIND 9to a version that resolves this vulnerability.Fixed in 9.18.19 - Upgrade
Upgrade
ISC BIND 9to a version that resolves this vulnerability.Fixed in 9.19.17 - Upgrade
Upgrade
ISC BIND 9to a version that resolves this vulnerability.Fixed in 9.16.44-S1 - Upgrade
Upgrade
ISC BIND 9to a version that resolves this vulnerability.Fixed in 9.18.19-S1
Event History
Parent advisories
This vulnerability appears in the following advisories.
Frequently Asked Questions
What is the severity of CVE-2023-3341?
The severity of CVE-2023-3341 is high with a severity value of 7.5.
How does CVE-2023-3341 affect ISC BIND?
CVE-2023-3341 affects ISC BIND versions 9.2.0 to 9.16.44 and 9.18.0 to 9.18.19, as well as versions 9.19.0 to 9.19.17.
How can I fix CVE-2023-3341 on Ubuntu?
To fix CVE-2023-3341 on Ubuntu, update to bind9 version 1:9.16.1-0ubuntu2.16 or 1:9.18.12-0ubuntu0.22.04.3 depending on your distribution.
How can I fix CVE-2023-3341 on Debian?
To fix CVE-2023-3341 on Debian, update to bind9 version 1:9.18.16-1~deb12u1 or 1:9.16.42-1~deb11u1 depending on your distribution.
Where can I find more information about CVE-2023-3341?
You can find more information about CVE-2023-3341 on the MITRE CVE database and the ISC Knowledge Base.