Fedora Account System
Red Hat Associate
Red Hat Customer
On checkpoint and restore, crun registers every bind mount of config.json with CRIU as an external mount, using the mount destination resolved inside the container's own rootfs as the lookup key. CRIU encodes each entry as the single string mnt[KEY]:VAL and matches by prefix, so a key containing "]:" terminates early and shifts the key/value boundary. A malicious image can place "]:" in a symlink target in its rootfs and make `crun restore`, running as host root, bind-mount a host path that config.json never named - read-write - into the restored container.