Skip to content
OpenAdvisories
High · 7.5 CVE-2022-3924 EUVD-2022-43258GHSA-29px-hvx8-j7xf

named configured to answer from stale cache may terminate unexpectedly at recursive-clients soft quota

Published Jan 25, 2023 · Updated Mar 31, 2025 · Assigned by isc

Description

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.

Affected products

VendorProductAffectedFixed
ISC BIND 9 9.16.12 – ≤ 9.16.36, 9.18.0 – ≤ 9.18.10, 9.19.0 – ≤ 9.19.8, 9.16.12-S1 – ≤ 9.16.36-S1 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 bind9 1:9.18.11-1 —
Debian 13 bind9 1:9.18.11-1 —
Debian 12 bind9 1:9.18.11-1 —
Debian 11 bind9 1:9.16.37-1~deb11u1 DSA-5329-1
ReleasePackageFixed inAdvisory
Ubuntu 22.04 LTS bind9 1:9.18.1-1ubuntu1.3 USN-5827-1
Ubuntu 20.04 LTS bind9 1:9.16.1-0ubuntu2.12 USN-5827-1
ReleasePackageFixed inAdvisory
RHEL 9 bind +9 32:9.16.23-11.el9 RHSA-2023:2261
RHEL 8 bind9.16 +8 32:9.16.23-0.14.el8 RHSA-2023:2792

AlmaLinux

Errata ↗
ReleasePackageFixed inAdvisory
AlmaLinux 9 bind +9 32:9.16.23-11.el9 ALSA-2023:2261
AlmaLinux 8 bind9.16 +8 32:9.16.23-0.14.el8 ALSA-2023:2792
ReleasePackageFixed inAdvisory
SLES 15 SP4 bind 9.16.37-150400.5.17.1 SUSE-SU-2023:0341-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed bind 9.18.11-1.1 openSUSE-SU-2024:12641-1
openSUSE Leap 15.4 bind 9.16.37-150400.5.17.1 SUSE-SU-2023:0341-1
ReleasePackageFixed inAdvisory
Alpine v3.24 bind 9.18.11-r0 —
Alpine v3.23 bind 9.18.11-r0 —
Alpine v3.22 bind 9.18.11-r0 —
Alpine v3.21 bind 9.18.11-r0 —
Alpine v3.20 bind 9.18.11-r0 —
Show 6 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Alpine v3.19 bind 9.18.11-r0 —
Alpine v3.18 bind 9.18.11-r0 —
Alpine v3.17 bind 9.18.11-r0 —
Alpine v3.16 bind 9.16.37-r0 —
Alpine v3.15 bind 9.16.37-r0 —
Alpine v3.14 bind 9.16.37-r0 —

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2023 bind +16 32:9.16.38-1.amzn2023 ALAS2023-2023-161

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 2 (CBL-Mariner) bind 9.16.37-2 —

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 9 bind +9 32:9.16.23-11.el9 ELSA-2023-2261
Oracle Linux 8 bind9.16 +8 32:9.16.23-0.14.el8 ELSA-2023-2792

Wolfi

ReleasePackageFixed inAdvisory
Wolfi rolling bind 9.18.11-r0 —

Advisories 15

References