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

目标: 1000 元 · 已筹: 1359 元

100%

CVE-2026-104795— Insights-runtime-extractor 容器逃逸漏洞

一分钟漏洞结论

影响对象
Red Hat Red Hat OpenShift Container Platform 4.19
利用判断
尚无明确在野利用证据,仍需结合暴露面评估
建议动作
优先检查厂商安全公告和参考链接中的修复版本;无法立即升级时,限制受影响服务暴露并加强监测。

以下是对该漏洞描述信息的中文翻译: insights-runtime-extractor 以特权 DaemonSet( )的身份运行,用于通过运行时指纹识别来扫描容器进程。在扫描容器时,协调程序(coordinator)执行以下操作: 1. 创建一个子进程 2. 使用 进入目标容器的 PID 和挂载命名空间 3. 使用 将工作目录切换回一个指向 extractor 自身根文件系统(其中 以 hostPath 方式挂载)的孤立文件描述符 4. 仅调用 —— 仅更改有效用户 ID(Effective UID),但保留真

CVSS 8.8 · High EPSS 0.18% · P5

影响版本矩阵 5

厂商产品 版本范围状态
Red Hat Red Hat OpenShift Container Platform 4.19 1792771524< * unaffected
Red Hat Red Hat OpenShift Container Platform 4.20 1792849665< * unaffected
Red Hat Red Hat OpenShift Container Platform 4.21 1792008935< * unaffected
Red Hat Red Hat OpenShift Container Platform 4.22 1792844435< * unaffected
Red Hat Red Hat OpenShift Container Platform 5 全部 affected
获取后续新漏洞提醒 登录后订阅

一、 漏洞 CVE-2026-104795 基础信息

漏洞信息

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

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

Vulnerability Title
Insights-runtime-extractor: insights-runtime-extractor: container escape via privileged binary execution
来源: CVE Program / CVE List V5
Vulnerability Description
The insights-runtime-extractor runs as a privileged DaemonSet (`hostPID: true`) that scans container processes for runtime fingerprinting. When scanning a container, the coordinator: 1. **fork()s** a child process 2. **setns()** into the target container's PID and mount namespaces 3. **fchdir()** back to an orphaned FD pointing at the extractor's own root filesystem (where `/crio.sock` is hostPath-mounted) 4. Calls **only `seteuid(target_uid)`** — changing the effective UID but leaving the **real UID and saved-set-UID at 0** and **retaining the permitted capability set** 5. The `check_no_privileged_perms()` guard inspects only the Effective capability set (so it passes), and is **skipped entirely when the target runs as uid 0** 6. The `VersionExecutable` fingerprint invokes `fpr_kind_executable` with `process.command_line[0]` — the target's argv[0], read from `/proc/<pid>/cmdline` and **fully controlled by the workload** 7. `fpr_kind_executable` calls `exec.Command(executable, "--version").Output()` — executing the **workload's own binary** inside the workload's mount namespace while **ruid=0 in the host user namespace** The executed process can call `setuid(0)` to restore full root with `CAP_SYS_ADMIN`, and inherits the orphaned cwd which resolves into the extractor container's filesystem containing the host CRI-O socket. ## Affected Code ### 1. Insufficient privilege drop (Rust — extractor coordinator) **File:** `extractor/src/insights_runtime_extractor.rs` ```rust // Lines 139-146 — seteuid-only drop, guard skipped for root containers join_process_namespaces(process.pid)?; change_dir(current_dir); switch_user(*process.uid)?; if *process.uid != 0 { perms::check_no_privileged_perms() .expect("Must not have privileged permissions to run fingerprints"); } fingerprint::run_fingerprints(&config, out_dir, &process); ``` ```rust // Lines 182-185 — only effective UID changed; ruid/suid stay 0 fn switch_user(uid: u32) -> Result<(), ScannerError> { debug!("... Becoming user: {uid}"); seteuid(uid.into()).map_err(|e| ScannerError::Errno(e)) } ``` ### 2. Execution of untrusted binary (Go — fingerprint) **File:** `fingerprints/pkg/utils/file.go` ```go // Lines 75-80 — executes a path taken verbatim from workload's argv[0] func GetExecutableVersionOutput(executable string) (string, error) { out, err := exec.Command(executable, "--version").Output() if err != nil { return "", err } return string(out), nil } ``` ### 3. Workload-controlled path forwarded (Rust — version_executable) **File:** `version_executable.rs` ```rust // Lines 29-34 — workload-controlled command_line[0] forwarded to fingerprint return Some(vec![ fpr_kind_executable, out_dir.to_string(), String::from(&process.command_line[0]), String::from(&version_executable.runtime_kind_name), ]); ``` ## Attack Pattern **Attacker:** Any tenant able to schedule a pod (unprivileged, any namespace) **Victim:** The node running the insights-runtime-extractor DaemonSet **Trigger:** Automatic — the DaemonSet scans all container processes on the node **Attack sequence:** 1. Attacker creates a pod whose process name matches a configured versioned-executable pattern (`node`, `python`, `python3`, `MainThread`, or contains `java`) 2. The pod's main binary (at the path matching argv[0]) is a malicious executable that calls `setuid(0)` to restore root 3. When the insights operator triggers a scan, the DaemonSet forks, enters the attacker's mount namespace, and executes the attacker's binary with ruid=0 4. The attacker's code regains full root with `CAP_SYS_ADMIN` in the host user namespace 5. The inherited cwd contains the host CRI-O socket → full node compromise
来源: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
来源: CVE Program / CVE List V5
Vulnerability Type
带着不必要的权限执行
来源: CVE Program / CVE List V5

