← All CVEs

CVE-2017-13704

high · 7.5

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.

7.5
CVSS
65.4%
EPSS (exploit prob.)
99th
EPSS percentile
2017-10-03
Published

CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Weaknesses

CWE-20

Affected products

VendorProductAffected versions
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

Check a specific version with /api/v1/cve/match.

References

Query this programmatically:

curl https://evil-db.io/api/v1/cve/CVE-2017-13704