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.

Severity (CVSS 3.1)7.5High
Exploit odds (30 days)16.0%top 3.1% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

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

EcosystemPackageFixed inAdvisory
AlmaLinux:9bind32:9.16.23-11.el9ALSA-2023:2261
AlmaLinux:9bind-chroot32:9.16.23-11.el9ALSA-2023:2261
AlmaLinux:9bind-devel32:9.16.23-11.el9ALSA-2023:2261
AlmaLinux:9bind-dnssec-doc32:9.16.23-11.el9ALSA-2023:2261
AlmaLinux:9bind-dnssec-utils32:9.16.23-11.el9ALSA-2023:2261
AlmaLinux:9bind-doc32:9.16.23-11.el9ALSA-2023:2261
AlmaLinux:9bind-libs32:9.16.23-11.el9ALSA-2023:2261
AlmaLinux:9bind-license32:9.16.23-11.el9ALSA-2023:2261
AlmaLinux:9bind-utils32:9.16.23-11.el9ALSA-2023:2261
AlmaLinux:8bind9.1632:9.16.23-0.14.el8ALSA-2023:2792
AlmaLinux:8bind9.16-chroot32:9.16.23-0.14.el8ALSA-2023:2792
AlmaLinux:8bind9.16-devel32:9.16.23-0.14.el8ALSA-2023:2792
AlmaLinux:8bind9.16-dnssec-utils32:9.16.23-0.14.el8ALSA-2023:2792
AlmaLinux:8bind9.16-doc32:9.16.23-0.14.el8ALSA-2023:2792
AlmaLinux:8bind9.16-libs32:9.16.23-0.14.el8ALSA-2023:2792
AlmaLinux:8bind9.16-license32:9.16.23-0.14.el8ALSA-2023:2792
AlmaLinux:8bind9.16-utils32:9.16.23-0.14.el8ALSA-2023:2792
AlmaLinux:9python3-bind32:9.16.23-11.el9ALSA-2023:2261
AlmaLinux:8python3-bind9.1632:9.16.23-0.14.el8ALSA-2023:2792
Alpine:v3.20bind9.18.11-r0ALPINE-CVE-2022-3924
Alpine:v3.21bind9.18.11-r0ALPINE-CVE-2022-3924
Alpine:v3.22bind9.18.11-r0ALPINE-CVE-2022-3924
Alpine:v3.23bind9.18.11-r0ALPINE-CVE-2022-3924
Alpine:v3.24bind9.18.11-r0ALPINE-CVE-2022-3924
Debian:12bind91:9.18.11-1DEBIAN-CVE-2022-3924
Debian:13bind91:9.18.11-1DEBIAN-CVE-2022-3924
Debian:14bind91:9.18.11-1DEBIAN-CVE-2022-3924
Ubuntu:22.04:LTSbind91:9.18.1-1ubuntu1.3UBUNTU-CVE-2022-3924
Ubuntu:22.04:LTSbind91:9.18.1-1ubuntu1.3USN-5827-1

Affected products (as reported)

VendorProductVersions
ISC BIND 9 9.16.12 – through 9.16.369.18.0 – through 9.18.109.19.0 – through 9.19.89.16.12-S1 – through 9.16.36-S1

Weakness: CWE-617 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

References