受影响产品

厂商 产品 影响版本 CPE 订阅
Red Hat Red Hat OpenShift Container Platform 4.19 1792771524 ~ * cpe:/a:redhat:openshift:4.19::el9
Red Hat Red Hat OpenShift Container Platform 4.20 1792849665 ~ * cpe:/a:redhat:openshift:4.20::el9
Red Hat Red Hat OpenShift Container Platform 4.21 1792008935 ~ * cpe:/a:redhat:openshift:4.21::el9
Red Hat Red Hat OpenShift Container Platform 4.22 1792844435 ~ * cpe:/a:redhat:openshift:4.22::el9
Red Hat Red Hat OpenShift Container Platform 5 - cpe:/a:redhat:openshift:5

二、漏洞 CVE-2026-104795 的公开POC

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

未找到公开 POC。

登录以生成 AI POC

三、漏洞 CVE-2026-104795 的情报信息

请登录查看更多情报信息。

CVE-2026-104795 厂商安全公告 (5)

同批安全公告 · Red Hat · 2026-10-14 · 共 24 条

CVE-2026-86848 8.8 HIGH DPDK vhost-crypto TOCTOU漏洞允许guest触发越界写入
CVE-2026-86567 8.8 HIGH DPDK VDUSE处理器在IO TLB失效时未清理vring指针,导致使用后解除映射漏洞
CVE-2026-100236 8.6 HIGH DPDK GSO头部复制越界读写漏洞
CVE-2026-86476 8.4 HIGH GStreamer1-plugins-base 堆缓冲区溢出漏洞
CVE-2026-86565 8.2 HIGH DPDK 虚拟机队列溢出致越界写漏洞
CVE-2026-90954 7.8 HIGH BusyBox dpkg-deb 通过延迟符号链接刷新实现提取根逃逸
CVE-2026-86563 7.8 HIGH DPDK vhost 日志映射计算双重偏移量漏洞
CVE-2026-86562 7.8 HIGH DPDK vhost (vduse) 控制队列描述符双重获取溢出堆漏洞
CVE-2026-88829 7.2 HIGH Busybox httpd反向代理中HTTP请求走私漏洞
CVE-2026-86561 6.5 MEDIUM DPDK vhost内存区域设置中缺省内存大小验证漏洞
CVE-2026-86566 6.5 MEDIUM DPDK vhost 数据包复制长度下溢漏洞
CVE-2026-86845 6.5 MEDIUM DPDK vhost-crypto guest触发的Use-After-Free与类型混淆漏洞
CVE-2026-86846 6.5 MEDIUM DPDK vhost-crypto 漏洞:Guest 可通过控制 avail ring 索引触发越界写
CVE-2026-86847 6.5 MEDIUM DPDK vhost-crypto 回写链清理无限循环漏洞
CVE-2026-86856 6.5 MEDIUM DPDK NFP VDPA 驱动堆栈和堆缓冲区溢出漏洞
CVE-2026-86849 6.5 MEDIUM DPDK vhost-crypto整数溢出导致主机缓冲区溢出漏洞
CVE-2026-93683 6.4 MEDIUM DPDK vhost 间接描述符长度 TOCTOU 导致越界访问漏洞
CVE-2026-100231 6.1 MEDIUM GStreamer asfmux堆溢出漏洞
CVE-2026-109968 5.5 MEDIUM Clevis LUKS密码明文记录漏洞
CVE-2026-109971 4.7 MEDIUM Clevis PKCS#11令牌PIN通过命令行泄露

显示前 20 条,共 24 条。 查看全部 &rarr; →

IV. Related Vulnerabilities