中危 未加控制的资源消耗(资源穷尽)

CVE编号

CVE-2022-23471

利用情况

暂无

补丁情况

官方补丁

披露时间

2022-12-08
漏洞描述
containerd is an open source container runtime. A bug was found in containerd's CRI implementation where a user can exhaust memory on the host. In the CRI stream server, a goroutine is launched to handle terminal resize events if a TTY is requested. If the user's process fails to launch due to, for example, a faulty command, the goroutine will be stuck waiting to send without a receiver, resulting in a memory leak. Kubernetes and crictl can both be configured to use containerd's CRI implementation and the stream server is used for handling container IO. This bug has been fixed in containerd 1.6.12 and 1.5.16. Users should update to these versions to resolve the issue. Users unable to upgrade should ensure that only trusted images and commands are used and that only trusted users have permissions to execute commands in running containers.
解决建议
建议您更新当前系统或软件至最新版,完成漏洞的修复。
受影响软件情况
# 类型 厂商 产品 版本 影响面
1
运行在以下环境
应用 linuxfoundation containerd * Up to
(excluding)
1.5.16
运行在以下环境
应用 linuxfoundation containerd * From
(including)
1.6.0
Up to
(excluding)
1.6.12
运行在以下环境
系统 alpine_3.17 containerd * Up to
(excluding)
1.6.12-r0
运行在以下环境
系统 alpine_3.18 containerd * Up to
(excluding)
1.6.12-r0
运行在以下环境
系统 alpine_3.19 containerd * Up to
(excluding)
1.6.12-r0
运行在以下环境
系统 amazon_2 containerd * Up to
(excluding)
1.6.19-1.amzn2.0.1
运行在以下环境
系统 amazon_2023 containerd * Up to
(excluding)
1.6.19-1.amzn2023.0.1
运行在以下环境
系统 debian_11 containerd * Up to
(excluding)
1.4.13~ds1-1~deb11u3
运行在以下环境
系统 debian_12 containerd * Up to
(excluding)
1.6.12~ds1-1
运行在以下环境
系统 fedora_37 containerd * Up to
(excluding)
1.6.23-1.fc37
运行在以下环境
系统 fedora_38 containerd * Up to
(excluding)
1.6.23-1.fc38
运行在以下环境
系统 kylinos_aarch64_V10SP1 containerd * Up to
(excluding)
1.2.0-208.ky10
运行在以下环境
系统 kylinos_aarch64_V10SP2 containerd * Up to
(excluding)
1.2.0-208.ky10
运行在以下环境
系统 kylinos_x86_64_V10SP1 containerd * Up to
(excluding)
1.2.0-208.ky10
运行在以下环境
系统 kylinos_x86_64_V10SP2 containerd * Up to
(excluding)
1.2.0-208.ky10
运行在以下环境
系统 opensuse_5.2 containerd * Up to
(excluding)
1.6.12-150000.79.1
运行在以下环境
系统 opensuse_5.3 containerd * Up to
(excluding)
1.6.16-150000.82.2
运行在以下环境
系统 opensuse_Leap_15.3 containerd * Up to
(excluding)
1.6.12-150000.79.1
运行在以下环境
系统 opensuse_Leap_15.4 containerd * Up to
(excluding)
1.6.12-150000.79.1
运行在以下环境
系统 ubuntu_18.04 containerd * Up to
(excluding)
1.5.9-0ubuntu1~18.04.2
运行在以下环境
系统 ubuntu_20.04 containerd * Up to
(excluding)
1.5.9-0ubuntu1~20.04.6
运行在以下环境
系统 ubuntu_22.04 containerd * Up to
(excluding)
1.5.9-0ubuntu3.1
运行在以下环境
系统 ubuntu_22.10 containerd * Up to
(excluding)
1.6.4-0ubuntu1.1
阿里云评分
6.1
  • 攻击路径
    本地
  • 攻击复杂度
    复杂
  • 权限要求
    普通权限
  • 影响范围
    越权影响
  • EXP成熟度
    未验证
  • 补丁情况
    官方补丁
  • 数据保密性
    数据泄露
  • 数据完整性
    无影响
  • 服务器危害
    无影响
  • 全网数量
    N/A
CWE-ID 漏洞类型
CWE-400 未加控制的资源消耗(资源穷尽)
CWE-401 在移除最后引用时对内存的释放不恰当(内存泄露)
阿里云安全产品覆盖情况