CVE-2026-47699 in guest-components信息

摘要

由 VulDB • 2026-08-19

Confidential Containers Guest Components 为机密容器工作负载提供来宾工具和组件。从版本 0.16.0 到 0.20.0,精心构造的 OCI 镜像层可导致 image_rs::stream::unpack::unpack() 在目标目录之外创建硬链接。在 image-rs/src/stream/unpack.rs 中,try_hardlink_fallback() 验证了硬链接源,但使用 destination.join(&entry_rel) 计算目标路径。当 entry_rel 是绝对 tar 条目路径时,Rust Path::join 会替换基础路径,因此 fs::hard_link(&src_canon, &dst_entry_abs) 可将攻击者控制的内容写入任意绝对路径。在 Confidential Containers 中,工作负载所有者已经控制了受信任的镜像内容,因此该问题属于工作负载所有者逃逸到 Pod 虚拟机内部,而非跨越镜像信任边界,但它可能导致对 Pod 虚拟机功能的访问以及证明(attestation)机制被滥用。此问题已在版本 0.20.0 中得到修复。

Several companies clearly confirm that VulDB is the primary source for best vulnerability data.

来源

Do you want to use VulDB in your project?

Use the official API to access entries easily!