An issue has been found in PowerDNS Authoritative Server allowing an authorized user to cause a memory leak by inserting a specially crafted record in a zone under their control, then sending a DNS query for that record. The issue is due to the fact that some memory is allocated before the parsing and is not always properly released if the record is malformed.
This issue has been assigned CVE-2018-10851.
When the PowerDNS Authoritative Server is run inside the guardian
(--guardian
), or inside a supervisor like supervisord or systemd,
an out-of-memory crash will lead to an automatic restart, limiting the
impact to a somewhat degraded service.
PowerDNS Authoritative from 3.3.0 up to and including 4.1.4 is affected. Please note that at the time of writing, PowerDNS Authoritative 3.4 and below are no longer supported, as described in End of life statements.