Skip to content
OpenAdvisories
Unscored Public exploit CVE-2017-14495 EUVD-2017-5998GHSA-rcfc-xq5g-7phm

Memory leak in dnsmasq before 2.78, when the --add-mac, --add-cpe-id or --add-subnet option is specified, allows remote attackers to cause …

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

Description

Memory leak in dnsmasq before 2.78, when the --add-mac, --add-cpe-id or --add-subnet option is specified, allows remote attackers to cause a denial of service (memory consumption) via vectors involving DNS response creation.

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 —
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
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

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

Advisories 10

References