CVE-2022-0811High· 8.8▾ MidnightPoC availableCode Injection in CRI-O
▾ Midnight zone — Critical, or high with PoC / in-the-wild
impact 48.4 · likelihood 3.8 · exploitation 12
A public proof-of-concept already exists for this vulnerability — see Exploit availability below.
Public exploit / PoC code seen in 1 source. Availability, not in-the-wild use.
Exploit-prediction probability, daily snapshots since Jul 9.
Disclosure to exploitation, from the record and what we observed since indexing it.
Disclosed via OSV
Last analysed / modified upstream
19%
19% → 19%
1 GitHub repo
A 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.
The patches will be present in 1.19.6, 1.20.7, 1.21.6, 1.22.3, 1.23.2, 1.24.0
+ in the sysctl value of a pod.apiVersion: policy/v1beta1
kind: PodSecurityPolicy
metadata:
name: sysctl-psp
spec:
forbiddenSysctls:
- "*"
However, this option will not work if any sysctls are required by any pods in the cluster.
Credit for finding this vulnerability goes to John Walker and Manoj Ahuje of Crowdstrike. The CRI-O community deeply thanks them for the report.
If you have any questions or comments about this advisory:
github.com/cri-o/cri-o >= 1.19.0, < 1.19.6github.com/cri-o/cri-o >= 1.20.0, < 1.20.7github.com/cri-o/cri-o >= 1.21.0, < 1.21.6github.com/cri-o/cri-o >= 1.22.0, < 1.22.3github.com/cri-o/cri-o >= 1.23.0, < 1.23.2Upgrade to a patched release:
github.com/cri-o/cri-o 1.19.6github.com/cri-o/cri-o 1.20.7github.com/cri-o/cri-o 1.21.6github.com/cri-o/cri-o 1.22.3github.com/cri-o/cri-o 1.23.2Field changes observed since this record was first indexed.
Connected by shared product, vendor, weakness, or advisory.
CVE-2024-3154High· 7.2A flaw was found in cri-o, where an arbitrary systemd property can be injected via a Pod annotation
CVE-2024-5154High· 8.1malicious container creates symlink "mtab" on the host External
CVE-2022-1708High· 7.5Node DOS by way of memory exhaustion through ExecSync request in CRI-O
CVE-2022-27652Medium· 4.8Incorrect Default Permissions in CRI-O