CubeSandboxでホストの任意パスを共有される脆弱性、修正版あり
Summary
CubeSandboxの0.5.1より前では、sandboxを作れる利用者がホストの任意のディレクトリを読み書きでき、自社でCubeSandboxを運用する組織が対象です。0.5.1へ更新し、更新前の期間に不審なマウントがないかも確認してください。
AI summary
Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.
CubeSandboxの0.5.1より前では、sandboxを作れる利用者がホストの任意のディレクトリを読み書きでき、自社でCubeSandboxを運用する組織が対象です。0.5.1へ更新し、更新前の期間に不審なマウントがないかも確認してください。
Original description The description as published by the source.
CubeSandbox is an instant, concurrent, secure, and lightweight sandbox for AI agents. Prior to 0.5.1, any authenticated tenant permitted to call POST /sandboxes can supply metadata["host-mount"] with an arbitrary existing host path because the control plane performs no authorization check or allowed-prefix validation for the path. injectHostDirMounts forwards the path to prepareHostDirVolume, where Cubelet uses mount --rbind through the function to perform a recursive bind mount as root and exposes the host subtree to the tenant's MicroVM through virtio-fs, read-write by default. This allows host-root file access and modification, host code execution, access to the container runtime, and compromise of co-resident tenants without a kernel or virtual-machine-monitor flaw. This issue is fixed in version 0.5.1.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory github.com
- advisory github.com
- advisory nvd.nist.gov
- patch github.com
- patch github.com
- web github.com