Out-of-bounds Read in Powerdns Recursor
CVE-2020-10030
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.
Vulnerability class: Buffer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 8.8 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.245, 97.9th percentile (scored ); up from 0.239 30 days earlier. About EPSS.
EPSS over last 30 days · oldest: 0.239 · newest: 0.245 · change: +0.006
Affected products
Weakness classification (CWE)
References
- doc.powerdns.com/recursor/security-advisories/powerdns-advisory-2020-03.html (Vendor Advisory)
- openSUSE-SU-2020:0698 (vendor-advisory)
- FEDORA-2020-d9abb0c06d (vendor-advisory)
- FEDORA-2020-c0ff3df740 (vendor-advisory)