Vulnerability · Published Jan 25, 2023 · Assigned by isc
CVE-2022-3924named configured to answer from stale cache may terminate unexpectedly at recursive-clients soft quota
High 7.5
In plain English
A high-severity security flaw in BIND 9 from ISC. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 16.0% (higher than 97% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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 packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux:9 | bind | 32:9.16.23-11.el9 | ALSA-2023:2261 |
| AlmaLinux:9 | bind-chroot | 32:9.16.23-11.el9 | ALSA-2023:2261 |
| AlmaLinux:9 | bind-devel | 32:9.16.23-11.el9 | ALSA-2023:2261 |
| AlmaLinux:9 | bind-dnssec-doc | 32:9.16.23-11.el9 | ALSA-2023:2261 |
| AlmaLinux:9 | bind-dnssec-utils | 32:9.16.23-11.el9 | ALSA-2023:2261 |
| AlmaLinux:9 | bind-doc | 32:9.16.23-11.el9 | ALSA-2023:2261 |
| AlmaLinux:9 | bind-libs | 32:9.16.23-11.el9 | ALSA-2023:2261 |
| AlmaLinux:9 | bind-license | 32:9.16.23-11.el9 | ALSA-2023:2261 |
| AlmaLinux:9 | bind-utils | 32:9.16.23-11.el9 | ALSA-2023:2261 |
| AlmaLinux:8 | bind9.16 | 32:9.16.23-0.14.el8 | ALSA-2023:2792 |
| AlmaLinux:8 | bind9.16-chroot | 32:9.16.23-0.14.el8 | ALSA-2023:2792 |
| AlmaLinux:8 | bind9.16-devel | 32:9.16.23-0.14.el8 | ALSA-2023:2792 |
| AlmaLinux:8 | bind9.16-dnssec-utils | 32:9.16.23-0.14.el8 | ALSA-2023:2792 |
| AlmaLinux:8 | bind9.16-doc | 32:9.16.23-0.14.el8 | ALSA-2023:2792 |
| AlmaLinux:8 | bind9.16-libs | 32:9.16.23-0.14.el8 | ALSA-2023:2792 |
| AlmaLinux:8 | bind9.16-license | 32:9.16.23-0.14.el8 | ALSA-2023:2792 |
| AlmaLinux:8 | bind9.16-utils | 32:9.16.23-0.14.el8 | ALSA-2023:2792 |
| AlmaLinux:9 | python3-bind | 32:9.16.23-11.el9 | ALSA-2023:2261 |
| AlmaLinux:8 | python3-bind9.16 | 32:9.16.23-0.14.el8 | ALSA-2023:2792 |
| Alpine:v3.20 | bind | 9.18.11-r0 | ALPINE-CVE-2022-3924 |
| Alpine:v3.21 | bind | 9.18.11-r0 | ALPINE-CVE-2022-3924 |
| Alpine:v3.22 | bind | 9.18.11-r0 | ALPINE-CVE-2022-3924 |
| Alpine:v3.23 | bind | 9.18.11-r0 | ALPINE-CVE-2022-3924 |
| Alpine:v3.24 | bind | 9.18.11-r0 | ALPINE-CVE-2022-3924 |
| Debian:12 | bind9 | 1:9.18.11-1 | DEBIAN-CVE-2022-3924 |
| Debian:13 | bind9 | 1:9.18.11-1 | DEBIAN-CVE-2022-3924 |
| Debian:14 | bind9 | 1:9.18.11-1 | DEBIAN-CVE-2022-3924 |
| Ubuntu:22.04:LTS | bind9 | 1:9.18.1-1ubuntu1.3 | UBUNTU-CVE-2022-3924 |
| Ubuntu:22.04:LTS | bind9 | 1:9.18.1-1ubuntu1.3 | USN-5827-1 |
Affected products (as reported)
Weakness: CWE-617 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
References
- CVE-2022-3924 vendor-advisory