10.0Crítica

CVE-2026-33945Abitrary file write through systemd-creds option

lxc incus Publicada: (hace 7 meses)

Descripción

Incus is a system container and virtual machine manager. Incus instances have an option to provide credentials to systemd in the guest. For containers, this is handled through a shared directory. Prior to version 6.23.0, an attacker can set a configuration key named something like `systemd.credential.../../../../../../root/.bashrc` to cause Incus to write outside of the `credentials` directory associated with the container. This makes use of the fact that the Incus syntax for such credentials is `systemd.credential.XYZ` where `XYZ` can itself contain more periods. While it's not possible to read any data this way, it's possible to write to arbitrary files as root, enabling both privilege escalation and denial of service attacks. Version 6.23.0 fixes the issue.

Debilidad (CWE): CWE-22

Datos: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Se publican tal como los indican las fuentes, en inglés.

Productos y versiones afectados

FabricanteProductoVersiones
linuxcontainers incus < 6.23.0
lxc incus < 6.23.0

Referencias y parches

Coincidencias CPE (NVD) (1)

  • cpe:2.3:a:linuxcontainers:incus:*:*:*:*:*:*:*:* < 6.23.0