Vulnerability · Published Nov 26, 2024 · Assigned by redhat
CVE-2024-8676Cri-o: checkpoint restore can be triggered from different namespaces
High 7.4
In plain English
A high-severity security flaw in cri-o. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.8% (higher than 55% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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 packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Go | github.com/cri-o/cri-o | 1.29.11 | GHSA-7p9f-6x8j-gxxp |
| Go | github.com/cri-o/cri-o | 1.30.8 | GHSA-7p9f-6x8j-gxxp |
| Go | github.com/cri-o/cri-o | 1.31.3 | GHSA-7p9f-6x8j-gxxp |
| Go | github.com/cri-o/cri-o | 1.29.11, 1.30.8, 1.31.3 | GO-2024-3292 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| cri-o | 0 – before 1.29.111.30.0 – before 1.30.81.31.0 – before 1.31.3 | |
| Red Hat | Red Hat OpenShift Container Platform 4.15 | see references |
| Red Hat | Red Hat OpenShift Container Platform 4.16 | see references |
| Red Hat | Red Hat OpenShift Container Platform 4.16 | see references |
| Red Hat | Red Hat OpenShift Container Platform 4.17 | see references |
| Red Hat | Red Hat OpenShift Container Platform 4.18 | see references |
| Red Hat | Red Hat OpenShift Container Platform 4.18 | see references |
| Red Hat | Red Hat Enterprise Linux 8 | see references |
| Red Hat | Red Hat Enterprise Linux 8 | see references |
| Red Hat | Red Hat Enterprise Linux 9 | see references |
| Red Hat | Red Hat OpenShift Container Platform 3.11 | see references |
| Red Hat | Red Hat OpenShift Container Platform 4 | see references |
Weakness: CWE-285 · Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
References
- RHBA-2024:10826 vendor-advisory, x_refsource_REDHAT
- RHSA-2025:0648 vendor-advisory, x_refsource_REDHAT
- RHSA-2025:1908 vendor-advisory, x_refsource_REDHAT
- RHSA-2025:3297 vendor-advisory, x_refsource_REDHAT
- RHSA-2025:4211 vendor-advisory, x_refsource_REDHAT
- RHSA-2025:9765 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/security/cve/CVE-2024-8676 vdb-entry, x_refsource_REDHAT
- RHBZ#2313842 issue-tracking, x_refsource_REDHAT