Heap-based buffer overflow in Dnsmasq - CVE-2017-14491
Published: October 2, 2017 / Updated: March 2, 2021
Vulnerability details
The vulnerability allows a remote attacker to execute arbitrary code on the target system.
The vulnerability exists due to boundary error in dnsmasq.c file when processing DNS replies. A remote unauthenticated attacker can send specially crafted DNS packets to the affected service, trigger heap-based buffer overflow by 2 bytes and crash the service or execute arbitrary code on the target system.
Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.
Affected software
Debian Linux
Arch Linux
Amazon Linux AMI
Gentoo Linux
Red Hat Enterprise Linux Server - Extended Life Cycle Support
Red Hat Enterprise Linux Server - Extended Life Cycle Support (for IBM z Systems)
Red Hat Enterprise Linux Server - AUS
Red Hat Enterprise Linux Workstation
Red Hat Enterprise Linux for Scientific Computing
Red Hat Enterprise Linux for IBM z Systems
Red Hat Enterprise Linux Desktop
Red Hat Enterprise Linux Server
Red Hat Enterprise Linux EUS Compute Node
Google Android
SUSE Linux
Ubuntu
Slackware Linux
Fedora
SCALANCE S615
SCALANCE M800
SCALANCE W1750D
dnsmasq (Alpine package)
dnsmasq (Red Hat package)
dnsmasq
Samsung Mobile Firmware
Edgeline EL300 Converged Edge System
How to mitigate CVE-2017-14491
Samsung Mobile Firmware - update to SMR-MAR-2021
Edgeline EL300 Converged Edge System - update to 1.50
dnsmasq (Red Hat package) - addressed in versions 2.45-2.el5_9.1, 2.45-2.el5_11.1
dnsmasq - addressed in versions 2.76-4.fc25, 2.76-5.fc26, 2.77-9.fc27
Links to Public Exploits and PoC-codes
External References
Related Security Bulletins
- Multiple vulnerabilities in GNU Dnsmasq
- Debian update for dnsmasq
- Ubuntu update for Dnsmasq
- Ubuntu update for Dnsmasq
- Arch Linux update for dnsmasq
- Slackware Linux update for dnsmasq
- Gentoo update for Dnsmasq
- Amazon Linux AMI update for dnsmasq
- Multiple vulnerabilities in Siemens SCALANCE W1750D, M800 and S615
- Ubuntu update for Dnsmasq
- OpenSUSE Linux update for dnsmasq
- Red Hat update for dnsmasq
- Red Hat update for dnsmasq
- Red Hat update for dnsmasq
- Red Hat update for dnsmasq
- Heap-based buffer overflow in dnsmasq (Alpine package)
- SUSE Linux update for dnsmasq
- SUSE Linux update for dnsmasq
- SUSE Linux update for dnsmasq
- Multiple vulnerabilities in Google Android
- Multiple vulnerabilities in Samsung Mobile Firmware
- Multiple vulnerabilities in HPE Edgeline EL300 Converged Edge System
- Fedora 27 update for dnsmasq
- Fedora 26 update for dnsmasq
- Fedora 25 update for dnsmasq
- Red Hat Enterprise Linux 5 update for dnsmasq
- Red Hat Enterprise Linux 5 Extended Lifecycle Support update for dnsmasq