An issue has been found in PowerDNS Recursor 4.1.0 up to and including 4.3.0. It allows an attacker (with enough privileges to change the system's hostname) to cause disclosure of uninitialized memory content via a stack-based out-of-bounds read. It only occurs on systems where gethostname() does not have '\0' termination of the returned string if the hostname is larger than the supplied buffer. (Linux systems are not affected because the buffer is always large enough. OpenBSD systems are not affected because the returned hostname always has '\0' termination.) Under some conditions, this issue can lead to the writing of one '\0' byte out-of-bounds on the stack, causing a denial of service or possibly arbitrary code execution.
History

No history.

cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published: 2020-05-19T15:52:20

Updated: 2024-08-04T10:50:57.821Z

Reserved: 2020-03-04T00:00:00

Link: CVE-2020-10030

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Modified

Published: 2020-05-19T16:15:10.917

Modified: 2024-11-21T04:54:41.057

Link: CVE-2020-10030

cve-icon Redhat

No data.