CVEfocus › CVE database › CVE-2022-3924

CVE-2022-3924named configured to answer from stale cache may terminate unexpectedly at…

CVSS 7.5 HighEPSS 1.3% (higher than 71% of CVEs)Published 2023-01-25Updated 2025-03-31Assigner: isc

This issue can affect BIND 9 resolvers with `stale-answer-enable yes;` that also make use of the option `stale-answer-client-timeout`, configured with a value greater than zero. If the resolver receives many queries that require recursion, there will be a corresponding increase in the number of clients that are waiting for recursion to complete. If there are sufficient clients already waiting when a new client query is received so that it is necessary to SERVFAIL the longest waiting client (see BIND 9 ARM `recursive-clients` limit and soft quota), then it is possible for a race to occur between providing a stale answer to this older client and sending an early timeout SERVFAIL, which may cause an assertion failure. This issue affects BIND 9 versions 9.16.12 through 9.16.36, 9.18.0 through 9.18.10, 9.19.0 through 9.19.8, and 9.16.12-S1 through 9.16.36-S1.

CWE-617

What to do

Fixed builds are available from AlmaLinux, Alpine, Debian, Red Hat, 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

53Fixed
1Fix pending
48Not 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 22.04bind9Fixed1:9.18.1-1ubuntu1.3UBUNTU-CVE-2022-3924
Ubuntu 22.04isc-dhcpNot 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.11-1DEBIAN-CVE-2022-3924
Debian 13bind9Fixed1:9.18.11-1DEBIAN-CVE-2022-3924
Debian 12bind9Fixed1:9.18.11-1DEBIAN-CVE-2022-3924
Red Hat Enterprise Linux 9bindFixed32:9.16.23-11.el9RHSA-2023:2261
Red Hat Enterprise Linux 9bind-chrootFixed32:9.16.23-11.el9RHSA-2023:2261
Red Hat Enterprise Linux 9bind-develFixed32:9.16.23-11.el9RHSA-2023:2261
Red Hat Enterprise Linux 9bind-dnssec-docFixed32:9.16.23-11.el9RHSA-2023:2261
Red Hat Enterprise Linux 9bind-dnssec-utilsFixed32:9.16.23-11.el9RHSA-2023:2261
Red Hat Enterprise Linux 9bind-docFixed32:9.16.23-11.el9RHSA-2023:2261
Red Hat Enterprise Linux 9bind-libsFixed32:9.16.23-11.el9RHSA-2023:2261
Red Hat Enterprise Linux 9bind-licenseFixed32:9.16.23-11.el9RHSA-2023:2261
Red Hat Enterprise Linux 9bind-utilsFixed32:9.16.23-11.el9RHSA-2023:2261
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-bindFixed32:9.16.23-11.el9RHSA-2023:2261
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.16Fixed32:9.16.23-0.14.el8RHSA-2023:2792
Red Hat Enterprise Linux 8bind9.16-chrootFixed32:9.16.23-0.14.el8RHSA-2023:2792
Red Hat Enterprise Linux 8bind9.16-develFixed32:9.16.23-0.14.el8RHSA-2023:2792
Red Hat Enterprise Linux 8bind9.16-dnssec-utilsFixed32:9.16.23-0.14.el8RHSA-2023:2792
Red Hat Enterprise Linux 8bind9.16-docFixed32:9.16.23-0.14.el8RHSA-2023:2792
Red Hat Enterprise Linux 8bind9.16-libsFixed32:9.16.23-0.14.el8RHSA-2023:2792
Red Hat Enterprise Linux 8bind9.16-licenseFixed32:9.16.23-0.14.el8RHSA-2023:2792
Red Hat Enterprise Linux 8bind9.16-utilsFixed32:9.16.23-0.14.el8RHSA-2023:2792
Red Hat Enterprise Linux 8python3-bindNot affected
Red Hat Enterprise Linux 8python3-bind9.16Fixed32:9.16.23-0.14.el8RHSA-2023:2792
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
AlmaLinux 9bindFixed32:9.16.23-11.el9ALSA-2023:2261
AlmaLinux 9bind-chrootFixed32:9.16.23-11.el9ALSA-2023:2261
AlmaLinux 9bind-develFixed32:9.16.23-11.el9ALSA-2023:2261
AlmaLinux 9bind-dnssec-docFixed32:9.16.23-11.el9ALSA-2023:2261
AlmaLinux 9bind-dnssec-utilsFixed32:9.16.23-11.el9ALSA-2023:2261
AlmaLinux 9bind-docFixed32:9.16.23-11.el9ALSA-2023:2261
AlmaLinux 9bind-libsFixed32:9.16.23-11.el9ALSA-2023:2261
AlmaLinux 9bind-licenseFixed32:9.16.23-11.el9ALSA-2023:2261
AlmaLinux 9bind-utilsFixed32:9.16.23-11.el9ALSA-2023:2261
AlmaLinux 9python3-bindFixed32:9.16.23-11.el9ALSA-2023:2261
AlmaLinux 8bind9.16Fixed32:9.16.23-0.14.el8ALSA-2023:2792
AlmaLinux 8bind9.16-chrootFixed32:9.16.23-0.14.el8ALSA-2023:2792
AlmaLinux 8bind9.16-develFixed32:9.16.23-0.14.el8ALSA-2023:2792
AlmaLinux 8bind9.16-dnssec-utilsFixed32:9.16.23-0.14.el8ALSA-2023:2792
AlmaLinux 8bind9.16-docFixed32:9.16.23-0.14.el8ALSA-2023:2792
AlmaLinux 8bind9.16-libsFixed32:9.16.23-0.14.el8ALSA-2023:2792
AlmaLinux 8bind9.16-licenseFixed32:9.16.23-0.14.el8ALSA-2023:2792
AlmaLinux 8bind9.16-utilsFixed32:9.16.23-0.14.el8ALSA-2023:2792
AlmaLinux 8python3-bind9.16Fixed32:9.16.23-0.14.el8ALSA-2023:2792
Alpine Linux 3.24bindFixed9.18.11-r0ALPINE-CVE-2022-3924
Alpine Linux 3.23bindFixed9.18.11-r0ALPINE-CVE-2022-3924
Alpine Linux 3.22bindFixed9.18.11-r0ALPINE-CVE-2022-3924
Alpine Linux 3.21bindFixed9.18.11-r0ALPINE-CVE-2022-3924
Alpine Linux 3.20bindFixed9.18.11-r0ALPINE-CVE-2022-3924
Alpine Linux 3.19bindFixed9.18.11-r0ALPINE-CVE-2022-3924
Alpine Linux 3.18bindFixed9.18.11-r0ALPINE-CVE-2022-3924
Alpine Linux 3.17bindFixed9.18.11-r0ALPINE-CVE-2022-3924
Alpine Linux 3.16bindFixed9.16.37-r0ALPINE-CVE-2022-3924
Alpine Linux 3.15bindFixed9.16.37-r0ALPINE-CVE-2022-3924
Alpine Linux 3.14bindFixed9.16.37-r0ALPINE-CVE-2022-3924

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.37, 9.18.11, 9.19.9, or 9.16.37-S1.

Workaround: Disabling `stale-answer-client-timeout` entirely or setting the timeout value to zero prevents the problem. It is not possible to disable the limit on `recursive-clients`, though it could be set to a very high value in order to reduce the likelihood of encountering this scenario. However, this is not recommended as the limit on recursive clients is important for preventing exhaustion of server resources.

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.