CVE-2020-15257: containerd-shim API Exposed to Host Network Containers in github.com/containerd/containerd

Summary

21/08/2024
Yes i
Moderate
5.2

CVE-2020-15257: containerd-shim API Exposed to Host Network Containers in github.com/containerd/containerd. Affects github.com/containerd/containerd across 2 version ranges.

< 1.3.9 >= 1.4.0, < 1.4.3

Fixed in 1.3.9 or 1.4.3, depending on the release line you run. How to fix ↓

Also tracked for

The same CVE-2020-15257 is tracked separately for each ecosystem and vendor. Its fix information is the same; the package and affected versions differ.

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 Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

The package under scrutiny is github.com/containerd/containerd, which is written in Go. containerd is an open-source container runtime that provides a reliable and scalable foundation for container deployments. It manages the complete container lifecycle, including image transfer and storage, container execution, and supervision. The vulnerability in question exposes the containerd-shim API to host network containers, potentially leading to unauthorized access and malicious activities.

Vulnerability Detail

The vulnerability (CVE-2020-15257) arises from the containerd-shim API being exposed to host network containers. This allows containers running on the host network to interact with the containerd-shim API, which can lead to unauthorized access and potential security breaches. Attackers could exploit this vulnerability to execute arbitrary code, escalate privileges, or perform other malicious actions within the containerd environment. The vulnerability affects versions 0.x, 1.3.9, 1.4.0, and 1.4.3 of the github.com/containerd/containerd package.

How To Fix

Latest published version: v1.7.36 as of 22 Oct 2026

go get github.com/containerd/containerd@v1.7.36

Upgrading to it may include breaking changes; the versions below are the minimum fixed release for this vulnerability.

If you can't move to the latest

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

  • < 1.3.9 1.3.9
    go get github.com/containerd/containerd@v1.3.9
  • >= 1.4.0, < 1.4.3 1.4.3
    go get github.com/containerd/containerd@v1.4.3

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 mentioned for this vulnerability. However, as a general best practice, it is recommended to ensure that containers running on the host network are properly isolated and have restricted access to sensitive APIs and resources.

Conclusion

The vulnerability (CVE-2020-15257) in the github.com/containerd/containerd package exposes the containerd-shim API to host network containers, potentially leading to unauthorized access and malicious activities. It is crucial to upgrade to the fixed versions (1.3.9 or 1.4.3) to mitigate the risk and ensure the security of the containerd environment.

See every vulnerability recorded for github.com/containerd/containerd →

Share this vulnerability

FAQ

containerd is an open-source container runtime that manages the complete container lifecycle, including image transfer and storage, container execution, and supervision.

The vulnerability allows host network containers to access the containerd-shim API, potentially leading to unauthorized access and malicious activities within the containerd environment.

Attackers can exploit this vulnerability to execute arbitrary code, escalate privileges, or perform other malicious actions within the containerd environment.

Versions 0.x, 1.3.9, 1.4.0, and 1.4.3 of the github.com/containerd/containerd package are affected by this vulnerability.

To fix this vulnerability, it is recommended to upgrade to a fixed version of the github.com/containerd/containerd package. For versions 0.x, the vulnerability is fixed in version 1.3.9. For versions 1.4.0, the vulnerability is fixed in version 1.4.3.

Related vulnerabilities

Recent vulnerabilities recorded for github.com/containerd/containerd.

How To Fix

Latest published version: v1.7.36 as of 22 Oct 2026

go get github.com/containerd/containerd@v1.7.36

Upgrading to it may include breaking changes; the versions below are the minimum fixed release for this vulnerability.

If you can't move to the latest

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

  • < 1.3.9 1.3.9
    go get github.com/containerd/containerd@v1.3.9
  • >= 1.4.0, < 1.4.3 1.4.3
    go get github.com/containerd/containerd@v1.4.3

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