incus-mirror/internal
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
..
eagain internal/eagain: Use errors.Is instead of direct error comparison 2025-08-10 00:19:11 -04:00
filter incus/util: #2636 fix linter complaints in internal/filter 2026-03-11 23:38:22 -04:00
i18n shared/i18n: Move to internal 2023-09-07 15:27:44 -04:00
incusos internal/incusos: Introduce IncusOS API client 2026-03-11 21:29:49 -04:00
instance internal/instance: Add volatile.hotplug.memory 2026-03-12 00:11:20 -04:00
instancewriter incusd/instancewriter: Make signature more generic 2026-03-11 23:52:27 -04:00
io incus/io: #2636 fix linter complaints in internal/io 2026-03-11 23:38:03 -04:00
iprange internal/iprange: add tests for the iprange.Range struct 2025-08-10 00:26:06 -04:00
jmap internal/jmap: Refactor Map methods and add comprehensive tests 2026-03-11 23:38:12 -04:00
linux internal/linux: Add IoctlBlkZname 2026-03-11 23:14:18 -04:00
migration internal/migration: Don't needlessly use format string functions 2025-08-11 01:13:04 -04:00
netutils internal/netutils: Don't needlessly use format string functions 2025-08-11 01:13:03 -04:00
ports incusd/ports: Cleanup consts 2025-03-15 01:38:53 -04:00
recover global: Update Go package to v6 2024-05-27 17:33:29 -04:00
rsync incus/io: #2636 fix linter complaints in internal/io 2026-03-11 23:38:03 -04:00
server incusd/instance/lxc: Confine credentials write to credentials directory 2026-03-27 14:11:02 -04:00
sql internal: Fix spelling errors found by codespell 2025-03-28 17:02:38 -04:00
util incusd/instance: Use restricted pongo2 parser 2026-03-27 14:07:29 -04:00
version Release Incus 6.0.6 2026-03-13 19:10:40 -04:00