CVE-2020-15157: containerd v1.2.x Image Pull Credentials Leakage

Summary

21/08/2024
Yes i
Moderate
6.1

CVE-2020-15157: containerd v1.2.x can be coerced into leaking credentials during image pull in github.com/containerd/containerd. Affects github.com/containerd/containerd versions < 1.2.14. Fixed in 1.2.14. How to fix ↓

Also tracked for

The same CVE-2020-15157 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 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

The package under scrutiny is github.com/containerd/containerd, an open-source container runtime for Linux. It is written in Go and provides a platform-agnostic interface for managing containers. containerd is widely used in various container orchestration systems and provides functionality for image management, container execution, and storage. However, versions 1.2.x of containerd are vulnerable to a credential leakage issue during image pull operations.

Vulnerability Detail

The vulnerability in containerd v1.2.x allows for the leakage of credentials during image pull operations. An attacker can coerce the containerd runtime into revealing sensitive credentials, potentially leading to unauthorized access or further attacks. This vulnerability arises due to a flaw in the image pull process, specifically in the handling of credentials. By exploiting this vulnerability, an attacker can obtain sensitive information such as usernames, passwords, or access tokens, compromising the security of the system.

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 version below is the minimum fixed release for this vulnerability.

If you need the minimum change

1.2.14

This is the first release that contains the fix.

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

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 apply the recommended fix by upgrading to containerd version 1.2.14 or later.

Conclusion

The vulnerability in containerd v1.2.x allows for the leakage of credentials during image pull operations. To mitigate this risk, it is crucial to upgrade to containerd version 1.2.14 or later. This fix addresses the flaw in the image pull process and prevents the unauthorized disclosure of sensitive credentials.

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

Share this vulnerability

FAQ

containerd is an open-source container runtime for Linux, providing a platform-agnostic interface for managing containers.

The vulnerability allows for the leakage of credentials during image pull operations, potentially leading to unauthorized access or further attacks.

To fix this vulnerability, upgrade to containerd version 1.2.14 or later.

No, there is no known workaround for this vulnerability. Upgrading to the fixed version is necessary.

You can find more information about this vulnerability in the Open Source Vulnerability database at https://pkg.go.dev/vuln/GO-2022-0803.

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 version below is the minimum fixed release for this vulnerability.

If you need the minimum change

1.2.14

This is the first release that contains the fix.

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

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