A flaw was found in CRI-O. An attacker with access to the kubelet or CRI-O socket can exploit a path traversal vulnerability in the checkpoint restore functionality. This allows the attacker to delete arbitrary files and directories on the host filesystem during a checkpoint restore operation. The vulnerability arises because the system processes entries from checkpoint archive metadata without validating that the files are confined to the container's root directory.
To mitigate this issue, ensure that the checkpoint/restore functionality in CRI-O remains disabled. This feature is not enabled by default, and enabling it introduces the potential for exploitation. If checkpoint/restore functionality has been explicitly enabled, consider disabling it if not essential for your environment. Disabling this feature may impact workflows that rely on container checkpointing.