CVE-2017-13704Canonical Ubuntu Linux
High 7.5 No auth neededHigh EPSS
Follow: this CVE · Canonical · Canonical Ubuntu Linux We alert you by email or Slack (account required).
- Priority
- 67
- CVSS 3.0
- 7.5
- EPSS
- 65.4% probability of exploitation in 30 days · percentile 99
- Auth required
- No
- Published
- Oct 3, 2017
- Updated
- Jun 17, 2026
- Category
- Operating system · Linux
- Weakness (CWE)
- CWE-20
- Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
What happens
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.
What to do
- Apply the vendor's security update for Ubuntu Linux.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| canonical | ubuntu_linux | 14.04 |
| canonical | ubuntu_linux | 16.04 |
| canonical | ubuntu_linux | 17.04 |
| debian | debian_linux | 7.0 |
| debian | debian_linux | 7.1 |
| debian | debian_linux | 9.0 |
| fedoraproject | fedora | 27 |
| novell | leap | 42.2 |
| novell | leap | 42.3 |
| redhat | enterprise_linux_desktop | 7.0 |
| redhat | enterprise_linux_server | 7.0 |
| redhat | enterprise_linux_workstation | 7.0 |
| thekelleys | dnsmasq | ≤ 2.77 |
Official sources
References
Links published by the sources. Open them with care.
- thekelleys.org.uk Release Notes Vendor Advisory
- thekelleys.org.uk
- www.securityfocus.com Third Party Advisory VDB Entry
- www.securityfocus.com
- www.securitytracker.com Third Party Advisory VDB Entry
- access.redhat.com Issue Tracking Third Party Advisory
- cert-portal.siemens.com
- lists.fedoraproject.org
- security.googleblog.com Third Party Advisory
- www.mail-archive.com
- www.mail-archive.com
- www.synology.com