目标达成 感谢每一位支持者 — 我们达成了 100% 目标!

目标: 1000 元 · 已筹: 1325

100%

CVE-2024-45310— runc 安全漏洞

CVSS 3.6 · Low EPSS 0.32% · P23
获取后续新漏洞提醒登录后订阅

一、 漏洞 CVE-2024-45310 基础信息

漏洞信息

对漏洞内容有疑问?看看神龙的深度分析是否有帮助!
查看神龙十问 ↗

尽管我们使用了先进的大模型技术,但其输出仍可能包含不准确或过时的信息。神龙努力确保数据的准确性,但请您根据实际情况进行核实和判断。

Vulnerability Title
runc can be confused to create empty files/directories on the host
来源: 美国国家漏洞数据库 NVD
Vulnerability Description
runc is a CLI tool for spawning and running containers according to the OCI specification. runc 1.1.13 and earlier, as well as 1.2.0-rc2 and earlier, can be tricked into creating empty files or directories in arbitrary locations in the host filesystem by sharing a volume between two containers and exploiting a race with `os.MkdirAll`. While this could be used to create empty files, existing files would not be truncated. An attacker must have the ability to start containers using some kind of custom volume configuration. Containers using user namespaces are still affected, but the scope of places an attacker can create inodes can be significantly reduced. Sufficiently strict LSM policies (SELinux/Apparmor) can also in principle block this attack -- we suspect the industry standard SELinux policy may restrict this attack's scope but the exact scope of protection hasn't been analysed. This is exploitable using runc directly as well as through Docker and Kubernetes. The issue is fixed in runc v1.1.14 and v1.2.0-rc3. Some workarounds are available. Using user namespaces restricts this attack fairly significantly such that the attacker can only create inodes in directories that the remapped root user/group has write access to. Unless the root user is remapped to an actual user on the host (such as with rootless containers that don't use `/etc/sub[ug]id`), this in practice means that an attacker would only be able to create inodes in world-writable directories. A strict enough SELinux or AppArmor policy could in principle also restrict the scope if a specific label is applied to the runc runtime, though neither the extent to which the standard existing policies block this attack nor what exact policies are needed to sufficiently restrict this attack have been thoroughly tested.
来源: 美国国家漏洞数据库 NVD
CVSS Information
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:N/I:L/A:N
来源: 美国国家漏洞数据库 NVD
Vulnerability Type
允许符号链接跟随的竞争条件
来源: 美国国家漏洞数据库 NVD
Vulnerability Title
runc 安全漏洞
来源: 中国国家信息安全漏洞库 CNNVD
Vulnerability Description
runc是Open Container Initiative开源的一款用于根据OCI规范生成和运行容器的CLI(命令行界面)工具。 runc 1.1.13版本及之前版本和1.2.0-rc2版本及之前版本存在安全漏洞,该漏洞源于在使用特定的卷配置共享体积的两个容器之间,利用os.MkdirAll的竞争条件,可能会被诱骗在主机文件系统的任意位置创建空文件或目录。
来源: 中国国家信息安全漏洞库 CNNVD
CVSS Information
N/A
来源: 中国国家信息安全漏洞库 CNNVD
Vulnerability Type
N/A
来源: 中国国家信息安全漏洞库 CNNVD

受影响产品

厂商产品影响版本CPE订阅
opencontainersrunc < 1.1.14 -

二、漏洞 CVE-2024-45310 的公开POC

#POC 描述源链接神龙链接
AI 生成 POC高级

未找到公开 POC。

登录以生成 AI POC

三、漏洞 CVE-2024-45310 的情报信息

登录查看更多情报信息。

CVE-2024-45310 补丁与修复 (3)

CVE-2024-45310 厂商安全公告 (1)

IV. Related Vulnerabilities

V. Comments for CVE-2024-45310

暂无评论


发表评论