Skip to content
OpenAdvisories
High · 7.0 CVE-2018-1046 EUVD-2018-11702GHSA-622f-mfw7-jxg6

pdns before version 4.1.2 is vulnerable to a buffer overflow in dnsreplay. In the dnsreplay tool provided with PowerDNS Authoritative, repl…

Published Jul 16, 2018 · Updated Aug 5, 2024 · Assigned by redhat

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.

Affected products

VendorProductAffectedFixed
[UNKNOWN] pdns pdns 4.1.2 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 pdns 4.1.2-1 —
Debian 13 pdns 4.1.2-1 —
Debian 12 pdns 4.1.2-1 —
ReleasePackageFixed inAdvisory
Ubuntu Pro 22.04 LTS pdns 4.5.3-1ubuntu0.1~esm1 USN-7203-1
Ubuntu Pro 22.04 LTS pdns-recursor 4.6.0-1ubuntu1+esm1 USN-7203-1
Ubuntu Pro 20.04 LTS pdns +1 4.2.1-1ubuntu0.1~esm1 USN-7203-1
Ubuntu Pro 18.04 LTS pdns 4.1.1-1ubuntu0.1~esm1 USN-7203-1
Ubuntu Pro 18.04 LTS pdns-recursor 4.1.1-2ubuntu0.1~esm1 USN-7203-1
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 16.04 LTS pdns 4.0.0~alpha2-3ubuntu0.1~esm1 USN-7203-1
Ubuntu Pro 16.04 LTS pdns-recursor 4.0.0~alpha2-2ubuntu0.1+esm1 USN-7203-1
ReleasePackageFixed inAdvisory
SUSE Package Hub 12 SP1 pdns 4.1.2-8.1 openSUSE-SU-2018:1462-1
SUSE OpenStack Cloud 8 pdns 4.1.2-3.3.1 SUSE-SU-2018:1660-1
SUSE HPE Helion OpenStack 8 pdns 4.1.2-3.3.1 SUSE-SU-2018:1660-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed pdns 4.5.1-1.5 openSUSE-SU-2024:11156-1

Advisories 5

References