REDHAT-BUG-2584333: Medium severity Red Hat bootc vulnerability
A flaw was found in bootc. On a sealed composefs boot, bootc 1.7.0 through 1.17.4 installs bootc-root-setup.service into initrd-root-fs.target.wants. After that service fails and its start rate limit is reached, the initramfs can still switch root into /sysroot, which is the unverified physical root. bootc 1.17.5 installs the service into initrd-root-fs.target.requires. This is GHSA-9889-q45r-84v7. The fs-verity enforcement fix does not fail closed without this change.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
bootcto a version that resolves this vulnerability.Fixed in 1.17.5
Event History
Frequently Asked Questions
Which deployments are affected?
Affected deployments are sealed composefs boots using bootc versions 1.7.0 through 1.17.4. The issue concerns the initramfs handling of bootc-root-setup.service during boot.
What condition allows the unverified root to be used?
The condition occurs when bootc-root-setup.service fails and reaches its start rate limit. Because it is installed as a wants dependency in affected versions, the initramfs can still switch root to the unverified physical root at /sysroot.
What version changes this boot behavior?
bootc 1.17.5 installs bootc-root-setup.service as a required dependency of initrd-root-fs.target. This change is needed for the fs-verity enforcement fix to fail closed.