CVE-2023-3341 · HIGH (CVSS 7.5)
Summary: The code that processes control channel messages sent to `named` calls certain functions recursively during packet parsing.
Details
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.
Severity
HIGH (CVSS 7.5) — vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Affected packages
- GIT github.com/isc-projects/bind9 [fd212b709580a72a8e168b632d7dc863e61a14e4 – cd2b4602b03027790908c2870b8a42c0870de489] [8db45afa1affcb823e68afdeddedf93e136f5d3e – c78cd3681c406955961d0b3c67ab6da7c6043aa8] [cab15392afd841fe3b0bacd894003376d857459a – 464cf8ce5e881e487e34666ea39170aaee29c246] [1c59cea1c0e26e2da3f2afb90200bfe9f7748c03 – eba38b89007f65bc6c1fdd2451034bbe3908b9a4]
- GIT gitlab.isc.org/isc-projects/bind9 [fd212b709580a72a8e168b632d7dc863e61a14e4 – cd2b4602b03027790908c2870b8a42c0870de489] [8db45afa1affcb823e68afdeddedf93e136f5d3e – c78cd3681c406955961d0b3c67ab6da7c6043aa8] [cab15392afd841fe3b0bacd894003376d857459a – 464cf8ce5e881e487e34666ea39170aaee29c246] [58d2f2e260133da87589aaebfb5ce5dea83188ee – eba38b89007f65bc6c1fdd2451034bbe3908b9a4]
References
- https://kb.isc.org/docs/cve-2023-3341
- https://lists.debian.org/debian-lts-announce/2024/01/msg00021.html
- https://lists.fedoraproject.org/archives/list/[email protected]/message/VSK5V4W4OHPM3JTJGWAQD6CZW7SFD75B/
- https://security.netapp.com/advisory/ntap-20231013-0003/
- https://www.debian.org/security/2023/dsa-5504
- http://www.openwall.com/lists/oss-security/2023/09/20/2
- https://lists.fedoraproject.org/archives/list/[email protected]/message/IPJLLTJCSDJJII7IIZPLTBQNWP7MZH7F/
- https://lists.fedoraproject.org/archives/list/[email protected]/message/U35OARLQCPMVCBBPHWBXY5M6XJLD2TZ5/