CVE-2017-14491
dnsmasq: heap overflow in the code responsible for building DNS replies
Severity by source
Trivy's own label is CRITICAL. Rated critical by NVD, Red Hat, Amazon, Oracle, Photon OS. Rated lower by Ubuntu (high).
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.
Affected packages and fixed versions
| Source | Package | Fixed in |
|---|---|---|
| amazon linux 1 | dnsmasq, dnsmasq-debuginfo, dnsmasq-utils | 2.76-2.14.amzn1 |
| amazon linux 2 | dnsmasq, dnsmasq-debuginfo, dnsmasq-utils | 2.76-5.amzn2 |
| Oracle Linux 5 | dnsmasq | 2.45-1.1.0.1.el5_11 |
| Oracle Linux 6 | dnsmasq, dnsmasq-utils | 2.48-18.el6_9 |
| Oracle Linux 7 | dnsmasq, dnsmasq-utils | 2.76-2.el7_4.2 |
| Photon OS 1.0 | dnsmasq | 2.76-2.ph1 |
| Photon OS 2.0 | dnsmasq | 2.76-3.ph2 |
| alpine 3.10 | dnsmasq | 2.78-r0 |
| alpine 3.11 | dnsmasq | 2.78-r0 |
| alpine 3.12 | dnsmasq | 2.78-r0 |
| alpine 3.13 | dnsmasq | 2.78-r0 |
| alpine 3.14 | dnsmasq | 2.78-r0 |
Show all 49 entries from 43 sources
| Source | Package | Fixed in |
|---|---|---|
| amazon linux 1 | dnsmasq | 2.76-2.14.amzn1 |
| amazon linux 1 | dnsmasq-debuginfo | 2.76-2.14.amzn1 |
| amazon linux 1 | dnsmasq-utils | 2.76-2.14.amzn1 |
| amazon linux 2 | dnsmasq | 2.76-5.amzn2 |
| amazon linux 2 | dnsmasq-debuginfo | 2.76-5.amzn2 |
| amazon linux 2 | dnsmasq-utils | 2.76-5.amzn2 |
| Oracle Linux 5 | dnsmasq | 2.45-1.1.0.1.el5_11 |
| Oracle Linux 6 | dnsmasq | 2.48-18.el6_9 |
| Oracle Linux 6 | dnsmasq-utils | 2.48-18.el6_9 |
| Oracle Linux 7 | dnsmasq | 2.76-2.el7_4.2 |
| Oracle Linux 7 | dnsmasq-utils | 2.76-2.el7_4.2 |
| Photon OS 1.0 | dnsmasq | 2.76-2.ph1 |
| Photon OS 2.0 | dnsmasq | 2.76-3.ph2 |
| alpine 3.10 | dnsmasq | 2.78-r0 |
| alpine 3.11 | dnsmasq | 2.78-r0 |
| alpine 3.12 | dnsmasq | 2.78-r0 |
| alpine 3.13 | dnsmasq | 2.78-r0 |
| alpine 3.14 | dnsmasq | 2.78-r0 |
| alpine 3.15 | dnsmasq | 2.78-r0 |
| alpine 3.16 | dnsmasq | 2.78-r0 |
| alpine 3.17 | dnsmasq | 2.78-r0 |
| alpine 3.18 | dnsmasq | 2.78-r0 |
| alpine 3.19 | dnsmasq | 2.78-r0 |
| alpine 3.20 | dnsmasq | 2.78-r0 |
| alpine 3.21 | dnsmasq | 2.78-r0 |
| alpine 3.22 | dnsmasq | 2.78-r0 |
| alpine 3.23 | dnsmasq | 2.78-r0 |
| alpine 3.24 | dnsmasq | 2.78-r0 |
| alpine 3.3 | dnsmasq | 2.76-r1 |
| alpine 3.4 | dnsmasq | 2.76-r1 |
| alpine 3.5 | dnsmasq | 2.76-r2 |
| alpine 3.6 | dnsmasq | 2.76-r5 |
| alpine 3.7 | dnsmasq | 2.78-r0 |
| alpine 3.8 | dnsmasq | 2.78-r0 |
| alpine 3.9 | dnsmasq | 2.78-r0 |
| alpine edge | dnsmasq | 2.78-r0 |
| debian 11 | dnsmasq | 2.78-1 |
| debian 12 | dnsmasq | 2.78-1 |
| debian 13 | dnsmasq | 2.78-1 |
| debian 14 | dnsmasq | 2.78-1 |
| debian 7 | dnsmasq | 2.62-3+deb7u4 |
| debian 8 | dnsmasq | 2.72-3+deb8u2 |
| debian 9 | dnsmasq | 2.76-5+deb9u1 |
| echo | dnsmasq | 2.78-1 |
| ubuntu 14.04 | dnsmasq | 2.68-1ubuntu0.2 |
| ubuntu 14.04-ESM | dnsmasq | 2.68-1ubuntu0.2 |
| ubuntu 16.04 | dnsmasq | 2.75-1ubuntu0.16.04.3 |
| ubuntu 16.04-ESM | dnsmasq | 2.75-1ubuntu0.16.04.3 |
| ubuntu 17.04 | dnsmasq | 2.76-5ubuntu0.1 |
References
- http://lists.opensuse.org/opensuse-security-announce/2017-10/msg00003.html
- http://lists.opensuse.org/opensuse-security-announce/2017-10/msg00004.html
- http://lists.opensuse.org/opensuse-security-announce/2017-10/msg00005.html
- http://lists.opensuse.org/opensuse-security-announce/2017-10/msg00006.html
- http://nvidia.custhelp.com/app/answers/detail/a_id/4560
- http://nvidia.custhelp.com/app/answers/detail/a_id/4561
- http://packetstormsecurity.com/files/144480/Dnsmasq-2-Byte-Heap-Based-Overflow.html
- http://thekelleys.org.uk/dnsmasq/CHANGELOG
All 47 references
- http://thekelleys.org.uk/gitweb/?p=dnsmasq.git%3Ba=commit%3Bh=0549c73b7ea6b22a3c49beb4d432f185a81efcbc
- http://www.arubanetworks.com/assets/alert/ARUBA-PSA-2017-005.txt
- http://www.debian.org/security/2017/dsa-3989
- http://www.huawei.com/en/psirt/security-advisories/huawei-sa-20171103-01-dnsmasq-en
- http://www.securityfocus.com/bid/101085
- http://www.securityfocus.com/bid/101977
- http://www.securitytracker.com/id/1039474
- http://www.ubuntu.com/usn/USN-3430-1
- http://www.ubuntu.com/usn/USN-3430-2
- http://www.ubuntu.com/usn/USN-3430-3
- https://access.redhat.com/errata/RHSA-2017:2836
- https://access.redhat.com/errata/RHSA-2017:2837
- https://access.redhat.com/errata/RHSA-2017:2838
- https://access.redhat.com/errata/RHSA-2017:2839
- https://access.redhat.com/errata/RHSA-2017:2840
- https://access.redhat.com/errata/RHSA-2017:2841
- https://access.redhat.com/security/cve/CVE-2017-14491
- https://access.redhat.com/security/vulnerabilities/3199382
- https://cert-portal.siemens.com/productcert/pdf/ssa-689071.pdf
- https://linux.oracle.com/cve/CVE-2017-14491.html
- https://linux.oracle.com/errata/ELSA-2017-2840.html
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/527KNN34RN2SB6MBJG7CKSEBWYE3TJEB/
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/5MMPCJOYPPL4B5RBY4U425PWG7EETDTD/
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/YXRZ2W6TV6NLUJC5NOFBSG6PZSMDTYPV/
- https://nvd.nist.gov/vuln/detail/CVE-2017-14491
- https://security.gentoo.org/glsa/201710-27
- https://security.googleblog.com/2017/10/behind-masq-yet-more-dns-and-dhcp.html
- https://ubuntu.com/security/notices/USN-3430-1
- https://ubuntu.com/security/notices/USN-3430-2
- https://www.arista.com/en/support/advisories-notices/security-advisories/3577-security-advisory-30
- https://www.broadcom.com/support/fibre-channel-networking/security-advisories/brocade-security-advisory-2017-449
- https://www.broadcom.com/support/fibre-channel-networking/security-advisories/brocade-security-advisory-2017-449/
- https://www.cve.org/CVERecord?id=CVE-2017-14491
- https://www.debian.org/security/2017/dsa-3989
- https://www.exploit-db.com/exploits/42941/
- https://www.kb.cert.org/vuls/id/973527
- https://www.mail-archive.com/dnsmasq-discuss@lists.thekelleys.org.uk/msg11664.html
- https://www.mail-archive.com/dnsmasq-discuss@lists.thekelleys.org.uk/msg11665.html
- https://www.synology.com/support/security/Synology_SA_17_59_Dnsmasq