Vulnerability CVE-2023-3341: Information

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.

Severity: HIGH (7.5) Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Published: Sept. 20, 2023
Modified: Feb. 16, 2024
Error type identifier: CWE-787

Fixed packages

References to Advisories, Solutions, and Tools

    1. Configuration 1

      cpe:2.3:a:isc:bind:9.11.7:s1:*:*:supported_preview:*:*:*

      cpe:2.3:a:isc:bind:9.11.3:s1:*:*:supported_preview:*:*:*

      cpe:2.3:a:isc:bind:9.11.6:s1:*:*:supported_preview:*:*:*

      cpe:2.3:a:isc:bind:9.10.5:s1:*:*:supported_preview:*:*:*

      cpe:2.3:a:isc:bind:9.11.5:s5:*:*:supported_preview:*:*:*

      cpe:2.3:a:isc:bind:9.11.5:s3:*:*:supported_preview:*:*:*

      cpe:2.3:a:isc:bind:9.9.3:s1:*:*:supported_preview:*:*:*

      cpe:2.3:a:isc:bind:9.10.7:s1:*:*:supported_preview:*:*:*

      cpe:2.3:a:isc:bind:9.11.5:s6:*:*:supported_preview:*:*:*

      cpe:2.3:a:isc:bind:9.11.12:s1:*:*:supported_preview:*:*:*

      cpe:2.3:a:isc:bind:9.11.8:s1:*:*:supported_preview:*:*:*

      cpe:2.3:a:isc:bind:9.9.12:s1:*:*:supported_preview:*:*:*

      cpe:2.3:a:isc:bind:9.9.13:s1:*:*:supported_preview:*:*:*

      cpe:2.3:a:isc:bind:9.11.21:s1:*:*:supported_preview:*:*:*

      cpe:2.3:a:isc:bind:9.16.8:s1:*:*:supported_preview:*:*:*

      cpe:2.3:a:isc:bind:9.16.11:s1:*:*:supported_preview:*:*:*

      cpe:2.3:a:isc:bind:9.11.27:s1:*:*:supported_preview:*:*:*

      cpe:2.3:a:isc:bind:9.16.13:s1:*:*:supported_preview:*:*:*

      cpe:2.3:a:isc:bind:9.11.29:s1:*:*:supported_preview:*:*:*

      cpe:2.3:a:isc:bind:9.16.21:s1:*:*:supported_preview:*:*:*

      cpe:2.3:a:isc:bind:9.11.35:s1:*:*:supported_preview:*:*:*

      cpe:2.3:a:isc:bind:9.11.37:s1:*:*:supported_preview:*:*:*

      cpe:2.3:a:isc:bind:9.16.32:s1:*:*:supported_preview:*:*:*

      cpe:2.3:a:isc:bind:9.16.14:s1:*:*:supported_preview:*:*:*

      cpe:2.3:a:isc:bind:9.11.3:s4:*:*:supported_preview:*:*:*

      cpe:2.3:a:isc:bind:9.16.36:s1:*:*:supported_preview:*:*:*

      cpe:2.3:a:isc:bind:9.11.4:s1:*:*:supported_preview:*:*:*

      cpe:2.3:a:isc:bind:9.16.12:s1:*:*:supported_preview:*:*:*

      cpe:2.3:a:isc:bind:*:*:*:*:-:*:*:*
      Start including
      9.19.0
      End excliding
      9.19.17

      cpe:2.3:a:isc:bind:*:*:*:*:-:*:*:*
      Start including
      9.18.0
      End excliding
      9.18.19

      cpe:2.3:a:isc:bind:*:*:*:*:-:*:*:*
      Start including
      9.2.0
      End excliding
      9.16.44

      cpe:2.3:a:isc:bind:9.16.43:s1:*:*:supported_preview:*:*:*

      cpe:2.3:a:isc:bind:9.18.18:s1:*:*:supported_preview:*:*:*

      cpe:2.3:a:isc:bind:9.18.0:s1:*:*:supported_preview:*:*:*

      Configuration 2

      cpe:2.3:o:fedoraproject:fedora:37:*:*:*:*:*:*:*

      cpe:2.3:o:fedoraproject:fedora:38:*:*:*:*:*:*:*

      Configuration 3

      cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*

      cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*