低危 PowerDNS Recursor 至 4.3.0 gethostname 越界读取漏洞

CVE编号

CVE-2020-10030

利用情况

暂无

补丁情况

官方补丁

披露时间

2020-05-20
漏洞描述
在PowerDNS Recursor 4.1.0到4.3.0(包括4.3.0)中发现了一个问题。它允许攻击者(有足够的权限更改系统主机名)通过基于堆栈的越界读取导致未初始化内存内容泄漏。只有在gethostname()没有以“\0”结尾返回字符串的系统上,如果主机名大于提供的缓冲区,则会发生这种情况。(Linux系统不会受到影响,因为缓冲区总是足够大。OpenBSD系统不受影响,因为返回的主机名总是以“\0”结尾。)在某些情况下,此问题可能会导致在堆栈上写入一个超出边界的'\0'字节,从而导致拒绝服务或可能执行任意代码。

解决建议
厂商已提供漏洞修补方案,请关注厂商主页及时更新:
https://doc.powerdns.com/recursor/security-advisories/powerdns-advisory-2020-03.html
受影响软件情况
# 类型 厂商 产品 版本 影响面
1
运行在以下环境
应用 powerdns recursor * From
(including)
4.1.0
Up to
(including)
4.3.0
运行在以下环境
系统 alpine_3.10 pdns-recursor * Up to
(excluding)
4.1.16-r0
运行在以下环境
系统 alpine_3.9 pdns-recursor * Up to
(excluding)
4.1.16-r0
运行在以下环境
系统 debian_11 pdns-recursor * Up to
(excluding)
4.3.1-1
运行在以下环境
系统 debian_12 pdns-recursor * Up to
(excluding)
4.3.1-1
运行在以下环境
系统 fedora_31 pdns-recursor * Up to
(excluding)
4.2.2-1.fc31
运行在以下环境
系统 fedora_32 pdns-recursor * Up to
(excluding)
4.3.1-1.fc32
运行在以下环境
系统 fedora_EPEL_7 pdns-recursor * Up to
(excluding)
4.1.16-1.el7
运行在以下环境
系统 fedora_EPEL_8 pdns-recursor * Up to
(excluding)
4.2.2-1.el8
运行在以下环境
系统 opensuse_Leap_15.1 pdns-recursor * Up to
(excluding)
4.1.12-bp151.4.3.1
阿里云评分
2.7
  • 攻击路径
    远程
  • 攻击复杂度
    复杂
  • 权限要求
    普通权限
  • 影响范围
    有限影响
  • EXP成熟度
    未验证
  • 补丁情况
    官方补丁
  • 数据保密性
    无影响
  • 数据完整性
    无影响
  • 服务器危害
    无影响
  • 全网数量
    100
CWE-ID 漏洞类型
CWE-125 跨界内存读
阿里云安全产品覆盖情况