{"id":"CVE-2022-0811","aliases":["CVE-2022-0811","GHSA-6x2m-w449-qwx7","GO-2022-0354"],"related":[],"kind":"vulnerability","state":"published","title":"Code Injection in CRI-O","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"### Impact\nA flaw introduced in CRI-O version 1.19 which an attacker can use to bypass the safeguards and set arbitrary kernel parameters on the host. As a result, anyone with rights to deploy a pod on a Kubernetes cluster that uses the CRI-O runtime can abuse the `kernel.core_pattern` kernel parameter to achieve container escape and arbitrary code execution as root on any node in the cluster.\n\n### Patches\nThe patches will be present in 1.19.6, 1.20.7, 1.21.6, 1.22.3, 1.23.2, 1.24.0\n\n### Workarounds\n- Users can set manage_ns_lifecycle to false, which causes the sysctls to be configured by the OCI runtime, which typically filter these cases. This option is available in 1.20 and 1.19. Newer versions don't have this option.\n- An admission webhook could be created to deny pods that specify a `+` in the sysctl value of a pod.\n- A [PodSecurityPolicy](https://kubernetes.io/docs/tasks/administer-cluster/sysctl-cluster/#podsecuritypolicy) [deprecated] could be created, specifying all sysctls as forbidden like so: \n```\napiVersion: policy/v1beta1\nkind: PodSecurityPolicy\nmetadata:\n  name: sysctl-psp\nspec:\n  forbiddenSysctls:\n    - \"*\"\n```\nHowever, this option will not work if any sysctls are required by any pods in the cluster.\n\n\n### Credits\nCredit for finding this vulnerability goes to John Walker and Manoj Ahuje of Crowdstrike. The CRI-O community deeply thanks them for the report.\n\n### For more information\nIf you have any questions or comments about this advisory:\n* Open an issue in [the CRI-O repo](http://github.com/cri-o/cri-o/issues)\n* To make a report, email your vulnerability to the private\n[cncf-crio-security@lists.cncf.io](mailto:cncf-crio-security@lists.cncf.io) list\nwith the security details and the details expected for [all CRI-O bug\nreports](https://github.com/cri-o/cri-o/blob/main/.github/ISSUE_TEMPLATE/bug-report.yml).","format":"markdown","source":"ghsa"},{"lang":"en","text":"Code Injection in CRI-O in github.com/cri-o/cri-o","format":"markdown","source":"go"},{"lang":"es","text":"Se ha encontrado un fallo en CRI-O en la forma de establecer las opciones del kernel para un pod. Este problema permite a cualquier persona con derechos desplegar un pod en un clúster Kubernetes que usa el tiempo de ejecución de CRI-O para lograr un escape del contenedor y la ejecución de código arbitrario como root en el nodo del clúster, donde fue desplegado el pod malicioso","source":"nvd"}],"published":"2022-03-15T20:13:38.000Z","modified":"2026-07-08T06:27:53.412Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"},"severities":[{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:L/Au:S/C:C/I:C/A:C","score":9,"rating":"HIGH"}],"cwes":["CWE-94"],"affected":[{"ranges":[{"version":"cri-o 1.24.0, cri-o 1.23.2, cri-o 1.22.3, cri-o 1.21.6, cri-o 1.20.7, cri-o 1.19.6","status":"affected"}],"product":"CRI-O","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"1.19.0","status":"affected","fixed":"1.19.6"}],"ecosystem":"Go","package":"github.com/cri-o/cri-o","purl":"pkg:golang/github.com/cri-o/cri-o","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"1.20.0","status":"affected","fixed":"1.20.7"}],"ecosystem":"Go","package":"github.com/cri-o/cri-o","purl":"pkg:golang/github.com/cri-o/cri-o","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"1.21.0","status":"affected","fixed":"1.21.6"}],"ecosystem":"Go","package":"github.com/cri-o/cri-o","purl":"pkg:golang/github.com/cri-o/cri-o","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"1.22.0","status":"affected","fixed":"1.22.3"}],"ecosystem":"Go","package":"github.com/cri-o/cri-o","purl":"pkg:golang/github.com/cri-o/cri-o","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"1.23.0","status":"affected","fixed":"1.23.2"}],"ecosystem":"Go","package":"github.com/cri-o/cri-o","purl":"pkg:golang/github.com/cri-o/cri-o","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"1.19.0","status":"affected","fixed":"1.19.6"},{"type":"semver","introduced":"1.20.0","status":"affected","fixed":"1.20.7"},{"type":"semver","introduced":"1.21.0","status":"affected","fixed":"1.21.6"},{"type":"semver","introduced":"1.22.0","status":"affected","fixed":"1.22.3"},{"type":"semver","introduced":"1.23.0","status":"affected","fixed":"1.23.2"}],"ecosystem":"Go","package":"github.com/cri-o/cri-o","purl":"pkg:golang/github.com/cri-o/cri-o","source":"go"},{"ranges":[{"status":"affected","introduced":"1.19.0","fixed":"1.19.6"},{"status":"affected","introduced":"1.20.0","fixed":"1.20.7"},{"status":"affected","introduced":"1.21.0","fixed":"1.21.6"},{"status":"affected","introduced":"1.22.0","fixed":"1.22.3"},{"status":"affected","introduced":"1.23.0","fixed":"1.23.2"}],"vendor":"kubernetes","product":"cri-o","cpe":"cpe:2.3:a:kubernetes:cri-o:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2059475","tags":["issue-tracking","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://github.com/cri-o/cri-o/security/advisories/GHSA-6x2m-w449-qwx7","tags":["advisory","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-0811","tags":["advisory"],"sources":["ghsa","go"]},{"url":"https://access.redhat.com/security/cve/CVE-2022-0811","tags":["web"],"sources":["ghsa","go"]},{"url":"https://bugs.gentoo.org/835336","tags":["web"],"sources":["ghsa","go"]},{"url":"https://github.com/cri-o/cri-o","tags":["package"],"sources":["ghsa"]},{"url":"https://www.crowdstrike.com/blog/cr8escape-zero-day-vulnerability-discovered-in-cri-o-container-engine-cve-2022-0811","tags":["web"],"sources":["ghsa","go"]}],"credits":[],"assigner":"redhat","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-0811","url":"https://www.cve.org/CVERecord?id=CVE-2022-0811","licence":"CVE Terms of Use","modified":"2024-08-02T23:40:04.258Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-6x2m-w449-qwx7","url":"https://github.com/advisories/GHSA-6x2m-w449-qwx7","licence":"CC-BY-4.0","modified":"2026-07-08T06:27:53.412Z"},{"source":"go","name":"Go Vulnerability Database","id":"GO-2022-0354","url":"https://pkg.go.dev/vuln/GO-2022-0354","licence":"CC-BY-4.0","modified":"2026-03-03T04:50:02.526Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-0811","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-0811","licence":"Public domain","modified":"2026-06-17T04:21:17.997Z"}],"updatedAt":"2026-11-25T22:58:10.136Z","epss":{"score":0.19046,"percentile":0.97377,"date":"2026-12-02T12:00:21.000Z"}}