CVE-2020-10030
mediumpriority · track · 44EPSS 0.245 · 98 %ileEUUSEPSS · scored 2026-10-27
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.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · medium–high · 6.5–8.8
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (2)
Products and version ranges known to be affected.
also known as (3)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (14)
External citations — patches, advisories, analysis.
- http://lists.opensuse.org/opensuse-security-announce/2020-05/msg00052.htmlcnnvd
- https://doc.powerdns.com/recursor/security-advisories/powerdns-advisory-2020-03.htmlcnnvd
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/NMP72NJGKBWR5WEBXAWX5KSLQUDFTG6S/cnnvd
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/PS4ZN5XGENYNFKX7QIIOUCQQHXE37GJF/cnnvd
- https://nvd.nist.gov/vuln/detail/CVE-2020-10030cnnvd
- https://vigilance.fr/vulnerability/PowerDNS-Recursor-information-disclosure-via-gethostname-32336cnnvd
- http://lists.opensuse.org/opensuse-security-announce/2020-05/msg00052.htmlenisa_euvd
- https://doc.powerdns.com/recursor/security-advisories/powerdns-advisory-2020-03.htmlenisa_euvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan