Skip to content
CVE PROGRAM SOURCE RECORD7.4 High

CVE-2024-8676

Cri-o: checkpoint restore can be triggered from different namespaces

Description

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 products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

cri-o

Default version status: unaffected

  • 0 to < 1.29.11affected
  • 1.30.0 to < 1.30.8affected
  • 1.31.0 to < 1.31.3affected

Red Hat Red Hat OpenShift Container Platform 4.15

Default version status: affected

  • 0:1.28.11-7.rhaos4.15.gitc4c0556.el8 to < *unaffected

Red Hat Red Hat OpenShift Container Platform 4.16

Default version status: affected

  • 0:1.29.11-3.rhaos4.16.git16d9bd6.el8 to < *unaffected

Red Hat Red Hat OpenShift Container Platform 4.16

Default version status: affected

  • 416.94.202506251808-0 to < *unaffected

Red Hat Red Hat OpenShift Container Platform 4.17

Default version status: affected

  • 417.94.202503241418-0 to < *unaffected

Red Hat Red Hat OpenShift Container Platform 4.18

Default version status: affected

  • 0:1.31.5-5.rhaos4.18.git6dfa0a6.el8 to < *unaffected

Red Hat Red Hat OpenShift Container Platform 4.18

Default version status: affected

  • 418.94.202504231329-0 to < *unaffected

Red Hat Red Hat Enterprise Linux 8

Default version status: unaffected

Red Hat Red Hat Enterprise Linux 8

Default version status: affected

Red Hat Red Hat Enterprise Linux 9

Default version status: affected

Red Hat Red Hat OpenShift Container Platform 3.11

Default version status: unknown

Red Hat Red Hat OpenShift Container Platform 4

Default version status: unaffected

References