Resource management error in ISC BIND - CVE-2022-0396

 

Resource management error in ISC BIND - CVE-2022-0396

Published: March 17, 2022


Vulnerability identifier: #VU61423
CSH Severity: Medium
CVSS v4: 6.9 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N]
CVE-ID: CVE-2022-0396
CWE-ID: CWE-399
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.

The vulnerability exists due to improper management of internal resources within the application that allows TCP connection slots to be consumed for an indefinite time frame via a specifically crafted TCP stream sent from a client. A remote attacker can initiate a specially crafted TCP stream that can cause connections to BIND to remain in CLOSE_WAIT status for an indefinite period of time, even after the client has terminated the connection.

This issue can only be triggered on BIND servers which have keep-response-order enabled, which is not the default configuration. The keep-response-order option is an ACL block; any hosts which are specified within it will be able to trigger this issue on affected versions.


Affected software

ISC BIND
Gentoo Linux
Amazon Linux AMI
Oracle Linux
Arch Linux
SUSE Manager Server
SUSE Manager Retail Branch Server
SUSE Manager Proxy
IBM i
Red Hat Enterprise Linux for x86_64
Red Hat Enterprise Linux for IBM z Systems
Red Hat CodeReady Linux Builder for IBM z Systems
Red Hat CodeReady Linux Builder for ARM 64
Red Hat CodeReady Linux Builder for Power, little endian
Red Hat CodeReady Linux Builder for x86_64
Red Hat Enterprise Linux for ARM 64
Red Hat Enterprise Linux for Power, little endian
Anolis OS
Slackware Linux
SUSE Linux Enterprise Server for SAP Applications
SUSE Linux Enterprise Desktop
SUSE Linux Enterprise High Performance Computing
SUSE Linux Enterprise Module for Basesystem
SUSE Linux Enterprise Module for Server Applications
SUSE Linux Enterprise Server
openSUSE Leap
Ubuntu
openEuler
Fedora
Traffix SDC
bind9 (Debian package)
bind9 (Ubuntu package)
python3-bind9.16
bind9.16-license
bind9.16-doc
bind9.16-utils
bind9.16-libs
bind9.16-dnssec-utils
bind9.16-chroot
bind9.16
bind9.16 (Red Hat package)
bind (Red Hat package) main
bind-libs-lite
python3-bind
bind-debuginfo
bind-pkcs11
bind-export-devel
bind-pkcs11-devel
bind-devel
bind-export-libs
bind-chroot
bind-libs
bind-utils
bind-debugsource
bind
bind-doc
bind-utils-debuginfo
net-dns/bind-tools
net-dns/bind
bind-dyndb-ldap
SINEC INS

How to mitigate CVE-2022-0396

Install updates from vendor's website.

ISC BIND - addressed in versions 9.16.27, 9.16.27-S1, 9.18.1
bind9 (Debian package) - addressed in versions 1:9.11.5.P4+dfsg-5.1+deb10u7, 1:9.16.27-1~deb11u1
SINEC INS - update to 1.0 SP2
bind9 (Ubuntu package) - addressed in versions 1:9.11.3+dfsg-1ubuntu1.17, 1:9.16.1-0ubuntu2.10, 1:9.16.15-1ubuntu1.2
python3-bind9.16 - update to 9.16.23-0.9
bind9.16-license - update to 9.16.23-0.9
bind9.16-doc - update to 9.16.23-0.9
bind9.16-utils - update to 9.16.23-0.9
bind9.16-libs - update to 9.16.23-0.9
bind9.16-dnssec-utils - update to 9.16.23-0.9
bind9.16-chroot - update to 9.16.23-0.9
bind9.16 - update to 9.16.23-0.9
bind9.16 (Red Hat package) - update to 9.16.23-0.9.el8.1
bind (Red Hat package) main - update to 9.16.23-5.el9_1
bind-libs-lite - update to 9.16.23-8
python3-bind - update to 9.16.23-8
bind-debuginfo - update to 9.16.23-8
bind-pkcs11 - update to 9.16.23-8
bind-export-devel - update to 9.16.23-8
bind-pkcs11-devel - update to 9.16.23-8
bind-devel - update to 9.16.23-8
bind-export-libs - update to 9.16.23-8
bind-chroot - update to 9.16.23-8
bind-libs - update to 9.16.23-8
bind-utils - update to 9.16.23-8
bind-debugsource - update to 9.16.23-8
bind - update to 9.16.23-8
bind - update to 9.16.27-1
bind - addressed in versions 9.16.27-1.fc34, 9.16.27-1.fc35, 9.16.27-1.fc36
python3-bind - update to 9.16.31-150400.5.6.1
bind-doc - update to 9.16.31-150400.5.6.1
bind-utils-debuginfo - update to 9.16.31-150400.5.6.1
bind-utils - update to 9.16.31-150400.5.6.1
bind-debugsource - update to 9.16.31-150400.5.6.1
bind-debuginfo - update to 9.16.31-150400.5.6.1
bind - update to 9.16.31-150400.5.6.1
net-dns/bind-tools - update to 9.16.33
net-dns/bind - update to 9.16.33
bind-dyndb-ldap - addressed in versions 11.9-9.fc34, 11.9-11.fc35, 11.9-14.fc36

External References

Related Security Bulletins