低危 Dnsmasq up to 2.77 DNS Request add_pseudoheader 拒绝服务漏洞

CVE编号

CVE-2017-14496

利用情况

POC 已公开

补丁情况

官方补丁

披露时间

2017-10-03
漏洞描述
在2.78之前的dnsmasq中add_pseudoheader函数中的整数下溢,当指定了--add-mac, - add-cpe-id或--add-subnet选项时,允许远程攻击者通过精心设计的DNS请求导致拒绝服务。

解决建议
厂商补丁:
Dnsmasq
-------
目前厂商已经发布了升级补丁以修复这个安全问题,请到厂商的主页下载:
http://thekelleys.org.uk/dnsmasq/CHANGELOG
http://thekelleys.org.uk/gitweb/?p=dnsmasq.git;a=commit;h=897c113fda0886a28a986cc6ba17bb93bd6cb1c7
受影响软件情况
# 类型 厂商 产品 版本 影响面
1
运行在以下环境
应用 thekelleys dnsmasq * Up to
(including)
2.77
运行在以下环境
系统 alpine_3.10 dnsmasq * Up to
(excluding)
2.78-r0
运行在以下环境
系统 alpine_3.11 dnsmasq * Up to
(excluding)
2.78-r0
运行在以下环境
系统 alpine_3.12 dnsmasq * Up to
(excluding)
2.78-r0
运行在以下环境
系统 alpine_3.13 dnsmasq * Up to
(excluding)
2.78-r0
运行在以下环境
系统 alpine_3.14 dnsmasq * Up to
(excluding)
2.78-r0
运行在以下环境
系统 alpine_3.15 dnsmasq * Up to
(excluding)
2.78-r0
运行在以下环境
系统 alpine_3.16 dnsmasq * Up to
(excluding)
2.78-r0
运行在以下环境
系统 alpine_3.17 dnsmasq * Up to
(excluding)
2.78-r0
运行在以下环境
系统 alpine_3.18 dnsmasq * Up to
(excluding)
2.78-r0
运行在以下环境
系统 alpine_3.3 dnsmasq * Up to
(excluding)
2.76-r1
运行在以下环境
系统 alpine_3.4 dnsmasq * Up to
(excluding)
2.76-r1
运行在以下环境
系统 alpine_3.5 dnsmasq * Up to
(excluding)
2.76-r2
运行在以下环境
系统 alpine_3.6 dnsmasq * Up to
(excluding)
2.76-r5
运行在以下环境
系统 alpine_3.7 dnsmasq * Up to
(excluding)
2.78-r0
运行在以下环境
系统 alpine_3.8 dnsmasq * Up to
(excluding)
2.78-r0
运行在以下环境
系统 alpine_3.9 dnsmasq * Up to
(excluding)
2.78-r0
运行在以下环境
系统 amazon_2 dnsmasq * Up to
(excluding)
2.76-5.amzn2
运行在以下环境
系统 amazon_AMI dnsmasq * Up to
(excluding)
2.76-2.14.amzn1
运行在以下环境
系统 canonical ubuntu_linux 14.04 -
运行在以下环境
系统 canonical ubuntu_linux 16.04 -
运行在以下环境
系统 canonical ubuntu_linux 17.04 -
运行在以下环境
系统 centos_7 dnsmasq * Up to
(excluding)
2.76-2.el7_4.2
运行在以下环境
系统 debian debian_linux 7.0 -
运行在以下环境
系统 debian debian_linux 7.1 -
运行在以下环境
系统 debian debian_linux 9.0 -
运行在以下环境
系统 debian_10 dnsmasq * Up to
(excluding)
2.78-1
运行在以下环境
系统 debian_11 dnsmasq * Up to
(excluding)
2.78-1
运行在以下环境
系统 debian_12 dnsmasq * Up to
(excluding)
2.78-1
运行在以下环境
系统 fedora_25 dnsmasq * Up to
(excluding)
2.76-4.fc25
运行在以下环境
系统 fedora_26 dnsmasq * Up to
(excluding)
2.76-5.fc26
运行在以下环境
系统 fedora_27 dnsmasq-debugsource * Up to
(excluding)
2.77-9.fc27
运行在以下环境
系统 google android 4.4.4 -
运行在以下环境
系统 google android 5.0.2 -
运行在以下环境
系统 google android 5.1.1 -
运行在以下环境
系统 google android 6.0 -
运行在以下环境
系统 google android 6.0.1 -
运行在以下环境
系统 google android 7.0 -
运行在以下环境
系统 google android 7.1.1 -
运行在以下环境
系统 google android 7.1.2 -
运行在以下环境
系统 google android 8.0 -
运行在以下环境
系统 novell leap 42.2 -
运行在以下环境
系统 novell leap 42.3 -
运行在以下环境
系统 opensuse_Leap_42.2 dnsmasq * Up to
(excluding)
2.78-13.1
运行在以下环境
系统 opensuse_Leap_42.3 dnsmasq * Up to
(excluding)
2.78-13.1
运行在以下环境
系统 oracle_7 oraclelinux-release * Up to
(excluding)
2.76-2.el7_4.2
运行在以下环境
系统 redhat enterprise_linux_desktop 7.0 -
运行在以下环境
系统 redhat enterprise_linux_server 7.0 -
运行在以下环境
系统 redhat enterprise_linux_workstation 7.0 -
运行在以下环境
系统 redhat_7 dnsmasq * Up to
(excluding)
2.76-2.el7_4.2
运行在以下环境
系统 suse_11_SP4 dnsmasq * Up to
(excluding)
2.78-0.17.5.1
运行在以下环境
系统 suse_12 dnsmasq * Up to
(excluding)
2.78-18.3
运行在以下环境
系统 suse_12_SP2 dnsmasq * Up to
(excluding)
2.78-18.3.1
运行在以下环境
系统 suse_12_SP3 dnsmasq * Up to
(excluding)
2.78-18.3.1
运行在以下环境
系统 ubuntu_14.04 dnsmasq * Up to
(excluding)
2.68-1ubuntu0.2
运行在以下环境
系统 ubuntu_14.04.6_lts dnsmasq * Up to
(excluding)
2.68-1ubuntu0.2
运行在以下环境
系统 ubuntu_16.04 dnsmasq * Up to
(excluding)
2.75-1ubuntu0.16.04.3
运行在以下环境
系统 ubuntu_16.04.7_lts dnsmasq * Up to
(excluding)
2.75-1ubuntu0.16.04.3
阿里云评分
3.1
  • 攻击路径
    远程
  • 攻击复杂度
    复杂
  • 权限要求
    无需权限
  • 影响范围
    有限影响
  • EXP成熟度
    POC 已公开
  • 补丁情况
    官方补丁
  • 数据保密性
    无影响
  • 数据完整性
    无影响
  • 服务器危害
    无影响
  • 全网数量
    100
CWE-ID 漏洞类型
CWE-191 整数下溢(超界折返)
阿里云安全产品覆盖情况