cve.bz

CVE-2021-25218 Reachable Assertion

7.5 highExploit referenceEPSS 3.7%Fix available

High (7.5). EPSS 3.7% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

7.5 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS
3.7% (unchanged from 3.7% a week ago; 3.6% 30 days ago) estimated probability of exploitation activity in the next 30 days; 90th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-617 Reachable Assertion
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2021-25218 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2021-25218?via=ask-ai-copy and https://cve.bz/cve/CVE-2021-25218?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2021-25218 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
isc:bind9.16.19
isc:bind9.17.16
isc:bind9.17.16:s1
fedoraproject:fedora34

Linux distributions

DistributionReleasePackageFixed inAdvisory
openSUSETumbleweedbind9.16.20-1.4openSUSE-SU-2024:10650-1
Alpinev3.11, v3.12, v3.13 and 11 morebind9.16.20-r0ALPINE-CVE-2021-25218

From the distributions' data via OSV.dev: SUSE security data, CC BY 4.0; the Alpine secdb, CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: openSUSE · Alpine.

Red Hat

Red Hat rates this Important.

Red Hat's statement

An attacker may abuse the Path MTU discovery (PMTUD) protocol to trick bind into exceeding the interface MTU. Response Rate Limiting (RRL) is not enabled by default for user defined views nor the builtin one, but it is enabled by default for the default builtin CHAOS class view, which bind uses to provide various information.

This issue did not affect the versions of bind as shipped with Red Hat Enterprise Linux 6, 7, and 8 as they provide an older version of the code which does not allow to trigger the assertion.

Red Hat's mitigation

Disabling RRL in all views, including the builtin CHAOS class view, prevents the faulty assertion from being reached in the vulnerable versions of bind. To do that you can remove `rate-limit` from your named.conf files and provide a replacement for the builtin CHAOS view, like the one below:

```

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";

};

};

```

ProductPackageStateAdvisory
Red Hat Enterprise Linux 6bindNot affected
Red Hat Enterprise Linux 7bindNot affected
Red Hat Enterprise Linux 8bindNot affected
Red Hat Enterprise Linux 9bindNot affected
Red Hat Virtualization 4redhat-virtualization-hostNot affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2021-25218.

References

Check your stackJSON