Bug 1353563 (CVE-2016-6170) - CVE-2016-6170 bind: Improper restriction of zone size limit
Summary: CVE-2016-6170 bind: Improper restriction of zone size limit
Keywords:
Status: CLOSED WONTFIX
Alias: CVE-2016-6170
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 1353569 1353571
Blocks: 1353581
TreeView+ depends on / blocked
 
Reported: 2016-07-07 13:08 UTC by Adam Mariš
Modified: 2021-02-17 03:38 UTC (History)
10 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
It was found that bind does not implement reasonable restrictions for zone sizes. This allows an explicitly configured primary DNS server for a zone to crash a secondary DNS server, affecting service of other zones hosted on the same secondary server.
Clone Of:
Environment:
Last Closed: 2016-09-19 05:09:39 UTC
Embargoed:


Attachments (Terms of Use)

Description Adam Mariš 2016-07-07 13:08:19 UTC
It was found that bind does not implement reasonable restrictions for zone sizes. This allows an explicitly configured primary DNS server for a zone to crash a secondary DNS server, affecting service of other zones hosted on the same secondary server.

CVE request:

http://seclists.org/oss-sec/2016/q3/19

Proposed patches:

https://github.com/sischkg/xfer-limit/blob/master/bind-9.10.3-xfer-limit-0.0.1.patch
https://github.com/sischkg/xfer-limit/blob/master/bind-9.9.9-P1-xfer-limit-0.0.1.patch

Comment 1 Adam Mariš 2016-07-07 13:13:28 UTC
Created bind tracking bugs for this issue:

Affects: fedora-all [bug 1353569]

Comment 2 Adam Mariš 2016-07-07 13:13:33 UTC
Created bind99 tracking bugs for this issue:

Affects: fedora-all [bug 1353571]

Comment 3 Tomáš Hozza 2016-07-15 08:44:22 UTC
Upstream solution:

ISC wish to stress that the behavior in question is not a failure
of BIND to implement DNS protocols correctly, but is if anything
an oversight in the protocol.  However, for the convenience of
operators who take zone data from untrusted sources (such as
secondary name service providers) we have committed to delivering
a feature in upcoming maintenance releases of BIND which will
address the issue by allowing operators to set limits on the
maximum zone size BIND will accept.

I checked the upstream git and there is no implementation yet.

Comment 4 Dhiru Kholia 2016-07-15 08:53:54 UTC
Mitigation:

This issue can be mitigated by disallowing zone transfers and dynamic updates from potentially malicious sources.

For more information, see the "Workarounds" section on https://kb.isc.org/article/AA-01390 page.

Comment 8 Dhiru Kholia 2016-09-19 05:08:11 UTC
Statement:

Red Hat Product Security has rated this issue as having Low security impact. This issue is not currently planned to be addressed in future updates. For additional information, refer to the Issue Severity Classification: https://access.redhat.com/security/updates/classification/.


Note You need to log in before you can comment on or make changes to this bug.