Bug 1953849 (CVE-2021-25214)

Summary: CVE-2021-25214 bind: Broken inbound incremental zone update (IXFR) can cause named to terminate unexpectedly
Product: [Other] Security Response Reporter: Huzaifa S. Sidhpurwala <huzaifas>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED ERRATA QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: aegorenk, anon.amish, dns-sig, edgar.hoch, hasuzuki, mruprich, msehnout, pemensik, pzhukov, security-response-team, vonsch, zdohnal
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: bind 9.11.30, bind 9.16.14, bind 9.17.12 Doc Type: If docs needed, set a value
Doc Text:
Incremental zone transfers (IXFR) provide a way of transferring changed portion(s) of a zone between servers. An IXFR stream containing SOA records with an owner name other than the transferred zone's apex may cause the receiving named server to inadvertently remove the SOA record for the zone in question from the zone database. This leads to an assertion failure when the next SOA refresh query for that zone is made.
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-08-31 18:56:10 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1953853, 1953854, 1953855, 1954897    
Bug Blocks: 1953850    
Attachments:
Description Flags
Patch against 9.11 none

Description Huzaifa S. Sidhpurwala 2021-04-27 05:55:30 UTC
As per upstream advisory:

Incremental zone transfers (IXFR) provide a way of transferring changed portion(s) of a zone between servers. An IXFR stream containing SOA records with an owner name other than the transferred zone's apex may cause the receiving named server to inadvertently remove the SOA record for the zone in question from the zone database. This leads to an assertion failure when the next SOA refresh query for that zone is made.

Comment 1 Huzaifa S. Sidhpurwala 2021-04-27 05:55:34 UTC
Mitigation:

Disabling incremental zone transfers (IXFR) by setting "request-ixfr no;" in the desired configuration block (options, zone, or server) prevents the failing assertion from being evaluated.

Comment 2 Huzaifa S. Sidhpurwala 2021-04-27 05:56:37 UTC
Acknowledgments:

Name: ISC
Upstream: Greg Kuechle (SaskTel)

Comment 4 Huzaifa S. Sidhpurwala 2021-04-27 06:19:50 UTC
Created attachment 1775847 [details]
Patch against 9.11

Comment 5 Huzaifa S. Sidhpurwala 2021-04-29 03:26:20 UTC
External References:

https://kb.isc.org/docs/cve-2021-25214

Comment 6 Huzaifa S. Sidhpurwala 2021-04-29 03:27:01 UTC
Created bind tracking bugs for this issue:

Affects: fedora-all [bug 1954897]

Comment 7 errata-xmlrpc 2021-08-31 09:07:55 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 7

Via RHSA-2021:3325 https://access.redhat.com/errata/RHSA-2021:3325

Comment 8 Product Security DevOps Team 2021-08-31 18:56:10 UTC
This bug is now closed. Further updates for individual products will be reflected on the CVE page(s):

https://access.redhat.com/security/cve/cve-2021-25214

Comment 9 errata-xmlrpc 2021-11-09 18:32:36 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

Via RHSA-2021:4384 https://access.redhat.com/errata/RHSA-2021:4384