Live threats

All CVEs / Canonical

CVE-2017-13704Canonical Ubuntu Linux

High 7.5 No auth neededHigh EPSS

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Ubuntu Linux.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected products (CPE)

VendorProductVersions
canonicalubuntu_linux14.04
canonicalubuntu_linux16.04
canonicalubuntu_linux17.04
debiandebian_linux7.0
debiandebian_linux7.1
debiandebian_linux9.0
fedoraprojectfedora27
novellleap42.2
novellleap42.3
redhatenterprise_linux_desktop7.0
redhatenterprise_linux_server7.0
redhatenterprise_linux_workstation7.0
thekelleysdnsmasq≤ 2.77

Official sources

References

Links published by the sources. Open them with care.