{"answers":{"affected":"11 open source packages ship an affected version, including github.com/cri-o/cri-o. It affects 1 product.","exploited":"There is no known exploitation of CVE-2022-0811 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.19.6, 1.20.7, 1.21.6 or 1.22.3.","what":"CVE-2022-0811 is a high-severity code injection vulnerability in CRI-O, published on 16 Mar 2022. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2022-0811 and fix it if it is affected.\n\nWhat it is: CVE-2022-0811 is a high-severity code injection vulnerability in CRI-O, published on 16 Mar 2022. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2022-0811 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- github.com/cri-o/cri-o (Go): affected from 1.19.0; fixed in 1.19.6, 1.20.7, 1.21.6, 1.22.3, 1.23.2\n- github.com/cri-o/cri-o (Go): affected from 1.19.0; fixed in 1.19.6\n- github.com/cri-o/cri-o (Go): affected from 1.19.0; fixed in 1.19.6\n- github.com/cri-o/cri-o (Go): affected from 1.20.0; fixed in 1.20.7\n- github.com/cri-o/cri-o (Go): affected from 1.20.0; fixed in 1.20.7\n- github.com/cri-o/cri-o (Go): affected from 1.21.0; fixed in 1.21.6\n- github.com/cri-o/cri-o (Go): affected from 1.21.0; fixed in 1.21.6\n- github.com/cri-o/cri-o (Go): affected from 1.22.0; fixed in 1.22.3\n- github.com/cri-o/cri-o (Go): affected from 1.22.0; fixed in 1.22.3\n- github.com/cri-o/cri-o (Go): affected from 1.23.0; fixed in 1.23.2\n- github.com/cri-o/cri-o (Go): affected from 1.23.0; fixed in 1.23.2\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-2022-0811/ (Markdown: https://insights.sbomify.com/CVE-2022-0811/index.md)","id":"CVE-2022-0811","markdown":"https://insights.sbomify.com/CVE-2022-0811/index.md","name":"CVE-2022-0811","record":{"aliases":["AZL-37070","GHSA-6x2m-w449-qwx7","GO-2022-0354","RHSA-2022:0810","RHSA-2022:0860"],"analysis":{"component_type":"container_or_infrastructure","fix_type":"patch","impacts":["code_execution","privilege_escalation"],"network_reachable":"yes","non_default_config":false,"product_category":"Kubernetes container runtime","requires_auth":"low_privilege","summary":"Attackers with pod deployment rights can escape containers and execute arbitrary code as root on cluster nodes via CRI-O kernel option flaws.","user_interaction":"not_required","vuln_class":"code_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"redhat","cpe":[{"product":"cri-o","vendor":"kubernetes"}],"cvss":{"score":8.8,"severity":"high","source":"nvd","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-94","name":"Improper Control of Generation of Code"}],"description":"A flaw was found in CRI-O in the way it set kernel options for a pod. This issue allows anyone with rights to deploy a pod on a Kubernetes cluster that uses the CRI-O runtime to achieve a container escape and arbitrary code execution as root on the cluster node, where the malicious pod was deployed.","ecosystems":["Go","Red Hat:openshift:4.10::el7","Red Hat:openshift:4.10::el8","Red Hat:openshift:4.9::el7","Red Hat:openshift:4.9::el8"],"exploits":{"exploitdb":0,"first_seen":"2022-03-21","github_poc":1,"max_poc_stars":8,"metasploit":0,"nuclei":0,"refs":[{"date":"2022-03-21T09:39:22Z","kind":"github_poc","ref":"https://github.com/spiarh/webhook-cve-2022-0811","stars":8,"title":"Simple webhook to block exploitation of CVE-2022-0811"}],"tier":"poc_unverified"},"has_fix":true,"headline":"Code Injection in CRI-O","id":"CVE-2022-0811","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":null,"products":[],"type":"code_injection","year":"2022"},"n_packages":21,"n_references":2,"next":{"headline":"Information disclosure in Kernel","id":"CVE-2022-0812"},"packages":[{"ecosystem":"Go","fixed":["1.19.6","1.20.7","1.21.6","1.22.3","1.23.2"],"introduced":["1.19.0","1.20.0","1.21.0","1.22.0","1.23.0"],"last_affected":[],"package":"github.com/cri-o/cri-o","purl":"pkg:golang/github.com/cri-o/cri-o","source":"GO-2022-0354"},{"ecosystem":"Go","fixed":["1.19.6"],"introduced":["1.19.0"],"last_affected":[],"package":"github.com/cri-o/cri-o","purl":null,"source":"GHSA-6x2m-w449-qwx7"},{"ecosystem":"Go","fixed":["1.19.6"],"introduced":["1.19.0"],"last_affected":[],"package":"github.com/cri-o/cri-o","purl":"pkg:golang/github.com/cri-o/cri-o","source":"GHSA-6x2m-w449-qwx7"},{"ecosystem":"Go","fixed":["1.20.7"],"introduced":["1.20.0"],"last_affected":[],"package":"github.com/cri-o/cri-o","purl":null,"source":"GHSA-6x2m-w449-qwx7"},{"ecosystem":"Go","fixed":["1.20.7"],"introduced":["1.20.0"],"last_affected":[],"package":"github.com/cri-o/cri-o","purl":"pkg:golang/github.com/cri-o/cri-o","source":"GHSA-6x2m-w449-qwx7"},{"ecosystem":"Go","fixed":["1.21.6"],"introduced":["1.21.0"],"last_affected":[],"package":"github.com/cri-o/cri-o","purl":null,"source":"GHSA-6x2m-w449-qwx7"},{"ecosystem":"Go","fixed":["1.21.6"],"introduced":["1.21.0"],"last_affected":[],"package":"github.com/cri-o/cri-o","purl":"pkg:golang/github.com/cri-o/cri-o","source":"GHSA-6x2m-w449-qwx7"},{"ecosystem":"Go","fixed":["1.22.3"],"introduced":["1.22.0"],"last_affected":[],"package":"github.com/cri-o/cri-o","purl":null,"source":"GHSA-6x2m-w449-qwx7"},{"ecosystem":"Go","fixed":["1.22.3"],"introduced":["1.22.0"],"last_affected":[],"package":"github.com/cri-o/cri-o","purl":"pkg:golang/github.com/cri-o/cri-o","source":"GHSA-6x2m-w449-qwx7"},{"ecosystem":"Go","fixed":["1.23.2"],"introduced":["1.23.0"],"last_affected":[],"package":"github.com/cri-o/cri-o","purl":null,"source":"GHSA-6x2m-w449-qwx7"},{"ecosystem":"Go","fixed":["1.23.2"],"introduced":["1.23.0"],"last_affected":[],"package":"github.com/cri-o/cri-o","purl":"pkg:golang/github.com/cri-o/cri-o","source":"GHSA-6x2m-w449-qwx7"},{"ecosystem":"Red Hat:openshift:4.10::el7","fixed":["0:1.23.1-12.rhaos4.10.git1607c6e.el7"],"introduced":["0"],"last_affected":[],"package":"cri-o","purl":"pkg:rpm/redhat/cri-o","source":"RHSA-2022:0810"},{"ecosystem":"Red Hat:openshift:4.10::el7","fixed":["0:1.23.1-12.rhaos4.10.git1607c6e.el7"],"introduced":["0"],"last_affected":[],"package":"cri-o-debuginfo","purl":"pkg:rpm/redhat/cri-o-debuginfo","source":"RHSA-2022:0810"},{"ecosystem":"Red Hat:openshift:4.10::el8","fixed":["0:1.23.1-12.rhaos4.10.git1607c6e.el8"],"introduced":["0"],"last_affected":[],"package":"cri-o","purl":"pkg:rpm/redhat/cri-o","source":"RHSA-2022:0810"},{"ecosystem":"Red Hat:openshift:4.10::el8","fixed":["0:1.23.1-12.rhaos4.10.git1607c6e.el8"],"introduced":["0"],"last_affected":[],"package":"cri-o-debuginfo","purl":"pkg:rpm/redhat/cri-o-debuginfo","source":"RHSA-2022:0810"},{"ecosystem":"Red Hat:openshift:4.10::el8","fixed":["0:1.23.1-12.rhaos4.10.git1607c6e.el8"],"introduced":["0"],"last_affected":[],"package":"cri-o-debugsource","purl":"pkg:rpm/redhat/cri-o-debugsource","source":"RHSA-2022:0810"},{"ecosystem":"Red Hat:openshift:4.9::el7","fixed":["0:1.22.2-3.rhaos4.9.gitb030be8.el7"],"introduced":["0"],"last_affected":[],"package":"cri-o","purl":"pkg:rpm/redhat/cri-o","source":"RHSA-2022:0860"},{"ecosystem":"Red Hat:openshift:4.9::el7","fixed":["0:1.22.2-3.rhaos4.9.gitb030be8.el7"],"introduced":["0"],"last_affected":[],"package":"cri-o-debuginfo","purl":"pkg:rpm/redhat/cri-o-debuginfo","source":"RHSA-2022:0860"},{"ecosystem":"Red Hat:openshift:4.9::el8","fixed":["0:1.22.2-3.rhaos4.9.gitb030be8.el8"],"introduced":["0"],"last_affected":[],"package":"cri-o","purl":"pkg:rpm/redhat/cri-o","source":"RHSA-2022:0860"},{"ecosystem":"Red Hat:openshift:4.9::el8","fixed":["0:1.22.2-3.rhaos4.9.gitb030be8.el8"],"introduced":["0"],"last_affected":[],"package":"cri-o-debuginfo","purl":"pkg:rpm/redhat/cri-o-debuginfo","source":"RHSA-2022:0860"},{"ecosystem":"Red Hat:openshift:4.9::el8","fixed":["0:1.22.2-3.rhaos4.9.gitb030be8.el8"],"introduced":["0"],"last_affected":[],"package":"cri-o-debugsource","purl":"pkg:rpm/redhat/cri-o-debugsource","source":"RHSA-2022:0860"}],"prev":{"headline":"Memory corruption in Chrome","id":"CVE-2022-0809"},"products":["CRI-O"],"published":"2022-03-16","related":[{"cvss_score":8.8,"headline":"Privilege escalation in n/a","id":"CVE-2018-1000400","kev_date_added":null,"published":"2018-05-18"},{"cvss_score":8.1,"headline":"Cri-o: malicious container can create symlink on host","id":"CVE-2024-5154","kev_date_added":null,"published":"2024-06-12"},{"cvss_score":7.1,"headline":"CRI-O incorrect handling of supplementary groups may lead to sensitive information disclosure","id":"CVE-2022-2995","kev_date_added":null,"published":"2022-09-19"},{"cvss_score":4.8,"headline":"Cri-o: security regression of cve-2022-27652","id":"CVE-2022-3466","kev_date_added":null,"published":"2023-09-15"},{"cvss_score":4.2,"headline":"Incorrect Permission Assignment for Critical Resource in CRI-O","id":"CVE-2022-0532","kev_date_added":null,"published":"2022-02-09"}],"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":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-02","vendors":["n/a"]},"summary":"Attackers with pod deployment rights can escape containers and execute arbitrary code as root on cluster nodes via CRI-O kernel option flaws.","url":"https://insights.sbomify.com/CVE-2022-0811/"}