CVE-2020-10030
publishedpdns-recursor: stack-based out-of-bounds read via a larger hostname
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | n/an/a | Affected | Not stated | mitre |
| Alpine Linux | v3.10 | pdns-recursor | Fixed | 4.1.16-r0 | Package fix record |
| SUSE / openSUSE | openSUSE-Leap-15.1 | pdns-recursoraarch64 | Advisory build | 4.1.12-bp151.4.3.1 | OPENSUSE-SU-2020:0698-1 |
| Alpine Linux | v3.9 | pdns-recursor | Fixed | 4.1.16-r0 | Package fix record |
| SUSE / openSUSE | openSUSE-Leap-15.1 | pdns-recursorppc64le | Advisory build | 4.1.12-bp151.4.3.1 | OPENSUSE-SU-2020:0698-1 |
| SUSE / openSUSE | openSUSE-Leap-15.1 | pdns-recursors390x | Advisory build | 4.1.12-bp151.4.3.1 | OPENSUSE-SU-2020:0698-1 |
| SUSE / openSUSE | openSUSE-Leap-15.1 | pdns-recursorx86_64 | Advisory build | 4.1.12-bp151.4.3.1 | OPENSUSE-SU-2020:0698-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | pdns-recursoraarch64 | Advisory build | 4.5.5-1.3 | OPENSUSE-SU-2024:11157-1 |
Show 3 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | openSUSE-Tumbleweed | pdns-recursorppc64le | Advisory build | 4.5.5-1.3 | OPENSUSE-SU-2024:11157-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | pdns-recursors390x | Advisory build | 4.5.5-1.3 | OPENSUSE-SU-2024:11157-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | pdns-recursorx86_64 | Advisory build | 4.5.5-1.3 | OPENSUSE-SU-2024:11157-1 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | n/a | n/a (affected) | mitre · cna |
Weaknesses
1- n/a
References
4- openSUSE-SU-2020:0698 http://lists.opensuse.org/opensuse-security-announce/2020-05/msg00052.html
- https://doc.powerdns.com/recursor/security-advisories/powerdns-advisory-2020-03.html
- FEDORA-2020-c0ff3df740 https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/NMP72NJGKBWR5WEBXAWX5KSLQUDFTG6S/
- FEDORA-2020-d9abb0c06d https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/PS4ZN5XGENYNFKX7QIIOUCQQHXE37GJF/
Provider assertions
2mitre · cna
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 68d1bc3a11863ab739bbbb127b95dc06769b43e26eabaa6342c75836e101578b
- Ingested
- 23 Sep 2026, 07:48:06 UTC
- Source record
- Official CVE record