Red Hat VEX
RHVEX-CVE-2024-8676
cri-o: Checkpoint restore can be triggered from different namespaces
Details
A vulnerability was found in CRI-O, where it can be requested to take a checkpoint archive of a container and later be asked to restore it. When it does that restoration, it attempts to restore the mounts from the restore archive instead of the pod request. As a result, the validations run on the pod spec, verifying that the pod has access to the mounts it specifies are not applicable to a restored container. This flaw allows a malicious user to trick CRI-O into restoring a pod that doesn't have access to host mounts. The user needs access to the kubelet or cri-o socket to call the restore endpoint and trigger the restore.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Red Hat:enterprise_linux:8 | podman | All versions, will not be fixed |
| Red Hat:enterprise_linux:8 | podman-catatonit | All versions, will not be fixed |
| Red Hat:enterprise_linux:8 | podman-docker | All versions, will not be fixed |
| Red Hat:enterprise_linux:8 | podman-gvproxy | All versions, will not be fixed |
| Red Hat:enterprise_linux:8 | podman-manpages | All versions, will not be fixed |
| Red Hat:enterprise_linux:8 | podman-plugins | All versions, will not be fixed |
| Red Hat:enterprise_linux:8 | podman-remote | All versions, will not be fixed |
| Red Hat:enterprise_linux:8 | podman-tests | All versions, will not be fixed |
| Red Hat:enterprise_linux:9 | conmon | All versions, no fix yet |