GHSA-P45F-GQQJ-6QQ3
Path traversal through snapshot names in custom volume backups
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:H/A:H
Fuente: GitHub
Ciclo de vida de la vulnerabilidad
| Fecha | Fase | Evento | Detalle |
|---|---|---|---|
| Divulgación | Publicada | GHSA-P45F-GQQJ-6QQ3 divulgada · CVSS 9.6 (GitHub) | |
| Divulgación | Modificada | Última actualización del registro | |
| Monitoreo | Detectada | Ingresó al índice | |
| Monitoreo | Verificada | Última verificación contra las fuentes |
Summary
When importing a custom volume backup, the snapshot names listed at
the top of the index file are validated, but the snapshot database
records are created from the names found in the volume configuration
section of the same file, which were not validated or compared to the
top level list.
Impact
A user allowed to import custom volumes can craft a backup whose
configuration section contains a snapshot name with path traversal.
The import succeeds and the name is stored in the database. Later
operations resolve it into a path outside of the storage pool, so
deleting the volume removes an arbitrary directory on the host as
root, and renaming or mounting it operates on an arbitrary path.
Details
Snapshot names from the configuration section of the index are now
validated the same way as the top level list and must match it.
Workarounds
Only allow trusted users to import custom volumes.
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-p45f-gqqj-6qq3Las referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.
