incus-mirror/internal/server/instance
Stéphane Graber d0f2c86fcb
incusd/instance/lxc: Confine credentials write to credentials directory
systemd credentials name could be abused to escape the credentials
folder and allow for arbitrary writes to the host filesystem allowing
for privilege escalation and denial of service attacks.

We now use Go's OpenRoot (openat2) to restrict all file interactions to
the "credentials" directory, avoiding such attacks.

This addresses CVE-2026-33945

Reported-by: https://7asecurity.com
Signed-off-by: Stéphane Graber <stgraber@stgraber.org>
2026-03-27 14:11:02 -04:00
..
drivers incusd/instance/lxc: Confine credentials write to credentials directory 2026-03-27 14:11:02 -04:00
instancetype incusd: Don't needlessly use format string functions 2025-08-11 01:13:09 -04:00
operationlock incusd: Don't needlessly use format string functions 2025-08-11 01:13:09 -04:00
filter.go global: Update Go package to v6 2024-05-27 17:33:29 -04:00
instance_errors.go incusd: Don't needlessly use format string functions 2025-08-11 01:13:09 -04:00
instance_exec_cmd.go internal/server: Move all packages from incusd 2023-09-29 23:44:30 -04:00
instance_interface.go incusd/instance: Allow custom volume snapshot create/delete when attached to running instance 2026-03-12 00:13:42 -04:00
instance_utils.go incusd/instance: Allow customizing MAC address patterns 2026-03-11 23:05:50 -04:00