{"answers":{"affected":"7 open source packages ship an affected version, including github.com/cri-o/cri-o.","exploited":"There is no known exploitation of CVE-2024-3154 in the wild and no public exploit code.","fix":"Upgrade github.com/cri-o/cri-o to a fixed version for your release line: 1.27.6, 1.28.6 or 1.29.4.","what":"CVE-2024-3154 is a high-severity command injection vulnerability in Red Hat OpenShift Container Platform 3.11, published on 26 Apr 2024. An attacker needs administrator access to exploit it, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2024-3154 and fix it if it is affected.\n\nWhat it is: CVE-2024-3154 is a high-severity command injection vulnerability in Red Hat OpenShift Container Platform 3.11, published on 26 Apr 2024. An attacker needs administrator access to exploit it, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2024-3154 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- github.com/cri-o/cri-o (Go): affected all versions; fixed in 1.27.6, 1.28.6, 1.29.4\n- github.com/cri-o/cri-o (Go): affected all versions; fixed in 1.27.6\n- github.com/cri-o/cri-o (Go): affected all versions; fixed in 1.27.6\n- github.com/cri-o/cri-o (Go): affected from 1.28.0; fixed in 1.28.6\n- github.com/cri-o/cri-o (Go): affected from 1.28.0; fixed in 1.28.6\n- github.com/cri-o/cri-o (Go): affected from 1.29.0; fixed in 1.29.4\n- github.com/cri-o/cri-o (Go): affected from 1.29.0; fixed in 1.29.4\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2024-3154/ (Markdown: https://insights.sbomify.com/CVE-2024-3154/index.md)","id":"CVE-2024-3154","markdown":"https://insights.sbomify.com/CVE-2024-3154/index.md","name":"CVE-2024-3154","record":{"aliases":["AZL-42307","GHSA-2cgq-h8xw-2v5j","GO-2024-2791","OESA-2024-1671","OESA-2024-1675","OESA-2024-1688","RHSA-2024:3496","openSUSE-SU-2024:14334-1"],"analysis":{"component_type":"container_or_infrastructure","fix_type":"patch","impacts":["code_execution","privilege_escalation"],"network_reachable":"yes","non_default_config":false,"product_category":"CRI-O container runtime","requires_auth":"high_privilege","summary":"Attackers can execute arbitrary commands on the host by injecting systemd properties via pod annotations in CRI-O.","user_interaction":"not_required","vuln_class":"command_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"redhat","cpe":[],"cvss":{"score":7.2,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-77","name":"Improper Neutralization of Special Elements used in a Command"}],"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.","ecosystems":["Go","Red Hat:openshift:4.13::el8","Red Hat:openshift:4.13::el9","openSUSE:Tumbleweed"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Cri-o: arbitrary command injection via pod annotation","id":"CVE-2024-3154","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":null,"products":[],"type":"command_injection","year":"2024"},"n_packages":14,"n_references":9,"next":{"headline":"Cross-site scripting in Post Grid","id":"CVE-2024-3155"},"packages":[{"ecosystem":"Go","fixed":["1.27.6","1.28.6","1.29.4"],"introduced":["0","1.28.0","1.29.0"],"last_affected":[],"package":"github.com/cri-o/cri-o","purl":"pkg:golang/github.com/cri-o/cri-o","source":"GO-2024-2791"},{"ecosystem":"Go","fixed":["1.27.6"],"introduced":["0"],"last_affected":[],"package":"github.com/cri-o/cri-o","purl":null,"source":"GHSA-2cgq-h8xw-2v5j"},{"ecosystem":"Go","fixed":["1.27.6"],"introduced":["0"],"last_affected":[],"package":"github.com/cri-o/cri-o","purl":"pkg:golang/github.com/cri-o/cri-o","source":"GHSA-2cgq-h8xw-2v5j"},{"ecosystem":"Go","fixed":["1.28.6"],"introduced":["1.28.0"],"last_affected":[],"package":"github.com/cri-o/cri-o","purl":null,"source":"GHSA-2cgq-h8xw-2v5j"},{"ecosystem":"Go","fixed":["1.28.6"],"introduced":["1.28.0"],"last_affected":[],"package":"github.com/cri-o/cri-o","purl":"pkg:golang/github.com/cri-o/cri-o","source":"GHSA-2cgq-h8xw-2v5j"},{"ecosystem":"Go","fixed":["1.29.4"],"introduced":["1.29.0"],"last_affected":[],"package":"github.com/cri-o/cri-o","purl":null,"source":"GHSA-2cgq-h8xw-2v5j"},{"ecosystem":"Go","fixed":["1.29.4"],"introduced":["1.29.0"],"last_affected":[],"package":"github.com/cri-o/cri-o","purl":"pkg:golang/github.com/cri-o/cri-o","source":"GHSA-2cgq-h8xw-2v5j"},{"ecosystem":"Red Hat:openshift:4.13::el8","fixed":["0:1.26.5-16.2.rhaos4.13.git67e2a9d.el8"],"introduced":["0"],"last_affected":[],"package":"cri-o","purl":"pkg:rpm/redhat/cri-o","source":"RHSA-2024:3496"},{"ecosystem":"Red Hat:openshift:4.13::el8","fixed":["0:1.26.5-16.2.rhaos4.13.git67e2a9d.el8"],"introduced":["0"],"last_affected":[],"package":"cri-o-debuginfo","purl":"pkg:rpm/redhat/cri-o-debuginfo","source":"RHSA-2024:3496"},{"ecosystem":"Red Hat:openshift:4.13::el8","fixed":["0:1.26.5-16.2.rhaos4.13.git67e2a9d.el8"],"introduced":["0"],"last_affected":[],"package":"cri-o-debugsource","purl":"pkg:rpm/redhat/cri-o-debugsource","source":"RHSA-2024:3496"},{"ecosystem":"Red Hat:openshift:4.13::el9","fixed":["0:1.26.5-16.2.rhaos4.13.git67e2a9d.el9"],"introduced":["0"],"last_affected":[],"package":"cri-o","purl":"pkg:rpm/redhat/cri-o","source":"RHSA-2024:3496"},{"ecosystem":"Red Hat:openshift:4.13::el9","fixed":["0:1.26.5-16.2.rhaos4.13.git67e2a9d.el9"],"introduced":["0"],"last_affected":[],"package":"cri-o-debuginfo","purl":"pkg:rpm/redhat/cri-o-debuginfo","source":"RHSA-2024:3496"},{"ecosystem":"Red Hat:openshift:4.13::el9","fixed":["0:1.26.5-16.2.rhaos4.13.git67e2a9d.el9"],"introduced":["0"],"last_affected":[],"package":"cri-o-debugsource","purl":"pkg:rpm/redhat/cri-o-debugsource","source":"RHSA-2024:3496"},{"ecosystem":"openSUSE:Tumbleweed","fixed":["0.80.1-1.1"],"introduced":["0"],"last_affected":[],"package":"grype","purl":"pkg:rpm/opensuse/grype\u0026distro=openSUSE%20Tumbleweed","source":"openSUSE-SU-2024:14334-1"}],"prev":{"headline":"Uncontrolled Resource Consumption in mintplex-labs/anything-llm","id":"CVE-2024-3153"},"products":["Red Hat OpenShift Container Platform 3.11","Red Hat OpenShift Container Platform 4.12","Red Hat OpenShift Container Platform 4.13","Red Hat OpenShift Container Platform 4.14","Red Hat OpenShift Container Platform 4.15"],"published":"2024-04-26","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"Go Vulnerability Database","prefix":"GO"},{"class":"attribution","licence":"CC BY 4.0","name":"Red Hat","prefix":"RHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"SUSE","prefix":"openSUSE"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-08-24","vendors":["Red Hat"]},"summary":"Attackers can execute arbitrary commands on the host by injecting systemd properties via pod annotations in CRI-O.","url":"https://insights.sbomify.com/CVE-2024-3154/"}