Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1461302 - (CVE-2017-3140) CVE-2017-3140 bind: Error processing RPZ rules leads to endless loop while handling query
CVE-2017-3140 bind: Error processing RPZ rules leads to endless loop while ha...
Status: CLOSED NOTABUG
Product: Security Response
Classification: Other
Component: vulnerability (Show other bugs)
unspecified
All Linux
medium Severity medium
: ---
: ---
Assigned To: Red Hat Product Security
impact=moderate,public=20170614,repor...
: Security
Depends On: 1461639 1461641
Blocks: 1461305
  Show dependency treegraph
 
Reported: 2017-06-14 03:27 EDT by Adam Mariš
Modified: 2017-06-15 18:37 EDT (History)
11 users (show)

See Also:
Fixed In Version: bind 9.9.10-P1, bind 9.10.5-P1, bind 9.11.1-P1
Doc Type: If docs needed, set a value
Doc Text:
A denial of service flaw was found in the way BIND handled processing of NSDNAME and NSIP rules. A remote attacker could use this flaw to make named enter an infinite loop by sending a specially crafted query, thus resulting in denial-of-service.
Story Points: ---
Clone Of:
Environment:
Last Closed: 2017-06-15 00:07:10 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Adam Mariš 2017-06-14 03:27:26 EDT
If named is configured to use Response Policy Zones (RPZ) an error processing some rule types can lead to a condition where BIND will endlessly loop while handling a query.

A server is potentially vulnerable to degradation of service if
    1. the server is configured to use RPZ,
    2. the server uses NSDNAME or NSIP policy rules, and
    3. an attacker can cause the server to process a specific query

Successful exploitation of this condition will cause named to enter a state where it continues to loop while processing the query without ever reaching an end state. While in this state, named repeatedly queries the same sets of authoritative nameservers and this behavior will usually persist indefinitely beyond the normal client query processing timeout. By triggering this condition multiple times, an attacker could cause a deliberate and substantial degradation in service.

Versions affected: 9.9.10, 9.10.5, 9.11.0->9.11.1, 9.9.10-S1, 9.10.5-S1

Workaround:

Only the NSDNAME and NSIP RPZ rule types can cause this condition to occur. You can work around this vulnerability if you are able to express your desired policy while avoiding NSDNAME or NSIP rules, otherwise it is advised that you upgrade to a version which corrects the defect.

References:

https://kb.isc.org/article/AA-01495/74/CVE-2017-3140

Upstream patch:

https://source.isc.org/cgi-bin/gitweb.cgi?p=bind9.git;a=commit;h=2648c49be78
Comment 1 Adam Mariš 2017-06-14 03:27:32 EDT
Acknowledgments:

Name: Internet Systems Consortium
Upstream: Oli Schacher (Switch)
Comment 3 Dhiru Kholia 2017-06-14 23:35:22 EDT
Statement:

This issue did not affect the versions of BIND as shipped with Red Hat Enterprise Linux 5, 6 and 7.
Comment 4 Dhiru Kholia 2017-06-14 23:44:13 EDT
Created bind99 tracking bugs for this issue:

Affects: fedora-all [bug 1461639]
Comment 6 Dhiru Kholia 2017-06-14 23:57:03 EDT
Created bind tracking bugs for this issue:

Affects: fedora-all [bug 1461641]

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