CVE-2020-2023: Improper Privilege Management and Execution with Unnecessary Privileges in Kata Containers

Summary

15/02/2022
Yes i
Moderate
9.8

CVE-2020-2023: Improper Privilege Management and Execution with Unnecessary Privileges in Kata Containers. Affects github.com/kata-containers/agent across 3 version ranges.

< 1.9.1 >= 1.10.0, < 1.10.5 >= 1.11.0, < 1.11.1

Fixed in 1.9.1, 1.10.5 or 1.11.1, depending on the release line you run. 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

Kata Containers is an open-source project that provides lightweight virtual machines (VMs) for running containers. It aims to combine the security advantages of VMs with the performance benefits of containers. The project consists of two main components: the Kata Containers agent and the Kata Containers runtime. The agent is responsible for managing the lifecycle of containers, while the runtime provides the execution environment for the containers. Both components are written in Go.

Vulnerability Detail

The vulnerability identified as CVE-2020-2023 affects Kata Containers versions 1.11.0 and earlier, 1.10.0 and earlier, and 1.9.0 and earlier. It arises from a lack of proper privilege management and execution with unnecessary privileges. Specifically, Kata Containers does not restrict containers from accessing the guest's root filesystem device. This flaw can be exploited by malicious containers to gain code execution on the guest and masquerade as the kata-agent. The impact of this vulnerability is significant, as it allows an attacker to execute arbitrary code within the guest environment, potentially leading to further compromise of the system.

How To Fix

Fixed versions by release line

The minimum fixed version depends on the release line you run.

  • < 1.9.1 1.9.1
    go get github.com/kata-containers/agent@v1.9.1
  • >= 1.10.0, < 1.10.5 1.10.5
    go get github.com/kata-containers/agent@v1.10.5
  • >= 1.11.0, < 1.11.1 1.11.1
    go get github.com/kata-containers/agent@v1.11.1

Tip — Not sure which release line you're on? Vulert can find the fix for the version you are using. Scan free →

Workaround

There is no known workaround for this vulnerability. It is essential to apply the recommended updates to ensure the security of the Kata Containers deployment.

Conclusion

The vulnerability identified as CVE-2020-2023 in Kata Containers poses a significant risk to the security of the system. It allows malicious containers to execute arbitrary code within the guest environment, potentially leading to further compromise. To mitigate this risk, it is crucial to update to the latest version of Kata Containers as recommended. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for github.com/kata-containers/agent →

Share this vulnerability

FAQ

Kata Containers is an open-source project that provides lightweight virtual machines (VMs) for running containers. It combines the security advantages of VMs with the performance benefits of containers.

The vulnerability allows malicious containers to gain code execution on the guest and masquerade as the kata-agent. This can lead to arbitrary code execution within the guest environment and potential further compromise of the system.

Versions 1.11.0 and earlier, 1.10.0 and earlier, and 1.9.0 and earlier are affected by this vulnerability.

To fix this vulnerability, it is recommended to update to the latest version of Kata Containers. For versions 1.11.0 and earlier, upgrade to version 1.11.1. For versions 1.10.0 and earlier, upgrade to version 1.10.5. For versions 1.9.0 and earlier, upgrade to version 1.9.1.

There is no known workaround for this vulnerability. It is crucial to apply the recommended updates to ensure the security of the Kata Containers deployment.

How To Fix

Fixed versions by release line

The minimum fixed version depends on the release line you run.

  • < 1.9.1 1.9.1
    go get github.com/kata-containers/agent@v1.9.1
  • >= 1.10.0, < 1.10.5 1.10.5
    go get github.com/kata-containers/agent@v1.10.5
  • >= 1.11.0, < 1.11.1 1.11.1
    go get github.com/kata-containers/agent@v1.11.1

Tip — Not sure which release line you're on? Vulert can find the fix for the version you are using. 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