Memory corruption in Dnsmasq - CVE-2017-14496
Published: October 3, 2017
Vulnerability details
The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.
The vulnerability exists due to boundary error in add_pseudoheader() function when processing DNS queries. A remote unauthenticated attacker can send a specially crafted DNS request to the affected service, cause dnsmasq to call memcpy with negative size and crash.
Successful exploitation of this vulnerability may allow an attacker to perform a denial of service (DoS) attack, but requires that dnsmasq is compiled with --add-mac, --add-cpe-id or --add-subnet option.
Affected software
Debian Linux
Arch Linux
Amazon Linux AMI
Gentoo Linux
Red Hat Enterprise Linux for IBM z Systems
Red Hat Enterprise Linux for Scientific Computing
Red Hat Enterprise Linux Desktop
Red Hat Enterprise Linux Workstation
Red Hat Enterprise Linux Server
Red Hat Enterprise Linux EUS Compute Node
SUSE Linux
Ubuntu
Slackware Linux
Fedora
SCALANCE S615
SCALANCE M800
SCALANCE W1750D
dnsmasq (Alpine package)
dnsmasq
Edgeline EL300 Converged Edge System
How to mitigate CVE-2017-14496
Edgeline EL300 Converged Edge System - update to 1.50
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
- Memory corruption in dnsmasq (Alpine package)
- SUSE Linux update for dnsmasq
- SUSE Linux update for dnsmasq
- SUSE Linux update for dnsmasq
- Multiple vulnerabilities in HPE Edgeline EL300 Converged Edge System
- Fedora 27 update for dnsmasq
- Fedora 26 update for dnsmasq
- Fedora 25 update for dnsmasq