VulnerabilityModified
CVE-2017-13704
As it is an unsigned value, memset ends up writing up to 0xffffffff zero's (0xffffffffffffffff in 64 bit platforms), making dnsmasq crash.
HIGH 7.5EPSS 65.4%
Does this matter?
EPSS puts the probability of exploitation in the next 30 days at 65.4%, higher than 99% of all known CVEs. Patch or mitigate before the next change window.
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 3.0
- 7.5 HIGHCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- EPSS
- 65.41% probability · 99th percentile
- CISA KEV
- Not listed
- Weakness
- CWE-20
- Affected
- canonical/ubuntu linux · debian/debian linux · fedoraproject/fedora · novell/leap · redhat/enterprise linux desktop · redhat/enterprise linux server · redhat/enterprise linux workstation · thekelleys/dnsmasq
- Source
- cve@mitre.org
References
- http://thekelleys.org.uk/dnsmasq/CHANGELOGRelease Notes, Vendor Advisory
- http://thekelleys.org.uk/gitweb/?p=dnsmasq.git%3Ba=commit%3Bh=63437ffbb58837b214b4b92cb1c54bc5f3279928
- http://www.securityfocus.com/bid/101085Third Party Advisory, VDB Entry
- http://www.securityfocus.com/bid/101977
- http://www.securitytracker.com/id/1039474Third Party Advisory, VDB Entry
- https://access.redhat.com/security/vulnerabilities/3199382Issue Tracking, Third Party Advisory
- https://cert-portal.siemens.com/productcert/pdf/ssa-689071.pdf
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/4TK6DWC53WSU6633EVZL7H4PCWBYHMHK/
- https://security.googleblog.com/2017/10/behind-masq-yet-more-dns-and-dhcp.htmlThird Party Advisory
- https://www.mail-archive.com/dnsmasq-discuss%40lists.thekelleys.org.uk/msg11664.html
- https://www.mail-archive.com/dnsmasq-discuss%40lists.thekelleys.org.uk/msg11665.html
- https://www.synology.com/support/security/Synology_SA_17_59_Dnsmasq
- http://thekelleys.org.uk/dnsmasq/CHANGELOGRelease Notes, Vendor Advisory
- http://thekelleys.org.uk/gitweb/?p=dnsmasq.git%3Ba=commit%3Bh=63437ffbb58837b214b4b92cb1c54bc5f3279928
- http://www.securityfocus.com/bid/101085Third Party Advisory, VDB Entry
- http://www.securityfocus.com/bid/101977
- http://www.securitytracker.com/id/1039474Third Party Advisory, VDB Entry
- https://access.redhat.com/security/vulnerabilities/3199382Issue Tracking, Third Party Advisory
- https://cert-portal.siemens.com/productcert/pdf/ssa-689071.pdf
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/4TK6DWC53WSU6633EVZL7H4PCWBYHMHK/
- https://security.googleblog.com/2017/10/behind-masq-yet-more-dns-and-dhcp.htmlThird Party Advisory
- https://www.mail-archive.com/dnsmasq-discuss%40lists.thekelleys.org.uk/msg11664.html
- https://www.mail-archive.com/dnsmasq-discuss%40lists.thekelleys.org.uk/msg11665.html
- https://www.synology.com/support/security/Synology_SA_17_59_Dnsmasq
Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.