Bug 1353565 (CVE-2016-6172)

Summary: CVE-2016-6172 pdns: Improper restriction of zone size limit
Product: [Other] Security Response Reporter: Adam Mariš <amaris>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED NOTABUG QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: unspecifiedCC: ms, ruben, sander
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-07-07 13:27:38 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: 1353566, 1353567    
Bug Blocks:    

Description Adam Mariš 2016-07-07 13:10:56 UTC
It was found that PowerDNS 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 patch:

https://github.com/sischkg/xfer-limit/blob/master/powerdns-3.4.7-xfer-limit-0.0.1.patch

Comment 1 Adam Mariš 2016-07-07 13:11:54 UTC
Created pdns tracking bugs for this issue:

Affects: fedora-all [bug 1353566]
Affects: epel-all [bug 1353567]

Comment 2 Martin Prpič 2016-07-08 06:42:24 UTC
Upstream issue:

https://github.com/PowerDNS/pdns/issues/4128

The following patches are still under review but should be merged soon:

- Master: https://github.com/PowerDNS/pdns/pull/4133
- 3.4.x: https://github.com/PowerDNS/pdns/pull/4134

Comment 3 Fedora Update System 2016-08-08 20:23:57 UTC
pdns-4.0.1-1.fc24 has been pushed to the Fedora 24 stable repository. If problems still persist, please make note of it in this bug report.