High severity · published Oct 3, 2017
CVE-2017-13704
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
7.5
CVSS
65.4%
EPSS
No
On KEV
Description
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.
CVSS vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
None
Confidentiality
None
Integrity
None
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)65.4% · higher than 99% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
DL
Debian Linux · Debian
7.0; 7.1; 9.0 · source: NVD
DN
Dnsmasq · Thekelleys
through 2.77 · source: NVD
FE
Fedora · Fedoraproject
27 · source: NVD
LE
Leap · Novell
42.2; 42.3 · source: NVD
UL
Ubuntu Linux · Canonical
14.04; 16.04; 17.04 · source: NVD