CVE-2023-2911Exceeding the recursive-clients quota may cause named to terminate unexpectedly when…
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
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.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 24.04 | isc-dhcp | Not affected vulnerable_code_not_present | ||
| Ubuntu 22.04 | bind9 | Fixed | 1:9.18.12-0ubuntu0.22.04.2 | UBUNTU-CVE-2023-2911 |
| Ubuntu 22.04 | bind9-libs | Not affected vulnerable_code_not_present | ||
| Ubuntu 22.04 | isc-dhcp | Not affected vulnerable_code_not_present | ||
| Ubuntu 20.04 | bind9 | Fixed | 1:9.16.1-0ubuntu2.15 | UBUNTU-CVE-2023-2911 |
| Ubuntu 20.04 | bind9-libs | Not affected vulnerable_code_not_present | ||
| Ubuntu 20.04 | isc-dhcp | Not affected vulnerable_code_not_present | ||
| Ubuntu 18.04 | isc-dhcp | Not affected vulnerable_code_not_present | ||
| Ubuntu 16.04 | bind9 | Fix pending | ||
| Ubuntu 16.04 | isc-dhcp | Not affected vulnerable_code_not_present | ||
| Debian 14 | bind9 | Fixed | 1:9.18.16-1 | DEBIAN-CVE-2023-2911 |
| Debian 13 | bind9 | Fixed | 1:9.18.16-1 | DEBIAN-CVE-2023-2911 |
| Debian 12 | bind9 | Fixed | 1:9.18.16-1~deb12u1 | DEBIAN-CVE-2023-2911 |
| Red Hat Enterprise Linux 9 | bind | Not affected | ||
| Red Hat Enterprise Linux 9 | bind-chroot | Not affected | ||
| Red Hat Enterprise Linux 9 | bind-devel | Not affected | ||
| Red Hat Enterprise Linux 9 | bind-dnssec-doc | Not affected | ||
| Red Hat Enterprise Linux 9 | bind-dnssec-utils | Not affected | ||
| Red Hat Enterprise Linux 9 | bind-doc | Not affected | ||
| Red Hat Enterprise Linux 9 | bind-libs | Not affected | ||
| Red Hat Enterprise Linux 9 | bind-license | Not affected | ||
| Red Hat Enterprise Linux 9 | bind-utils | Not affected | ||
| Red Hat Enterprise Linux 9 | dhcp | Not affected | ||
| Red Hat Enterprise Linux 9 | dhcp-client | Not affected | ||
| Red Hat Enterprise Linux 9 | dhcp-common | Not affected | ||
| Red Hat Enterprise Linux 9 | dhcp-relay | Not affected | ||
| Red Hat Enterprise Linux 9 | dhcp-server | Not affected | ||
| Red Hat Enterprise Linux 9 | python3-bind | Not affected | ||
| Red Hat Enterprise Linux 8 | bind | Not affected | ||
| Red Hat Enterprise Linux 8 | bind-chroot | Not affected | ||
| Red Hat Enterprise Linux 8 | bind-devel | Not affected | ||
| Red Hat Enterprise Linux 8 | bind-export-devel | Not affected | ||
| Red Hat Enterprise Linux 8 | bind-export-libs | Not affected | ||
| Red Hat Enterprise Linux 8 | bind-libs | Not affected | ||
| Red Hat Enterprise Linux 8 | bind-libs-lite | Not affected | ||
| Red Hat Enterprise Linux 8 | bind-license | Not affected | ||
| Red Hat Enterprise Linux 8 | bind-lite-devel | Not affected | ||
| Red Hat Enterprise Linux 8 | bind-pkcs11 | Not affected | ||
| Red Hat Enterprise Linux 8 | bind-pkcs11-devel | Not affected | ||
| Red Hat Enterprise Linux 8 | bind-pkcs11-libs | Not affected | ||
| Red Hat Enterprise Linux 8 | bind-pkcs11-utils | Not affected | ||
| Red Hat Enterprise Linux 8 | bind-sdb | Not affected | ||
| Red Hat Enterprise Linux 8 | bind-sdb-chroot | Not affected | ||
| Red Hat Enterprise Linux 8 | bind-utils | Not affected | ||
| Red Hat Enterprise Linux 8 | bind9.16 | Not affected | ||
| Red Hat Enterprise Linux 8 | bind9.16-chroot | Not affected | ||
| Red Hat Enterprise Linux 8 | bind9.16-devel | Not affected | ||
| Red Hat Enterprise Linux 8 | bind9.16-dnssec-utils | Not affected | ||
| Red Hat Enterprise Linux 8 | bind9.16-doc | Not affected | ||
| Red Hat Enterprise Linux 8 | bind9.16-libs | Not affected | ||
| Red Hat Enterprise Linux 8 | bind9.16-license | Not affected | ||
| Red Hat Enterprise Linux 8 | bind9.16-utils | Not affected | ||
| Red Hat Enterprise Linux 8 | python3-bind | Not affected | ||
| Red Hat Enterprise Linux 8 | python3-bind9.16 | Not affected | ||
| Red Hat Enterprise Linux 7 | bind | Not affected | ||
| Red Hat Enterprise Linux 7 | bind-chroot | Not affected | ||
| Red Hat Enterprise Linux 7 | bind-devel | Not affected | ||
| Red Hat Enterprise Linux 7 | bind-export-devel | Not affected | ||
| Red Hat Enterprise Linux 7 | bind-export-libs | Not affected | ||
| Red Hat Enterprise Linux 7 | bind-libs | Not affected | ||
| Red Hat Enterprise Linux 7 | bind-libs-lite | Not affected | ||
| Red Hat Enterprise Linux 7 | bind-license | Not affected | ||
| Red Hat Enterprise Linux 7 | bind-lite-devel | Not affected | ||
| Red Hat Enterprise Linux 7 | bind-pkcs11 | Not affected | ||
| Red Hat Enterprise Linux 7 | bind-pkcs11-devel | Not affected | ||
| Red Hat Enterprise Linux 7 | bind-pkcs11-libs | Not affected | ||
| Red Hat Enterprise Linux 7 | bind-pkcs11-utils | Not affected | ||
| Red Hat Enterprise Linux 7 | bind-sdb | Not affected | ||
| Red Hat Enterprise Linux 7 | bind-sdb-chroot | Not affected | ||
| Red Hat Enterprise Linux 7 | bind-utils | Not affected | ||
| Red Hat Enterprise Linux 6 | bind | Not affected | ||
| Red Hat Enterprise Linux 6 | bind-chroot | Not affected | ||
| Red Hat Enterprise Linux 6 | bind-devel | Not affected | ||
| Red Hat Enterprise Linux 6 | bind-libs | Not affected | ||
| Red Hat Enterprise Linux 6 | bind-sdb | Not affected | ||
| Red Hat Enterprise Linux 6 | bind-utils | Not affected | ||
| Alpine Linux 3.15 | bind | Fixed | 9.16.42-r0 | ALPINE-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.
- ISC BIND 9: affected: 9.16.33 to 9.16.41, 9.18.7 to 9.18.15, 9.16.33-S1 to 9.16.41-S1, 9.18.11-S1 to 9.18.15-S1
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:
- https://kb.isc.org/docs/cve-2023-2911 (vendor-advisory)
References
- https://kb.isc.org/docs/cve-2023-2911
- http://www.openwall.com/lists/oss-security/2023/06/21/6
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/U3K6AJK7RRSR53HRF5GGKPA6PDUDWOD2/
- https://www.debian.org/security/2023/dsa-5439
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/SEFCEVCTYEMKTWA7V7EYPI5YQQ4JWDLI/
- https://security.netapp.com/advisory/ntap-20230703-0010/
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.