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
EL
Enterprise Linux Desktop · Redhat
7.0 · source: NVD
EL
Enterprise Linux Server · Redhat
7.0 · source: NVD
EL
Enterprise Linux Workstation · Redhat
7.0 · 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
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2017-13704
CVE.org
https://www.cve.org/CVERecord?id=CVE-2017-13704
Release Notes
http://thekelleys.org.uk/dnsmasq/CHANGELOG
thekelleys.org.uk
http://thekelleys.org.uk/gitweb/?p=dnsmasq.git%3Ba=commit%3Bh=63437ffbb58837b214b4b92cb1c54bc5f3279928
Third Party Advisory
http://www.securityfocus.com/bid/101085
www.securityfocus.com
http://www.securityfocus.com/bid/101977
Third Party Advisory
http://www.securitytracker.com/id/1039474
Issue Tracking
https://access.redhat.com/security/vulnerabilities/3199382
More from Ubuntu Linux
9.8
CVE-2020-11651
SaltStack Salt Authentication Bypass Vulnerability
9.8
CVE-2020-7247
OpenSMTPD Remote Code Execution Vulnerability
9.8
CVE-2019-11043
Underflow in PHP-FPM can lead to RCE
9.8
CVE-2019-16928
Exim Out-of-bounds Write Vulnerability
9.8
CVE-2019-10149
Exim Mail Transfer Agent (MTA) Improper Input Validation
