Skip to content
OpenAdvisories
Unscored Public exploit CVE-2017-14491 EUVD-2017-5994GHSA-m4px-ph3f-7964

Heap-based buffer overflow in dnsmasq before 2.78 allows remote attackers to cause a denial of service (crash) or execute arbitrary code vi…

Published Oct 2, 2017 · Updated Aug 5, 2024 · Assigned by mitre

Description

Heap-based buffer overflow in dnsmasq before 2.78 allows remote attackers to cause a denial of service (crash) or execute arbitrary code via a crafted DNS response.

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 dnsmasq 2.78-1 —
Debian 13 dnsmasq 2.78-1 —
Debian 12 dnsmasq 2.78-1 —
Debian 9 dnsmasq 2.76-5+deb9u1 DSA-3989-1
Debian 8 dnsmasq 2.72-3+deb8u2 DSA-3989-1
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Debian 7 dnsmasq 2.62-3+deb7u4 DLA-1124-1
ReleasePackageFixed inAdvisory
Ubuntu 16.04 LTS dnsmasq 2.75-1ubuntu0.16.04.3 USN-3430-1
Ubuntu 14.04 LTS dnsmasq 2.68-1ubuntu0.2 USN-3430-1
ReleasePackageFixed inAdvisory
RHEL 7 dnsmasq +1 2.76-2.el7_4.2 RHSA-2017:2836
RHEL 6 dnsmasq +1 2.48-18.el6_9 RHSA-2017:2838
Show 11 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Red Hat Rhel Mission Critical 6 dnsmasq 2.48-5.el6_2.2 RHSA-2017:2839
RHEL 7.3 EUS dnsmasq +1 2.66-21.el7_3.2 RHSA-2017:2837
RHEL 7.2 EUS dnsmasq +1 2.66-14.el7_2.2 RHSA-2017:2837
RHEL 6.7 EUS dnsmasq +1 2.48-16.el6_7.1 RHSA-2017:2839
RHEL 6.6 TUS dnsmasq +1 2.48-14.el6_6.1 RHSA-2017:2839
RHEL 6.6 AUS dnsmasq +1 2.48-14.el6_6.1 RHSA-2017:2839
RHEL 6.5 TUS dnsmasq +1 2.48-13.el6_5.1 RHSA-2017:2839
RHEL 6.5 AUS dnsmasq +1 2.48-13.el6_5.1 RHSA-2017:2839
RHEL 6.4 AUS dnsmasq +1 2.48-13.el6_4.1 RHSA-2017:2839
RHEL 5.9 AUS dnsmasq 2.45-2.el5_9.1 RHSA-2017:2841
RHEL 5 ELS dnsmasq 2.45-2.el5_11.1 RHSA-2017:2840
ReleasePackageFixed inAdvisory
SLES 12 SP3 dnsmasq 2.78-18.3.1 SUSE-SU-2017:2618-1
SLES 12 SP2 dnsmasq 2.78-18.3.1 SUSE-SU-2017:2618-1
SLES 12 SP1 dnsmasq 2.78-18.3.1 SUSE-SU-2017:2618-1
SLES 12 dnsmasq 2.78-6.6.1 SUSE-SU-2017:2616-1
SLES 11 SP4 dnsmasq 2.78-0.17.5.1 SUSE-SU-2017:2619-1
Show 8 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES 11 SP3 dnsmasq 2.78-0.16.5.1 SUSE-SU-2017:2617-1
SLES for SAP 12 SP3 dnsmasq 2.78-18.3.1 SUSE-SU-2017:2618-1
SLES for SAP 12 SP2 dnsmasq 2.78-18.3.1 SUSE-SU-2017:2618-1
SLES for SAP 12 SP1 dnsmasq 2.78-18.3.1 SUSE-SU-2017:2618-1
SLES for SAP 11 SP4 dnsmasq 2.78-0.17.5.1 SUSE-SU-2017:2619-1
SUSE OpenStack Cloud 7 dnsmasq 2.78-18.3.1 SUSE-SU-2017:2618-1
SUSE OpenStack Cloud 6 dnsmasq 2.78-18.3.1 SUSE-SU-2017:2618-1
SUSE Linux Enterprise Point of Sale 11 SP3 dnsmasq 2.78-0.16.5.1 SUSE-SU-2017:2617-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed dnsmasq 2.86-1.1 openSUSE-SU-2024:10721-1
ReleasePackageFixed inAdvisory
Alpine v3.24 dnsmasq 2.78-r0 —
Alpine v3.23 dnsmasq 2.78-r0 —
Alpine v3.22 dnsmasq 2.78-r0 —
Alpine v3.21 dnsmasq 2.78-r0 —
Alpine v3.20 dnsmasq 2.78-r0 —
Show 17 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Alpine v3.19 dnsmasq 2.78-r0 —
Alpine v3.18 dnsmasq 2.78-r0 —
Alpine v3.17 dnsmasq 2.78-r0 —
Alpine v3.16 dnsmasq 2.78-r0 —
Alpine v3.15 dnsmasq 2.78-r0 —
Alpine v3.14 dnsmasq 2.78-r0 —
Alpine v3.13 dnsmasq 2.78-r0 —
Alpine v3.12 dnsmasq 2.78-r0 —
Alpine v3.11 dnsmasq 2.78-r0 —
Alpine v3.10 dnsmasq 2.78-r0 —
Alpine v3.9 dnsmasq 2.78-r0 —
Alpine v3.8 dnsmasq 2.78-r0 —
Alpine v3.7 dnsmasq 2.78-r0 —
Alpine v3.6 dnsmasq 2.76-r5 —
Alpine v3.5 dnsmasq 2.76-r2 —
Alpine v3.4 dnsmasq 2.76-r1 —
Alpine v3.3 dnsmasq 2.76-r1 —

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2 dnsmasq +1 2.76-5.amzn2 ALAS2-2019-1251

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 7 dnsmasq +1 2.76-2.el7_4.2 ELSA-2017-2836

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

Exploit-DB 1

GitHub 1 repository

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Advisories 19

References