CVE Vulnerabilities

CVE-2021-25215

Reachable Assertion

Published: Apr 29, 2021 | Modified: Nov 07, 2023
CVSS 3.x
7.5
HIGH
Source:
NVD
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS 2.x
5 MEDIUM
AV:N/AC:L/Au:N/C:N/I:N/A:P
RedHat/V2
RedHat/V3
7.5 IMPORTANT
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Ubuntu
MEDIUM

In BIND 9.0.0 -> 9.11.29, 9.12.0 -> 9.16.13, and versions BIND 9.9.3-S1 -> 9.11.29-S1 and 9.16.8-S1 -> 9.16.13-S1 of BIND Supported Preview Edition, as well as release versions 9.17.0 -> 9.17.11 of the BIND 9.17 development branch, when a vulnerable version of named receives a query for a record triggering the flaw described above, the named process will terminate due to a failed assertion check. The vulnerability affects all currently maintained BIND 9 branches (9.11, 9.11-S, 9.16, 9.16-S, 9.17) as well as all other versions of BIND 9.

Weakness

The product contains an assert() or similar statement that can be triggered by an attacker, which leads to an application exit or other behavior that is more severe than necessary.

Affected Software

Name Vendor Start Version End Version
Debian_linux Debian 9.0 (including) 9.0 (including)
Debian_linux Debian 10.0 (including) 10.0 (including)
Bind9 Ubuntu bionic *
Bind9 Ubuntu devel *
Bind9 Ubuntu esm-infra-legacy/trusty *
Bind9 Ubuntu focal *
Bind9 Ubuntu groovy *
Bind9 Ubuntu hirsute *
Bind9 Ubuntu impish *
Bind9 Ubuntu jammy *
Bind9 Ubuntu kinetic *
Bind9 Ubuntu lunar *
Bind9 Ubuntu mantic *
Bind9 Ubuntu noble *
Bind9 Ubuntu oracular *
Bind9 Ubuntu precise/esm *
Bind9 Ubuntu trusty *
Bind9 Ubuntu trusty/esm *
Bind9 Ubuntu upstream *
Bind9 Ubuntu xenial *
Red Hat Enterprise Linux 6 Extended Lifecycle Support RedHat bind-32:9.8.2-0.68.rc1.el6_10.11 *
Red Hat Enterprise Linux 7 RedHat bind-32:9.11.4-26.P2.el7_9.5 *
Red Hat Enterprise Linux 7.2 Advanced Update Support RedHat bind-32:9.9.4-29.el7_2.11 *
Red Hat Enterprise Linux 7.3 Advanced Update Support RedHat bind-32:9.9.4-50.el7_3.6 *
Red Hat Enterprise Linux 7.4 Advanced Update Support RedHat bind-32:9.9.4-51.el7_4.6 *
Red Hat Enterprise Linux 7.4 Telco Extended Update Support RedHat bind-32:9.9.4-51.el7_4.6 *
Red Hat Enterprise Linux 7.4 Update Services for SAP Solutions RedHat bind-32:9.9.4-51.el7_4.6 *
Red Hat Enterprise Linux 7.6 Extended Update Support RedHat bind-32:9.9.4-74.el7_6.7 *
Red Hat Enterprise Linux 7.7 Extended Update Support RedHat bind-32:9.11.4-9.P2.el7_7.5 *
Red Hat Enterprise Linux 8 RedHat bind-32:9.11.26-4.el8_4 *
Red Hat Enterprise Linux 8 RedHat bind-32:9.11.26-4.el8_4 *
Red Hat Enterprise Linux 8.1 Extended Update Support RedHat bind-32:9.11.4-26.P2.el8_1.5 *
Red Hat Enterprise Linux 8.2 Extended Update Support RedHat bind-32:9.11.13-6.el8_2.3 *

Extended Description

While assertion is good for catching logic errors and reducing the chances of reaching more serious vulnerability conditions, it can still lead to a denial of service. For example, if a server handles multiple simultaneous connections, and an assert() occurs in one single connection that causes all other connections to be dropped, this is a reachable assertion that leads to a denial of service.

Potential Mitigations

References