CVE-2018-1046 Memory corruption in pdns
A stack-based buffer overflow in the dnsreplay tool allows arbitrary code execution or crashes when processing crafted PCAP files with the -ecs-stamp option.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Local or same network only
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2018-1046?
CVE-2018-1046 is a high-severity memory corruption vulnerability in [UNKNOWN] pdns, published on 16 Jul 2018. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.
Official description
pdns before version 4.1.2 is vulnerable to a buffer overflow in dnsreplay. In the dnsreplay tool provided with PowerDNS Authoritative, replaying a specially crafted PCAP file can trigger a stack-based buffer overflow, leading to a crash and potentially arbitrary code execution. This buffer overflow only occurs when the -ecs-stamp option of dnsreplay is used.
Which versions are affected by CVE-2018-1046?
It affects 1 product.
Linux distribution packages (3)
pdns SUSE:HPE Helion OpenStack 8 | All versions | 4.1.2-3.3.1 |
pdns SUSE:OpenStack Cloud 8 | All versions | 4.1.2-3.3.1 |
pdns SUSE:Package Hub 12 SP1 | All versions | 4.1.2-8.1 |
Products include Powerdns Pdns.
How do I fix CVE-2018-1046?
Upgrade to a fixed version.
Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.
Is CVE-2018-1046 being exploited?
There is no known exploitation of CVE-2018-1046 in the wild and no public exploit code.
Sources
Also known as DEBIAN-CVE-2018-1046, GHSA-622f-mfw7-jxg6, MGASA-2018-0255, SUSE-SU-2018:1660-1, UBUNTU-CVE-2018-1046, openSUSE-SU-2018:1462-1.