CVEfocus › CVE database › CVE-2023-2911

CVE-2023-2911Exceeding the recursive-clients quota may cause named to terminate unexpectedly when…

CVSS 7.5 HighEPSS 2.6% (higher than 86% of CVEs)Published 2023-06-21Updated 2025-02-13Assigner: isc

If the `recursive-clients` quota is reached on a BIND 9 resolver configured with both `stale-answer-enable yes;` and `stale-answer-client-timeout 0;`, a sequence of serve-stale-related lookups could cause `named` to loop and terminate unexpectedly due to a stack overflow. This issue affects BIND 9 versions 9.16.33 through 9.16.41, 9.18.7 through 9.18.15, 9.16.33-S1 through 9.16.41-S1, and 9.18.11-S1 through 9.18.15-S1.

What to do

Fixed builds are available from Alpine, Debian, Ubuntu: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

6Fixed
1Fix pending
70Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 24.04isc-dhcpNot affected
vulnerable_code_not_present
Ubuntu 22.04bind9Fixed1:9.18.12-0ubuntu0.22.04.2UBUNTU-CVE-2023-2911
Ubuntu 22.04bind9-libsNot affected
vulnerable_code_not_present
Ubuntu 22.04isc-dhcpNot affected
vulnerable_code_not_present
Ubuntu 20.04bind9Fixed1:9.16.1-0ubuntu2.15UBUNTU-CVE-2023-2911
Ubuntu 20.04bind9-libsNot affected
vulnerable_code_not_present
Ubuntu 20.04isc-dhcpNot affected
vulnerable_code_not_present
Ubuntu 18.04isc-dhcpNot affected
vulnerable_code_not_present
Ubuntu 16.04bind9Fix pending
Ubuntu 16.04isc-dhcpNot affected
vulnerable_code_not_present
Debian 14bind9Fixed1:9.18.16-1DEBIAN-CVE-2023-2911
Debian 13bind9Fixed1:9.18.16-1DEBIAN-CVE-2023-2911
Debian 12bind9Fixed1:9.18.16-1~deb12u1DEBIAN-CVE-2023-2911
Red Hat Enterprise Linux 9bindNot affected
Red Hat Enterprise Linux 9bind-chrootNot affected
Red Hat Enterprise Linux 9bind-develNot affected
Red Hat Enterprise Linux 9bind-dnssec-docNot affected
Red Hat Enterprise Linux 9bind-dnssec-utilsNot affected
Red Hat Enterprise Linux 9bind-docNot affected
Red Hat Enterprise Linux 9bind-libsNot affected
Red Hat Enterprise Linux 9bind-licenseNot affected
Red Hat Enterprise Linux 9bind-utilsNot affected
Red Hat Enterprise Linux 9dhcpNot affected
Red Hat Enterprise Linux 9dhcp-clientNot affected
Red Hat Enterprise Linux 9dhcp-commonNot affected
Red Hat Enterprise Linux 9dhcp-relayNot affected
Red Hat Enterprise Linux 9dhcp-serverNot affected
Red Hat Enterprise Linux 9python3-bindNot affected
Red Hat Enterprise Linux 8bindNot affected
Red Hat Enterprise Linux 8bind-chrootNot affected
Red Hat Enterprise Linux 8bind-develNot affected
Red Hat Enterprise Linux 8bind-export-develNot affected
Red Hat Enterprise Linux 8bind-export-libsNot affected
Red Hat Enterprise Linux 8bind-libsNot affected
Red Hat Enterprise Linux 8bind-libs-liteNot affected
Red Hat Enterprise Linux 8bind-licenseNot affected
Red Hat Enterprise Linux 8bind-lite-develNot affected
Red Hat Enterprise Linux 8bind-pkcs11Not affected
Red Hat Enterprise Linux 8bind-pkcs11-develNot affected
Red Hat Enterprise Linux 8bind-pkcs11-libsNot affected
Red Hat Enterprise Linux 8bind-pkcs11-utilsNot affected
Red Hat Enterprise Linux 8bind-sdbNot affected
Red Hat Enterprise Linux 8bind-sdb-chrootNot affected
Red Hat Enterprise Linux 8bind-utilsNot affected
Red Hat Enterprise Linux 8bind9.16Not affected
Red Hat Enterprise Linux 8bind9.16-chrootNot affected
Red Hat Enterprise Linux 8bind9.16-develNot affected
Red Hat Enterprise Linux 8bind9.16-dnssec-utilsNot affected
Red Hat Enterprise Linux 8bind9.16-docNot affected
Red Hat Enterprise Linux 8bind9.16-libsNot affected
Red Hat Enterprise Linux 8bind9.16-licenseNot affected
Red Hat Enterprise Linux 8bind9.16-utilsNot affected
Red Hat Enterprise Linux 8python3-bindNot affected
Red Hat Enterprise Linux 8python3-bind9.16Not affected
Red Hat Enterprise Linux 7bindNot affected
Red Hat Enterprise Linux 7bind-chrootNot affected
Red Hat Enterprise Linux 7bind-develNot affected
Red Hat Enterprise Linux 7bind-export-develNot affected
Red Hat Enterprise Linux 7bind-export-libsNot affected
Red Hat Enterprise Linux 7bind-libsNot affected
Red Hat Enterprise Linux 7bind-libs-liteNot affected
Red Hat Enterprise Linux 7bind-licenseNot affected
Red Hat Enterprise Linux 7bind-lite-develNot affected
Red Hat Enterprise Linux 7bind-pkcs11Not affected
Red Hat Enterprise Linux 7bind-pkcs11-develNot affected
Red Hat Enterprise Linux 7bind-pkcs11-libsNot affected
Red Hat Enterprise Linux 7bind-pkcs11-utilsNot affected
Red Hat Enterprise Linux 7bind-sdbNot affected
Red Hat Enterprise Linux 7bind-sdb-chrootNot affected
Red Hat Enterprise Linux 7bind-utilsNot affected
Red Hat Enterprise Linux 6bindNot affected
Red Hat Enterprise Linux 6bind-chrootNot affected
Red Hat Enterprise Linux 6bind-develNot affected
Red Hat Enterprise Linux 6bind-libsNot affected
Red Hat Enterprise Linux 6bind-sdbNot affected
Red Hat Enterprise Linux 6bind-utilsNot affected
Alpine Linux 3.15bindFixed9.16.42-r0ALPINE-CVE-2023-2911

What the vendor says

As published in the CVE record by isc, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Solution: Upgrade to the patched release most closely related to your current version of BIND 9: 9.16.42, 9.18.16, 9.16.42-S1, or 9.18.16-S1.

Workaround: Setting `stale-answer-client-timeout` to `off` or to a non-zero value prevents the issue. Users of versions 9.18.10, 9.16.36, 9.16.36-S1 or older who are unable to upgrade should set `stale-answer-client-timeout` to `off`; using a non-zero value with these older versions leaves `named` vulnerable to CVE-2022-3924. Although it is possible to set the `recursive-clients` limit to a high number to reduce the likelihood of this scenario, this is not recommended; the limit on `recursive-clients` is important for preventing exhaustion of server resources. The limit cannot be disabled entirely.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.