Fedora Account System
Red Hat Associate
Red Hat Customer
A flaw was found in bootc. On a sealed composefs boot, the initramfs in bootc 1.16.0 through 1.17.4 opens the repository with open_upgrade and mounts the image named by the strict composefs= kernel argument with Repository::mount. The repository mode is taken from unsigned meta.json, and open_image returns an image at images/refs/<digest> without comparing its fs-verity digest to that name. An attacker who can write the root filesystem while the system is off, and who cannot write the EFI system partition or the signing keys, can boot a different root under the original signed UKI. The fix is bootc 1.17.5, which sets an explicit integrity policy from the kernel command line and mounts with mount_digest. This is GHSA-g77m-w5pv-gphg.