中危 golang go 不可达退出条件的循环(无限循环)

CVE编号

CVE-2021-27918

利用情况

暂无

补丁情况

官方补丁

披露时间

2021-03-11
漏洞描述
encoding/xml in Go before 1.15.9 and 1.16.x before 1.16.1 has an infinite loop if a custom TokenReader (for xml.NewTokenDecoder) returns EOF in the middle of an element. This can occur in the Decode, DecodeElement, or Skip method.
解决建议
建议您更新当前系统或软件至最新版,完成漏洞的修复。
受影响软件情况
# 类型 厂商 产品 版本 影响面
1
运行在以下环境
应用 golang go * Up to
(excluding)
1.15.9
运行在以下环境
应用 golang go * From
(including)
1.16.0
Up to
(excluding)
1.16.1
运行在以下环境
系统 alibaba_cloud_linux_3 golang * Up to
(excluding)
1.15.14-1.1.al8
运行在以下环境
系统 alpine_3.13 go * Up to
(excluding)
1.15.10-r0
运行在以下环境
系统 alpine_3.14 go * Up to
(excluding)
1.16.2-r0
运行在以下环境
系统 alpine_3.15 go * Up to
(excluding)
1.16.2-r0
运行在以下环境
系统 alpine_3.16 go * Up to
(excluding)
1.16.2-r0
运行在以下环境
系统 alpine_3.17 go * Up to
(excluding)
1.16.2-r0
运行在以下环境
系统 alpine_3.18 go * Up to
(excluding)
1.16.2-r0
运行在以下环境
系统 alpine_3.19 go * Up to
(excluding)
1.16.2-r0
运行在以下环境
系统 amazon_2 golang * Up to
(excluding)
1.18.3-1.amzn2
运行在以下环境
系统 amazon_AMI golang * Up to
(excluding)
1.18.6-1.42.amzn1
运行在以下环境
系统 debian_11 golang-1.15 * Up to
(excluding)
1.15.9-1
运行在以下环境
系统 fedora_EPEL_7 golang * Up to
(excluding)
1.15.14-1.el7
运行在以下环境
系统 opensuse_Leap_15.2 go1.15 * Up to
(excluding)
1.15.10-lp152.14.1
运行在以下环境
系统 oracle_7 yq * Up to
(excluding)
0.12.0-2.el7
运行在以下环境
系统 oracle_8 yq * Up to
(excluding)
2.0.20-4.el8
阿里云评分
4.5
  • 攻击路径
    远程
  • 攻击复杂度
    容易
  • 权限要求
    无需权限
  • 影响范围
    有限影响
  • EXP成熟度
    N/A
  • 补丁情况
    官方补丁
  • 数据保密性
    无影响
  • 数据完整性
    无影响
  • 服务器危害
    服务器失陷
  • 全网数量
    N/A
CWE-ID 漏洞类型
CWE-835 不可达退出条件的循环(无限循环)
阿里云安全产品覆盖情况