CVE-2020-2026: Link Following in Kata Runtime

Summary

15/02/2022
Yes i
High
8.8

CVE-2020-2026: Link Following in Kata Runtime. Affects github.com/kata-containers/runtime across 3 version ranges.

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

Fixed in 1.9.1, 1.10.6 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 MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

The Kata Runtime is a component of the Kata Containers project, which provides lightweight virtual machines (VMs) for running containers. It is implemented in Go and is responsible for managing the creation and execution of containers. The runtime allows users to isolate containers from the host system and provides a secure environment for running containerized applications. However, a vulnerability has been discovered in versions of the Kata Runtime prior to 1.11.1, 1.10.6, and 1.9.1, which could allow a malicious guest to mount the container filesystem on any host path, potentially leading to code execution on the host system.

Vulnerability Detail

The vulnerability, identified as CVE-2020-2026, arises from a flaw in the Kata Runtime's handling of container filesystems. A malicious guest, either through a compromised guest image or by running multiple containers, can exploit this flaw to trick the runtime into mounting the untrusted container filesystem on any host path. This could enable an attacker to execute arbitrary code on the host system, compromising its security and integrity. The vulnerability has a CVSS score of 8.8, indicating a high severity level.

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/runtime@v1.9.1
  • >= 1.10.0, < 1.10.6 1.10.6
    go get github.com/kata-containers/runtime@v1.10.6
  • >= 1.11.0, < 1.11.1 1.11.1
    go get github.com/kata-containers/runtime@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 specific workaround provided for this vulnerability. However, users can mitigate the risk by following the recommended fix and updating to the latest version of the Kata Runtime.

Conclusion

In conclusion, the CVE-2020-2026 vulnerability in the Kata Runtime exposes a significant security risk, allowing a malicious guest to mount the container filesystem on any host path and potentially execute arbitrary code on the host system. To mitigate this risk, it is crucial to update the Kata Runtime to the latest patched versions. Regularly updating and patching all software components is also recommended to minimize the risk of similar vulnerabilities. For further support and assistance in vulnerability remediation, please contact DevNack.com.

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

Share this vulnerability

FAQ

The vulnerability allows a malicious guest to mount the container filesystem on any host path, potentially leading to code execution on the host system. This can result in unauthorized access, data breaches, and compromise of the host's security and integrity.

Versions of the Kata Runtime prior to 1.11.1, 1.10.6, and 1.9.1 are affected by this vulnerability.

There are no known public exploits for this vulnerability at the time of this advisory. However, it is advisable to apply the recommended fix and update to the latest version of the Kata Runtime to mitigate the risk.

Yes, the CVSS score for this vulnerability is 8.8, indicating a high severity level.

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/runtime@v1.9.1
  • >= 1.10.0, < 1.10.6 1.10.6
    go get github.com/kata-containers/runtime@v1.10.6
  • >= 1.11.0, < 1.11.1 1.11.1
    go get github.com/kata-containers/runtime@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