GHSA-X6PW-MH5W-PQ73
Denial of service via a null snapshot entry in an instance backup
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Fuente: GitHub
Ciclo de vida de la vulnerabilidad
| Fecha | Fase | Evento | Detalle |
|---|---|---|---|
| Divulgación | Publicada | GHSA-X6PW-MH5W-PQ73 divulgada · CVSS 6.5 (GitHub) | |
| Monitoreo | Detectada | Ingresó al índice | |
| Monitoreo | Verificada | Última verificación contra las fuentes |
Summary
Importing an instance backup reads the list of snapshots from the
backup's `index.yaml`, but does not verify that each entry is present.
A backup whose snapshot list contains an explicit `null` entry is
accepted, and that null entry is later dereferenced while the imported
instance's configuration is rewritten.
Impact
Any client allowed to create instances in a project can submit a crafted
instance backup that crashes the Incus daemon through a nil pointer
dereference. The crash occurs in an operation goroutine with no recovery,
so the entire daemon terminates, taking down every container and virtual
machine on the node until it is restarted. The request is cheap and
deterministic and can be repeated to keep the daemon in a crash loop.
There is no confidentiality or integrity impact.
Details
A backup configuration stores its snapshots as a list of pointers. A YAML
`null` sequence element deserializes to a nil pointer, and the import path
that rewrites the stored configuration iterates this list and reads fields
of each entry without a nil check. The top-level instance and volume
objects are validated, but the individual snapshot entries are not, so an
attacker-supplied null element reaches the dereference directly.
Workarounds
Only allow trusted clients to create and import instances.
Desglose de métricas
Rangos afectados
Estado del parche por paquete
| Paquete / producto | Estado | Corregida en | Desde divulgación | Última versión |
|---|---|---|---|---|
Gogithub.com/lxc/incus/v7/cmd/incusd |
Corregida | v7.6.0 | — | — |
v7.6.0Arsenal público
Sin exploits, módulos ni PoC públicos conocidos a la fecha de verificación.
https://github.com/lxc/incus/security/advisories/GHSA-x6pw-mh5w-pq73Las referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.
