cve.bz

CVE-2022-0811 (cr8escape) kubernetes cri-o: Code Injection

8.8 highEPSS 19%Fix available

Known as cr8escape

High (8.8) in kubernetes cri-o. EPSS 19% estimated probability of exploitation activity in the next 30 days. Fixed in github.com/cri-o/cri-o 1.19.6, 1.20.7, 1.21.6.

On this page
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.

Severity

CVSS 3.1

8.8 high
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS
19% (unchanged from 19% a week ago; 19% 30 days ago) estimated probability of exploitation activity in the next 30 days; 97th percentile. Scored 2026-11-21. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-94 Improper Control of Generation of Code (Code Injection)
OWASP Top 10
A05:2025 Injection
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2022-0811 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2022-0811?via=ask-ai-copy and https://cve.bz/cve/CVE-2022-0811?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2022-0811 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
kubernetes:cri-ofrom 1.19.0 before 1.19.6
kubernetes:cri-ofrom 1.20.0 before 1.20.7
kubernetes:cri-ofrom 1.21.0 before 1.21.6
kubernetes:cri-ofrom 1.22.0 before 1.22.3
kubernetes:cri-ofrom 1.23.0 before 1.23.2

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-6x2m-w449-qwx7Gogithub.com/cri-o/cri-o>=1.19.0 <1.19.61.19.6
GHSA-6x2m-w449-qwx7Gogithub.com/cri-o/cri-o>=1.20.0 <1.20.71.20.7
GHSA-6x2m-w449-qwx7Gogithub.com/cri-o/cri-o>=1.21.0 <1.21.61.21.6
GHSA-6x2m-w449-qwx7Gogithub.com/cri-o/cri-o>=1.22.0 <1.22.31.22.3
GHSA-6x2m-w449-qwx7Gogithub.com/cri-o/cri-o>=1.23.0 <1.23.21.23.2
GO-2022-0354Gogithub.com/cri-o/cri-o>=1.19.0 <1.19.6
>=1.20.0 <1.20.7
>=1.21.0 <1.21.6
>=1.22.0 <1.22.3
>=1.23.0 <1.23.2
1.19.6, 1.20.7, 1.21.6, 1.22.3, 1.23.2

Linux distributions

DistributionReleasePackageFixed inAdvisory
Red Hatopenshift:4.6::el7cri-o, cri-o-debuginfo0:1.19.5-3.rhaos4.6.git91f8458.el7RHSA-2022:0866
Red Hatopenshift:4.6::el8cri-o, cri-o-debuginfo, cri-o-debugsource0:1.19.5-3.rhaos4.6.git91f8458.el8RHSA-2022:0866
Red Hatopenshift:4.7::el7cri-o, cri-o-debuginfo0:1.20.6-11.rhaos4.7.git76ea3d0.el7RHSA-2022:0870
Red Hatopenshift:4.7::el8cri-o, cri-o-debuginfo, cri-o-debugsource0:1.20.6-11.rhaos4.7.git76ea3d0.el8RHSA-2022:0870
Red Hatopenshift:4.8::el7cri-o, cri-o-debuginfo0:1.21.5-3.rhaos4.8.gitaf64931.el7RHSA-2022:0871
Red Hatopenshift:4.8::el8cri-o, cri-o-debuginfo, cri-o-debugsource0:1.21.5-3.rhaos4.8.gitaf64931.el8RHSA-2022:0871
Red Hatopenshift:4.8::el8jenkins-2-plugins0:4.8.1646993358-1.el8RHSA-2022:0871
Red Hatopenshift:4.9::el7cri-o, cri-o-debuginfo0:1.22.2-3.rhaos4.9.gitb030be8.el7RHSA-2022:0860
Red Hatopenshift:4.9::el8cri-o, cri-o-debuginfo, cri-o-debugsource0:1.22.2-3.rhaos4.9.gitb030be8.el8RHSA-2022:0860
Red Hatopenshift:4.10::el7cri-o, cri-o-debuginfo0:1.23.1-12.rhaos4.10.git1607c6e.el7RHSA-2022:0810
Red Hatopenshift:4.10::el8cri-o, cri-o-debuginfo, cri-o-debugsource0:1.23.1-12.rhaos4.10.git1607c6e.el8RHSA-2022:0810
Alpinev3.21, v3.22, v3.23 and 1 morecri-o1.23.2-r0ALPINE-CVE-2022-0811
Azure Linux2cri-o1.22.3-1AZL-37070

From the distributions' data via OSV.dev: Red Hat Security Data © Red Hat, Inc., CC BY 4.0; the Alpine secdb, CC BY-SA 4.0; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Red Hat · Alpine.

Red Hat

Red Hat rates this Important.

Red Hat's statement

OpenShift Container Platform (OCP) starting from version 4.6 is affected by this vulnerability, older versions of OCP are not affected.

Red Hat's mitigation

Red Hat has investigated whether a possible mitigation exists for this issue, and has not been able to identify a practical example. Please update the affected package as soon as possible.

ProductPackageStateAdvisory
Red Hat OpenShift Container Platform 4.10cri-o-0:1.23.1-12.rhaos4.10.git1607c6e.el7Fixed 2022-03-15RHSA-2022:0810
Red Hat OpenShift Container Platform 4.6cri-o-0:1.19.5-3.rhaos4.6.git91f8458.el7Fixed 2022-03-23RHSA-2022:0866
Red Hat OpenShift Container Platform 4.7cri-o-0:1.20.6-11.rhaos4.7.git76ea3d0.el7Fixed 2022-03-22RHSA-2022:0870
Red Hat OpenShift Container Platform 4.8cri-o-0:1.21.5-3.rhaos4.8.gitaf64931.el7Fixed 2022-03-22RHSA-2022:0871
Red Hat OpenShift Container Platform 4.9cri-o-0:1.22.2-3.rhaos4.9.gitb030be8.el7Fixed 2022-03-21RHSA-2022:0860
Red Hat OpenShift Container Platform 3.11cri-oNot affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2022-0811.

Attack patterns (CAPEC)

  • CAPEC-35 Leverage Executable Code in Non-Executable Files Likelihood: High · Severity: Very High
  • CAPEC-77 Manipulating User-Controlled Variables Likelihood: High · Severity: Very High
  • CAPEC-242 Code Injection Likelihood: High · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON