What’s Vulnerable › Vulnerabilities
CVE-2024-5154: Cri-o: malicious container can create symlink on host
- Severity: high (CVSS 8.1 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 1.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2024-06-12 · updated 2026-10-31
- Weakness: CWE-22
Description
A flaw was found in cri-o. A malicious container can create a symbolic link to arbitrary files on the host via directory traversal (“../“). This flaw allows the container to read and write to arbitrary files on the host system.
Affected products
- cri-o: 1.28.6, 1.29.4, 1.30.0 (and their updates)
- Red Hat OpenShift Container Platform 4.18: 3.11, 4.0, 4.12, 4.13, 4.14, 4.15 (and their updates)
- cri-o: from 1.30.0 before 1.30.1; from 1.29.4 before 1.29.5; from 1.28.6 before 1.28.7 — fixed in 1.30.1, 1.29.5, 1.28.7
- Red Hat OpenShift Container Platform 4.12: all versions — fixed in 0:1.25.5-21.2.rhaos4.12.gita3eb75f.el8
- Red Hat OpenShift Container Platform 4.13: all versions — fixed in 0:1.26.5-18.2.rhaos4.13.git2e90133.el8
- Red Hat OpenShift Container Platform 4.14: all versions — fixed in 0:1.27.7-3.rhaos4.14.git674563e.el8
- Red Hat OpenShift Container Platform 4.15: all versions — fixed in 0:1.28.7-2.rhaos4.15.git111aec5.el8
- Red Hat OpenShift Container Platform 4.16: all versions — fixed in 0:1.29.5-7.rhaos4.16.git7db4ada.el8
- Red Hat OpenShift Container Platform 4.17: all versions — fixed in 417.94.202412040832-0
How to fix
Upgrade to a fixed version: cri-o 1.30.1, 1.29.5, 1.28.7; Red Hat OpenShift Container Platform 4.12 0:1.25.5-21.2.rhaos4.12.gita3eb75f.el8; Red Hat OpenShift Container Platform 4.13 0:1.26.5-18.2.rhaos4.13.git2e90133.el8; Red Hat OpenShift Container Platform 4.14 0:1.27.7-3.rhaos4.14.git674563e.el8; Red Hat OpenShift Container Platform 4.15 0:1.28.7-2.rhaos4.15.git111aec5.el8; Red Hat OpenShift Container Platform 4.16 0:1.29.5-7.rhaos4.16.git7db4ada.el8; Red Hat OpenShift Container Platform 4.17 417.94.202412040832-0. Check the vendor advisory for mitigations.
References
- https://access.redhat.com/errata/RHSA-2024:10818
- https://access.redhat.com/errata/RHSA-2024:3676
- https://access.redhat.com/errata/RHSA-2024:3700
- https://access.redhat.com/errata/RHSA-2024:4008
- https://access.redhat.com/errata/RHSA-2024:4159
- https://access.redhat.com/errata/RHSA-2024:4486
- https://access.redhat.com/security/cve/CVE-2024-5154
- https://bugzilla.redhat.com/show_bug.cgi?id=2280190
- https://github.com/cri-o/cri-o/security/advisories/GHSA-j9hf-98c3-wrm8
- https://access.redhat.com/errata/RHSA-2024:3676
- https://access.redhat.com/errata/RHSA-2024:3700
- https://access.redhat.com/errata/RHSA-2024:4008
Get alerted when CVE-2024-5154 or the next vulnerability affects your stack