What’s Vulnerable › Vulnerabilities
CVE-2020-10030
- Severity: high (CVSS 8.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 24.5% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2020-05-19 · updated 2026-06-17
- Weakness: CWE-125
Description
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.
Affected products
- PowerDNS Recursor: from 4.1.0 through 4.3.0
References
- http://lists.opensuse.org/opensuse-security-announce/2020-05/msg00052.html
- https://doc.powerdns.com/recursor/security-advisories/powerdns-advisory-2020-03.html
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/NMP72NJGKBWR5WEBXAWX5KSLQUDFTG6S/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/PS4ZN5XGENYNFKX7QIIOUCQQHXE37GJF/
- http://lists.opensuse.org/opensuse-security-announce/2020-05/msg00052.html
- https://doc.powerdns.com/recursor/security-advisories/powerdns-advisory-2020-03.html
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/NMP72NJGKBWR5WEBXAWX5KSLQUDFTG6S/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/PS4ZN5XGENYNFKX7QIIOUCQQHXE37GJF/
Get alerted when CVE-2020-10030 or the next vulnerability affects your stack