Descrizione
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.
Come correggere
Priorità: Alta — pianificare la correzione entro pochi giorni. Motivazione: CVSS 9.4, EPSS 0.4% (percentile 38).
Versioni da aggiornare
- TencentCloud CubeSandbox: vulnerabile la versione
< 0.5.1→ installare l'ultima release supportata dal vendor.
Mitigazioni temporanee
Da applicare solo se non è possibile aggiornare subito:
- Filtrare le sequenze di path traversal sul reverse proxy/WAF ed eseguire il servizio con permessi minimi sul filesystem.
- Restringere l'accesso al componente, applicare il principio del minimo privilegio e controllare i log per operazioni non autorizzate.
Verifica
- Individuare tutti gli asset con il prodotto interessato (inventario, scanner di vulnerabilità, CMDB).
- Confrontare la versione installata con quelle indicate sopra.
- Applicare l'aggiornamento in un ambiente di test, poi in produzione; riavviare i servizi se richiesto.
- Ripetere la scansione per confermare la correzione.
Configurazioni interessate
| Vendor | Prodotto | Versioni vulnerabili | Corretta in |
|---|---|---|---|
| TencentCloud | CubeSandbox | < 0.5.1 | — |
Riferimenti
- Riferimentohttps://github.com/TencentCloud/CubeSandbox/commit/5c7025f3a393c30e723dd7f071ef1c28d7a2e52e
- Riferimentohttps://github.com/TencentCloud/CubeSandbox/pull/756
- Riferimentohttps://github.com/TencentCloud/CubeSandbox/releases/tag/v0.5.1
- Riferimentohttps://github.com/TencentCloud/CubeSandbox/security/advisories/GHSA-8frp-jfpv-5vhv