中危 Google Golang 注入漏洞

CVE编号

CVE-2021-33195

利用情况

暂无

补丁情况

官方补丁

披露时间

2021-08-03
漏洞描述
Google Golang是美国谷歌(Google)公司的一种静态强类型、编译型语言。Go的语法接近C语言,但对于变量的声明有所不同。Go支持垃圾回收功能。Go的并行模型是以东尼·霍尔的通信顺序进程(CSP)为基础,采取类似模型的其他语言包括Occam和Limbo,但它也具有Pi运算的特征,比如通道传输。在1.8版本中开放插件(Plugin)的支持,这意味着现在能从Go中动态加载部分函数。
golang 存在安全漏洞,该漏洞源于部分方法可能会返回不遵循规则的值,如果这些值未经过滤就使用可能允许注入恶意内容。
解决建议
目前厂商已发布升级补丁以修复漏洞,补丁获取链接:
https://github.com/golang/go/commit/df6a737cc899507d3090e995abd1e1ed1a30cee3
受影响软件情况
# 类型 厂商 产品 版本 影响面
1
运行在以下环境
应用 golang go * Up to
(excluding)
1.15.13
运行在以下环境
应用 golang go * From
(including)
1.16.0
Up to
(excluding)
1.16.5
运行在以下环境
系统 alma_linux_8 grafana * Up to
(excluding)
7.5.9-4.el8
运行在以下环境
系统 alma_linux_9 buildah * Up to
(excluding)
1.27.0-2.el9
运行在以下环境
系统 alpine_3.13 go * Up to
(excluding)
1.15.13-r0
运行在以下环境
系统 alpine_3.14 go * Up to
(excluding)
1.16.5-r0
运行在以下环境
系统 alpine_3.15 go * Up to
(excluding)
1.16.5-r0
运行在以下环境
系统 alpine_3.16 go * Up to
(excluding)
1.16.5-r0
运行在以下环境
系统 alpine_3.17 go * Up to
(excluding)
1.16.5-r0
运行在以下环境
系统 alpine_3.18 go * Up to
(excluding)
1.16.5-r0
运行在以下环境
系统 alpine_3.19 go * Up to
(excluding)
1.16.5-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-5
运行在以下环境
系统 fedora_EPEL_7 golang * Up to
(excluding)
1.15.14-1.el7
运行在以下环境
系统 opensuse_Leap_15.2 go1.15 * Up to
(excluding)
1.15.13-lp152.20.1
运行在以下环境
系统 opensuse_Leap_15.3 go1.16 * Up to
(excluding)
1.16.5-1.17.1
运行在以下环境
系统 oracle_8 grafana * Up to
(excluding)
7.5.9-4.el8
运行在以下环境
系统 oracle_9 buildah * Up to
(excluding)
1.27.0-2.0.1.el9
运行在以下环境
系统 redhat_8 grafana * Up to
(excluding)
7.5.9-4.el8
运行在以下环境
系统 redhat_9 buildah * Up to
(excluding)
1.27.0-2.el9
运行在以下环境
系统 rocky_linux_8 grafana * Up to
(excluding)
7.5.9-4.el8
阿里云评分
5.8
  • 攻击路径
    本地
  • 攻击复杂度
    容易
  • 权限要求
    无需权限
  • 影响范围
    有限影响
  • EXP成熟度
    未验证
  • 补丁情况
    官方补丁
  • 数据保密性
    无影响
  • 数据完整性
    无影响
  • 服务器危害
    无影响
  • 全网数量
    N/A
CWE-ID 漏洞类型
CWE-74 输出中的特殊元素转义处理不恰当(注入)
阿里云安全产品覆盖情况