中危 cncf container_network_interface 输入验证不恰当

CVE编号

CVE-2021-20206

利用情况

EXP 已公开

补丁情况

官方补丁

披露时间

2021-03-27
该漏洞EXP已公开传播,漏洞利用成本极低,建议您立即关注并修复。
漏洞描述
An improper limitation of path name flaw was found in containernetworking/cni in versions before 0.8.1. When specifying the plugin to load in the 'type' field in the network configuration, it is possible to use special elements such as "../" separators to reference binaries elsewhere on the system. This flaw allows an attacker to execute other existing binaries other than the cni plugins/types, such as 'reboot'. The highest threat from this vulnerability is to confidentiality, integrity, as well as system availability.
解决建议
建议您更新当前系统或软件至最新版,完成漏洞的修复。
受影响软件情况
# 类型 厂商 产品 版本 影响面
1
运行在以下环境
应用 cncf container_network_interface * Up to
(excluding)
0.8.1
运行在以下环境
系统 alpine_3.14 buildah * Up to
(excluding)
1.19.4-r0
运行在以下环境
系统 alpine_3.15 buildah * Up to
(excluding)
1.19.4-r0
运行在以下环境
系统 alpine_3.16 buildah * Up to
(excluding)
1.19.4-r0
运行在以下环境
系统 alpine_3.17 buildah * Up to
(excluding)
1.19.4-r0
运行在以下环境
系统 alpine_3.18 buildah * Up to
(excluding)
1.19.4-r0
运行在以下环境
系统 alpine_3.19 buildah * Up to
(excluding)
1.19.4-r0
运行在以下环境
系统 debian_11 golang-github-appc-cni * Up to
(excluding)
0.8.1-1
运行在以下环境
系统 debian_12 golang-github-appc-cni * Up to
(excluding)
0.8.1-1
运行在以下环境
系统 fedora_32 buildah * Up to
(excluding)
1.19.4-1.fc32
运行在以下环境
系统 fedora_33 buildah * Up to
(excluding)
1.19.4-1.fc33
运行在以下环境
系统 opensuse_5.2 cni * Up to
(excluding)
0.7.1-150100.3.8.1
运行在以下环境
系统 opensuse_5.3 cni * Up to
(excluding)
0.7.1-150100.3.8.1
运行在以下环境
系统 opensuse_Leap_15.3 cni * Up to
(excluding)
0.7.1-150100.3.8.1
运行在以下环境
系统 opensuse_Leap_15.4 cni * Up to
(excluding)
0.7.1-150100.3.8.1
阿里云评分
4.1
  • 攻击路径
    远程
  • 攻击复杂度
    容易
  • 权限要求
    普通权限
  • 影响范围
    有限影响
  • EXP成熟度
    EXP 已公开
  • 补丁情况
    官方补丁
  • 数据保密性
    数据泄露
  • 数据完整性
    无影响
  • 服务器危害
    无影响
  • 全网数量
    N/A
CWE-ID 漏洞类型
CWE-20 输入验证不恰当
CWE-22 对路径名的限制不恰当(路径遍历)
阿里云安全产品覆盖情况