mirror of
https://github.com/lxc/incus.git
synced 2026-10-12 02:18:30 +00:00
The migration source controls the rsync and btrfs streams and can plant a symlink, such as rootfs pointing at /, then write through it while the transfer is still running, before the post-transfer symlink check. Bind-mount the receive path with nosymfollow for the duration of the receive and refuse a block volume file that was replaced by a symlink. This addresses GHSA-579w-c4rw-c8q3 (CVE pending) Signed-off-by: Stéphane Graber <[email protected]>