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...
- Published
- Updated
- Exploit status
- No public exploit known
- Technology
- UbuntuDebian
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.
Upgrade path
9 packages: 6 fixed, 3 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| ubuntu/pdns-recursor(Ubuntu Pro 16.04) | = 3.7.3-1; = 4.0.0~alpha1-1; = 4.0.0~alpha1-2; = 4.0.0~alpha2-2 +3 more | No fix listed | No fix yet |
| ubuntu/pdns-recursor(Ubuntu Pro 18.04) | = 4.0.6-1; = 4.0.6-1build1; = 4.0.7-1; = 4.1.1-1 +4 more | No fix listed | No fix yet |
| ubuntu/pdns-recursor(Ubuntu Pro 20.04) | = 4.2.0-6; = 4.2.1-1; = 4.2.1-1build1; = 4.2.1-1build2 +2 more | No fix listed | No fix yet |
| alpine/pdns-recursor(Alpine v3.10) | < 4.1.16-r0 | 4.1.16-r0 | Fixed |
| alpine/pdns-recursor(Alpine v3.9) | < 4.1.16-r0 | 4.1.16-r0 | Fixed |
| debian/pdns-recursor(Debian 12) | < 4.3.1-1 | 4.3.1-1 | Fixed |
| debian/pdns-recursor(Debian 13) | < 4.3.1-1 | 4.3.1-1 | Fixed |
| debian/pdns-recursor(Debian 14) | < 4.3.1-1 | 4.3.1-1 | Fixed |
| PowerDNS Recursor | >= 4.1.0, <= 4.3.0 | after 4.3.0 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| debian/pdns-recursor(Debian:12) | < 4.3.1-1 | 4.3.1-1 |
| debian/pdns-recursor(Debian:13) | < 4.3.1-1 | 4.3.1-1 |
| debian/pdns-recursor(Debian:14) | < 4.3.1-1 | 4.3.1-1 |
| PowerDNS Recursor | >= 4.1.0, <= 4.3.0 | No fix listed |
| alpine/pdns-recursor(Alpine:v3.10) | < 4.1.16-r0 | 4.1.16-r0 |
| alpine/pdns-recursor(Alpine:v3.9) | < 4.1.16-r0 | 4.1.16-r0 |
| ubuntu/pdns-recursor(Ubuntu:Pro:16.04) | All versions | No fix listed |
| ubuntu/pdns-recursor(Ubuntu:Pro:16.04) | = 3.7.3-1 | No fix listed |
| ubuntu/pdns-recursor(Ubuntu:Pro:16.04) | = 4.0.0~alpha1-1 | No fix listed |
| ubuntu/pdns-recursor(Ubuntu:Pro:16.04) | = 4.0.0~alpha1-2 | No fix listed |
| ubuntu/pdns-recursor(Ubuntu:Pro:16.04) | = 4.0.0~alpha2-2 | No fix listed |
| ubuntu/pdns-recursor(Ubuntu:Pro:16.04) | = 4.0.0~alpha2-2ubuntu0.1 | No fix listed |
| ubuntu/pdns-recursor(Ubuntu:Pro:16.04) | = 4.0.0~alpha2-2ubuntu0.1+esm1 | No fix listed |
| ubuntu/pdns-recursor(Ubuntu:Pro:18.04) | All versions | No fix listed |
| ubuntu/pdns-recursor(Ubuntu:Pro:18.04) | = 4.0.6-1 | No fix listed |
| ubuntu/pdns-recursor(Ubuntu:Pro:18.04) | = 4.0.6-1build1 | No fix listed |
| ubuntu/pdns-recursor(Ubuntu:Pro:18.04) | = 4.0.7-1 | No fix listed |
| ubuntu/pdns-recursor(Ubuntu:Pro:18.04) | = 4.1.1-1 | No fix listed |
| ubuntu/pdns-recursor(Ubuntu:Pro:18.04) | = 4.1.1-1build1 | No fix listed |
| ubuntu/pdns-recursor(Ubuntu:Pro:18.04) | = 4.1.1-2 | No fix listed |
| ubuntu/pdns-recursor(Ubuntu:Pro:18.04) | = 4.1.1-2ubuntu0.1~esm1 | No fix listed |
| ubuntu/pdns-recursor(Ubuntu:Pro:20.04) | All versions | No fix listed |
| ubuntu/pdns-recursor(Ubuntu:Pro:20.04) | = 4.2.0-6 | No fix listed |
| ubuntu/pdns-recursor(Ubuntu:Pro:20.04) | = 4.2.1-1 | No fix listed |
| ubuntu/pdns-recursor(Ubuntu:Pro:20.04) | = 4.2.1-1build1 | No fix listed |
Show 2 more
| Product | Affected versions | Fixed in |
|---|---|---|
| ubuntu/pdns-recursor(Ubuntu:Pro:20.04) | = 4.2.1-1build2 | No fix listed |
| ubuntu/pdns-recursor(Ubuntu:Pro:20.04) | = 4.2.1-1ubuntu0.1~esm1 | No fix listed |
References
- Debian Security Tracker CVE-2020-10030 vendor-advisory
- openSUSE-SU-2020:0698 vendor-advisory
- doc.powerdns.com vendor-advisory
- FEDORA-2020-c0ff3df740 vendor-advisory
- FEDORA-2020-d9abb0c06d vendor-advisory
- security.alpinelinux.org vendor-advisory
- ubuntu.com issue-tracking
- www.openwall.com issue-tracking
- www.cve.org issue-tracking