漏洞信息
尽管我们使用了先进的大模型技术,但其输出仍可能包含不准确或过时的信息。神龙努力确保数据的准确性,但请您根据实际情况进行核实和判断。
Vulnerability Title
crun follows rootfs /dev symlink while creating default devices
Vulnerability Description
crun is an open source OCI Container Runtime fully written in C. Prior to version 1.28, crun's default device setup opens the container rootfs `/dev` directory without `O_NOFOLLOW`. If an OCI bundle contains `rootfs/dev` as a symlink and the bundle configuration does not mount `/dev`, crun follows that symlink and creates the default device nodes and stdio symlinks at the symlink target outside the container rootfs. In a local rootful crun replay, this created fixed device nodes and symlinks outside the rootfs before crun returned failure. A pre-existing file named `ptmx` in the target directory was also replaced by crun's forced `ptmx -> pts/ptmx` symlink. Version 1.28 fixes the issue.
CVSS Information
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N
Vulnerability Type
CWE-61
Vulnerability Title
Containers crun 后置链接漏洞
Vulnerability Description
Containers crun是Containers组织开源的一款使用C语言编写的OCI(开放容器倡议)容器运行时库。 Containers crun 1.28之前版本存在后置链接漏洞,该漏洞源于默认设备设置打开容器rootfs /dev目录时未使用O_NOFOLLOW,若OCI bundle包含rootfs/dev符号链接且未挂载/dev,crun会跟随符号链接在容器rootfs外部创建默认设备节点和stdio符号链接,并可能替换目标目录中的ptmx文件,导致攻击者可在容器外部创建或修改文件。
CVSS Information
N/A
Vulnerability Type
N/A