Vulnerabilities · 2017 · Canonical
CVE-2017-13704
Canonical Ubuntu Linux vulnerability
In dnsmasq before 2.78, if the DNS packet size does not match the expected size, the size parameter in a memset call gets a negative value. As it is an unsigned value, memset ends up writing up to 0xffffffff zero's (0xffffffffffffffff in 64 bit platforms), making dnsmasq crash.
Affected products
Ubuntu Linux, Debian Linux, Fedora, Leap, Enterprise Linux Desktop, Enterprise Linux Server, Enterprise Linux Workstation, Dnsmasq. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Canonical Ubuntu Linux runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- thekelleys.org.uk/dnsmasq/CHANGELOG · Vendor Advisory
- www.securityfocus.com/bid/101085 · Third Party Advisory
- www.securitytracker.com/id/1039474 · Third Party Advisory
- access.redhat.com/security/vulnerabilities/3199382 · Third Party Advisory
- security.googleblog.com/2017/10/behind-masq-yet-more-dns-and-dhcp.html · Third Party Advisory
- thekelleys.org.uk/gitweb/?p=dnsmasq.git%3Ba=commit%3Bh=63437ffbb58837b214b4b92cb1c54bc5f32
- www.securityfocus.com/bid/101977
- cert-portal.siemens.com/productcert/pdf/ssa-689071.pdf
- nvd.nist.gov/vuln/detail/CVE-2017-13704
- cve.org/CVERecord?id=CVE-2017-13704
More vulnerabilities in Canonical products
CVE-2025-54293CVE-2025-54292CVE-2025-54291CVE-2025-54290CVE-2025-54289CVE-2025-54288CVE-2025-54286CVE-2025-53513All 4,095
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.