Descrizione
Docker Sandboxes reuses existing state and configuration directories without verifying their ownership. If sbx or sandboxd is run as root with HOME or, on Linux, XDG_STATE_HOME pointing to an attacker-controlled location, a local unprivileged user can substitute control-plane sockets and configuration trusted by the root process, potentially executing commands as root. Exploitation requires a privileged invocation with an attacker-influenced environment. The issue affects Linux and macOS and is fixed in version 0.53.0.
Come correggere
Priorità: Media — correggere nel prossimo ciclo di patch. Motivazione: CVSS 7.3, EPSS 0.1% (percentile 1).
Versioni da aggiornare
- Docker Docker Sandboxes: vulnerabili le versioni dalla
0.7.0precedenti alla0.53.0→ aggiornare alla0.53.0o successiva. - Docker Docker Sandboxes: versione corretta
0.53.0(o successiva).
Indicazioni del vendor
Soluzione (testo originale del vendor):
Upgrade Docker Sandboxes to version 0.53.0 or later.
Workaround (testo originale del vendor):
Avoid running sbx or sandboxd as root. If a privileged invocation is required, use HOME and XDG_STATE_HOME values belonging to the target account and ensure its state and configuration directories are not controlled by another user.
Mitigazioni temporanee
Da applicare solo se non è possibile aggiornare subito:
- Ridurre l'esposizione del componente vulnerabile (segmentazione, accesso solo da reti fidate) finché la patch non è applicata.
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 |
|---|---|---|---|
| Docker | Docker Sandboxes | ≥ 0.7.0 < 0.53.0 | 0.53.0 |
| Docker | Docker Sandboxes | — | 0.53.0 |
Riferimenti
- Riferimentohttps://docs.docker.com/ai/sandboxes/