漏洞描述
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.
影响产品
修复建议
建议关注厂商安全公告,及时升级至已修复版本,并结合实际资产暴露情况采取缓解措施。
参考链接
security.googleblog.comhttps://security.googleblog.com/2017/10/behind-masq-yet-more-dns-and-dhcp.html↗www.securityfocus.comhttp://www.securityfocus.com/bid/101977↗www.securitytracker.comhttp://www.securitytracker.com/id/1039474↗www.securityfocus.comhttp://www.securityfocus.com/bid/101085↗www.synology.comhttps://www.synology.com/support/security/Synology_SA_17_59_Dnsmasq↗access.redhat.comhttps://access.redhat.com/security/vulnerabilities/3199382↗lists.fedoraproject.orghttps://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/4TK6DWC53WSU6633EVZL7H4PCWBYHMHK/↗thekelleys.org.ukhttp://thekelleys.org.uk/gitweb/?p=dnsmasq.git%3Ba=commit%3Bh=63437ffbb58837b214b4b92cb1c54bc5f3279928↗www.mail-archive.comhttps://www.mail-archive.com/dnsmasq-discuss%40lists.thekelleys.org.uk/msg11665.html↗thekelleys.org.ukhttp://thekelleys.org.uk/dnsmasq/CHANGELOG↗www.mail-archive.comhttps://www.mail-archive.com/dnsmasq-discuss%40lists.thekelleys.org.uk/msg11664.html↗cert-portal.siemens.comhttps://cert-portal.siemens.com/productcert/pdf/ssa-689071.pdf↗