A too-strict assertion check could be triggered when responses in BIND 9.16.19 and 9.17.16 require UDP fragmentation if RRL is in use Fix available

CVE-2021-25218

Assigned byThe organization (CNA) that assigned this CVE ID and published the record, usually the vendor.
Internet Systems Consortium (ISC) (opens in new tab)
Published
Last modified
NVD status
Modified
CVSS 3.17.5High

Description

In BIND 9.16.19, 9.17.16. Also, version 9.16.19-S1 of BIND Supported Preview Edition When a vulnerable version of named receives a query under the circumstances described above, the named process will terminate due to a failed assertion check. The vulnerability affects only BIND 9 releases 9.16.19, 9.17.16, and release 9.16.19-S1 of the BIND Supported Preview Edition.

Exploitation

Whether attackers are exploiting this vulnerability, and how likely they are to try in the next 30 days.

FIRST Exploit Prediction Scoring System (EPSS)About EPSS (opens in new tab)

FIRST's estimate of the chance attackers try to exploit this vulnerability in the next 30 days.

Probability of exploitationIt predicts attempts, not success, and is updated daily.
3.658%
Compared with other CVEs
At or above 89.889% of scored CVEs
Scored

Affected products

The products and versions with the vulnerability.

Listed by CNA

The products and versions affected, according to the organization that published this CVE.

VendorProductAffected versions
ISCBIND9
  • Stable Branch 9.16.19
  • Development Branch 9.17.16
  • Supported Preview Edition 9.16.19-S1

Listed by NVD

The CPE names vulnerability scanners match, including products that bundle the affected software.

VendorProductTypeVulnerable versions
fedoraprojectfedoraOperating system
  • 34

How to fix the vulnerability, or reduce the risk until you can.

Solutions

From Internet Systems Consortium (ISC), which published this CVE.

Upgrade to the patched release most closely related to your current version of BIND:

BIND 9.16.20
BIND 9.17.17

BIND Supported Preview Edition is a special feature preview branch of BIND provided to eligible ISC support customers.

BIND 9.16.20-S1

Workarounds

From Internet Systems Consortium (ISC), which published this CVE.

Disabling RRL in all views, including the built-in CHAOS class view "_bind", prevents the faulty assertion from being reached. This can be done by removing all existing rate-limit statements from named.conf, and defining a replacement for the default CHAOS view:

view override_bind chaos {
recursion no;
notify no;
allow-new-zones no;
max-cache-size 2M;

    zone "version.bind" chaos {
            type primary;
            database "_builtin version";
    };
    zone "hostname.bind" chaos {
            type primary;
            database "_builtin hostname";
    };
    zone "authors.bind" chaos {
            type primary;
            database "_builtin authors";
    };
    zone "id.server" chaos {
            type primary;
            database "_builtin id";
    };

};

Severity

How serious the vulnerability is if exploited, scored from 0 to 10 with the CVSS standard (opens in new tab).

  • 7.5 HighCVSS 3.1 · PrimaryPrimary scores are NVD's own. Secondary scores come from the organization that published the CVE, or from CISA. · Scored by NVD (opens in new tab)
    Attack vectorWhere the attacker has to be. Network is the widest: anywhere on the Internet.
    Network
    Attack complexityWhether the attack depends on conditions the attacker doesn't control.
    Low
    Privileges requiredThe access the attacker needs before attacking.
    None
    User interactionWhether someone other than the attacker has to do something, like open a link.
    None
    ScopeWhether the attack can reach beyond the vulnerable component.
    Unchanged
    ConfidentialityHow much data the attacker can read.
    None
    IntegrityHow much data the attacker can change.
    None
    AvailabilityHow much the attacker can disrupt the system or service.
    High

    CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HView in FIRST's calculator (opens in new tab)

  • 7.5 HighCVSS 3.1 · SecondaryPrimary scores are NVD's own. Secondary scores come from the organization that published the CVE, or from CISA. · Scored by Internet Systems Consortium (ISC) (opens in new tab)
    Attack vectorWhere the attacker has to be. Network is the widest: anywhere on the Internet.
    Network
    Attack complexityWhether the attack depends on conditions the attacker doesn't control.
    Low
    Privileges requiredThe access the attacker needs before attacking.
    None
    User interactionWhether someone other than the attacker has to do something, like open a link.
    None
    ScopeWhether the attack can reach beyond the vulnerable component.
    Unchanged
    ConfidentialityHow much data the attacker can read.
    None
    IntegrityHow much data the attacker can change.
    None
    AvailabilityHow much the attacker can disrupt the system or service.
    High

    CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HView in FIRST's calculator (opens in new tab)

  • 5 MediumCVSS 2.0 · PrimaryPrimary scores are NVD's own. Secondary scores come from the organization that published the CVE, or from CISA. · Scored by NVD (opens in new tab)
    Attack vectorWhere the attacker has to be. Network is the widest: anywhere on the Internet.
    Network
    Attack complexityWhether the attack depends on conditions the attacker doesn't control.
    Low
    AuthenticationHow many times the attacker has to sign in.
    None
    ConfidentialityHow much data the attacker can read.
    None
    IntegrityHow much data the attacker can change.
    None
    AvailabilityHow much the attacker can disrupt the system or service.
    Partial

    AV:N/AC:L/Au:N/C:N/I:N/A:PView in NVD's calculator (opens in new tab)

Weaknesses and attack patterns

The type of bug behind the vulnerability, and how attackers exploit that type.

  • Reachable Assertion · CWE-617 (opens in new tab)

    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.

    Abstraction
    Base
    Mapping guidance
    Allowed
    Part of

References

Advisories, patches, exploits and more about this vulnerability.

This product uses the NVD API but is not endorsed or certified by the NVD (opens in new tab). CVE records from the CVE List (opens in new tab), weakness types from MITRE's CWE (opens in new tab)™ and attack patterns from its CAPEC (opens in new tab)™ are © The MITRE Corporation, used under the CVE (opens in new tab), CWE (opens in new tab) and CAPEC (opens in new tab) terms of use. Known exploited vulnerabilities and SSVC assessments are from CISA. Exploit predictions are from FIRST's EPSS (opens in new tab). About this data