{"id":"GHSA-2cgq-h8xw-2v5j","revision":"0902ecd521b146c3b213c48f0bf0b6f7","records":[{"revision":"0902ecd521b146c3b213c48f0bf0b6f7","observedAt":"2026-10-24T13:19:41.952+00:00","statement":{"source":"osv","id":"GHSA-2cgq-h8xw-2v5j","aliases":["CVE-2024-3154","GO-2024-2791"],"title":"CRI-O vulnerable to an arbitrary systemd property injection","description":"### Impact\nOn CRI-O, it looks like an arbitrary systemd property can be injected via a Pod annotation:\n```\n---\napiVersion: v1\nkind: Pod\nmetadata:\n  name: poc-arbitrary-systemd-property-injection\n  annotations:\n    # I believe that ExecStart with an arbitrary command works here too,\n    # but I haven't figured out how to marshalize the ExecStart struct to gvariant string.\n    org.systemd.property.SuccessAction: \"'poweroff-force'\"\nspec:\n  containers:\n    - name: hello\n      image: [quay.io/podman/hello](http://quay.io/podman/hello)\n```\n\nThis means that any user who can create a pod with an arbitrary annotation may perform an arbitrary action on the host system.\n\nTested with CRI-O v1.24 on minikube.\nI didn't test the latest v1.29 because it is incompatible with minikube: https://github.com/kubernetes/minikube/pull/18367\n\nThanks to Cédric Clerget (GitHub ID @cclerget) for finding out that CRI-O just passes pod annotations to OCI annotations:\nhttps://github.com/opencontainers/runc/pull/3923#discussion_r1532292536\n\nCRI-O has to filter out annotations that have the prefix \"org.systemd.property.\"\n\nSee also:\n- https://github.com/opencontainers/runtime-spec/blob/main/features.md#unsafe-annotations-in-configjson\n- https://github.com/opencontainers/runc/pull/4217\n\n\n### Workarounds\nUnfortunately, the only workarounds would involve an external mutating webhook to disallow these annotations\n\n### References\n\n","state":0,"publishedAt":"2024-04-30T09:39:38+00:00","modifiedAt":"2026-09-10T03:50:11.1118452+00:00","affected":[{"ecosystem":"Go","name":"github.com/cri-o/cri-o","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"1.29.0"},{"kind":"fixed","version":"1.29.4"}]}],"versions":[],"rawVersionEvidence":null},{"ecosystem":"Go","name":"github.com/cri-o/cri-o","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"1.28.0"},{"kind":"fixed","version":"1.28.6"}]}],"versions":[],"rawVersionEvidence":null},{"ecosystem":"Go","name":"github.com/cri-o/cri-o","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"1.27.6"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V3","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"HIGH"}],"references":["https://github.com/cri-o/cri-o/security/advisories/GHSA-2cgq-h8xw-2v5j","https://nvd.nist.gov/vuln/detail/CVE-2024-3154","https://github.com/opencontainers/runc/pull/4217","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","https://github.com/opencontainers/runtime-spec/blob/main/features.md#unsafe-annotations-in-configjson"],"sourceUrl":"https://github.com/advisories/GHSA-2cgq-h8xw-2v5j","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-2cgq-h8xw-2v5j","identifiers":["GHSA-2cgq-h8xw-2v5j","CVE-2024-3154","GO-2024-2791"]},"retained":false,"historicalAffected":[]}],"coverage":[]}