CVE-2022-0532: Incorrect Permission Assignment for Critical Resource in CRI-O

github.com/cri-o/cri-o Updated 02 Oct 2025

Summary

11/02/2022
Yes i
Moderate
4.2

CVE-2022-0532: Incorrect Permission Assignment for Critical Resource in CRI-O. Affects github.com/cri-o/cri-o versions < 1.23.1. Fixed in 1.23.1. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

CRI-O is an open-source implementation of the Kubernetes Container Runtime Interface (CRI) that enables the running of containers on Kubernetes. It is written in Go and provides a lightweight alternative to traditional container runtimes. CRI-O allows users to create and manage pods, containers, and images within a Kubernetes cluster. However, a vulnerability has been discovered in CRI-O versions 1.18 and earlier that could lead to incorrect permission assignment for a critical resource.

Vulnerability Detail

The vulnerability in CRI-O arises from an incorrect sysctls validation process. When an attacker is able to create a pod with a hostIPC and hostNetwork kernel namespace, the sysctls from the list of "safe" sysctls specified for the cluster will be applied to the host. This means that an attacker with the ability to create such a pod can potentially modify critical system settings on the host, leading to unauthorized access or disruption of the host's functionality. The severity of this vulnerability is considered moderate, with a CVSS score of 4.2.

How To Fix

Minimum fixed version

1.23.1

This is the first release that contains the fix.

go get github.com/cri-o/cri-o@v1.23.1

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

There is no known workaround for this vulnerability. It is essential to upgrade to the fixed version of CRI-O to mitigate the risk.

Conclusion

In conclusion, the vulnerability in CRI-O versions 1.18 and earlier allows an attacker to modify critical system settings on the host by creating a pod with specific kernel namespaces. To mitigate this risk, it is recommended to upgrade to CRI-O version 1.23.1 or later. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for github.com/cri-o/cri-o →

Share this vulnerability

FAQ

CRI-O is an open-source implementation of the Kubernetes Container Runtime Interface (CRI) that allows the running of containers on Kubernetes.

CRI-O versions 1.18 and earlier are affected by this vulnerability.

An attacker who can create a pod with a hostIPC and hostNetwork kernel namespace can modify critical system settings on the host, potentially leading to unauthorized access or disruption of the host's functionality.

The severity of this vulnerability is considered moderate, with a CVSS score of 4.2.

No, there is no known workaround. It is crucial to upgrade to the fixed version of CRI-O.

Related vulnerabilities

Recent vulnerabilities recorded for github.com/cri-o/cri-o.

How To Fix

Minimum fixed version

1.23.1

This is the first release that contains the fix.

go get github.com/cri-o/cri-o@v1.23.1

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback