Join the Cyber Forum: Threat Intel on May 12, 2026 to learn how AI is reshaping threat defense.Join the Virtual Cyber Forum: Threat IntelRegister Now
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2020-15157

CVE-2020-15157: Containerd Information Disclosure Flaw

CVE-2020-15157 is an information disclosure vulnerability in Containerd that leaks credentials when processing foreign layers. This post covers the technical details, affected versions, security impact, and mitigation.

Published: March 4, 2026

CVE-2020-15157 Overview

CVE-2020-15157 is a credential leaking vulnerability in containerd, an industry-standard container runtime. The vulnerability exists in versions prior to 1.2.14 and affects how the default containerd resolver handles foreign layers in container image manifests. When a container image manifest in OCI Image format or Docker Image V2 Schema 2 format includes a URL for the location of a specific image layer (known as a "foreign layer"), the default containerd resolver follows that URL to download it. In vulnerable versions, the resolver provides authentication credentials if the server presents an HTTP 401 status code along with registry-specific HTTP headers.

Critical Impact

Attackers can steal registry credentials or cloud instance credentials by tricking users into pulling malicious container images, potentially granting access to other cloud resources in the account.

Affected Products

  • Linux Foundation containerd (versions prior to 1.2.14, and 1.3.0 beta/rc versions)
  • Canonical Ubuntu Linux 16.04 LTS, 18.04 LTS, 20.04 LTS
  • Debian Linux 10.0

Discovery Timeline

  • October 16, 2020 - CVE-2020-15157 published to NVD
  • November 21, 2024 - Last updated in NVD database

Technical Details for CVE-2020-15157

Vulnerability Analysis

This information disclosure vulnerability exploits the trust model in containerd's default resolver mechanism. The flaw occurs when processing container image manifests that reference external URLs for image layers. The containerd resolver incorrectly sends authentication credentials to arbitrary servers when those servers respond with HTTP 401 Unauthorized status codes accompanied by WWW-Authenticate headers matching registry patterns.

The vulnerability specifically impacts the cri-containerd plugin (used by Kubernetes), the ctr development tool, and other client programs explicitly linked against containerd's default resolver. Notably, Docker and other container runtimes built on containerd that do not use the default resolver are not affected.

Root Cause

The root cause is classified as CWE-522: Insufficiently Protected Credentials. The containerd default resolver fails to properly validate the destination server before transmitting authentication credentials. When following foreign layer URLs, the resolver does not differentiate between the original trusted registry and arbitrary third-party servers, sending credentials to any server that presents the appropriate HTTP authentication challenge headers.

Attack Vector

The attack requires network access and user interaction. An attacker must:

  1. Create a malicious container image with a manifest containing a foreign layer URL pointing to an attacker-controlled server
  2. Publish this image to a public registry or convince a target to pull from a controlled source
  3. Configure their server to respond with HTTP 401 status and registry-specific WWW-Authenticate headers
  4. Wait for a victim to pull the image using a vulnerable containerd installation

When the victim pulls the image, containerd's default resolver attempts to fetch the foreign layer and automatically sends the victim's registry credentials to the attacker's server. These credentials could be registry username/password combinations or cloud instance metadata credentials that grant access to additional cloud resources.

Detection Methods for CVE-2020-15157

Indicators of Compromise

  • Unexpected outbound HTTP requests from containerd processes to unfamiliar external hosts during image pull operations
  • Network traffic containing authentication headers being sent to non-registry endpoints
  • Container image manifests referencing external URLs outside of expected registry domains
  • Log entries showing foreign layer fetch attempts to suspicious or unknown servers

Detection Strategies

  • Monitor containerd and cri-containerd processes for outbound connections to unexpected destinations during image pulls
  • Implement network segmentation and egress filtering to restrict containerd's ability to contact arbitrary external hosts
  • Review image manifests for foreign layer references before pulling from untrusted sources
  • Enable verbose logging in containerd to capture all external URL fetch attempts

Monitoring Recommendations

  • Configure network monitoring to alert on containerd processes making connections to non-whitelisted registry endpoints
  • Implement container image scanning to detect manifests with external foreign layer URLs before deployment
  • Monitor cloud instance metadata access patterns for unusual credential retrievals following container operations
  • Establish baseline network behavior for container runtime processes and alert on deviations

How to Mitigate CVE-2020-15157

Immediate Actions Required

  • Upgrade containerd to version 1.2.14 or later immediately for systems running the 1.2.x series
  • Systems running containerd 1.3.0 (stable release) or later are not affected and require no action
  • Restrict image pulls to trusted registries only until patching is complete
  • Review recent image pull activity for signs of credential exfiltration

Patch Information

The vulnerability has been fixed in containerd version 1.2.14. Organizations should update their containerd installations through their package manager or by downloading the patched version directly from the GitHub Containerd Release v1.2.14.

Additional security advisories and patches are available:

  • GitHub Security Advisory GHSA-742w-89gc-8m9c
  • Ubuntu Security Notice USN-4589-1
  • Ubuntu Security Notice USN-4589-2
  • Debian Security Advisory DSA-4865

Workarounds

  • Only pull container images from trusted and verified sources until patches can be applied
  • Implement network policies to prevent containerd from making connections to arbitrary external hosts
  • Use container runtimes that do not rely on the default containerd resolver (such as Docker) as an interim measure
  • Consider blocking foreign layer URL following at the network level by restricting outbound connections from container runtime processes
bash
# Check containerd version
containerd --version

# Update containerd on Ubuntu/Debian
sudo apt-get update
sudo apt-get install containerd

# Verify updated version is 1.2.14 or later
containerd --version

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeInformation Disclosure

  • Vendor/TechContainerd

  • SeverityMEDIUM

  • CVSS Score6.1

  • EPSS Probability0.69%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:N/A:N
  • Impact Assessment
  • ConfidentialityHigh
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-522
  • Technical References
  • GitHub Containerd Release v1.2.14

  • GitHub Security Advisory GHSA-742w-89gc-8m9c

  • Ubuntu Security Notice USN-4589-1

  • Ubuntu Security Notice USN-4589-2

  • Debian Security Advisory DSA-4865
  • Related CVEs
  • CVE-2021-21334: Containerd Information Disclosure Flaw

  • CVE-2025-47291: Containerd CRI DoS Vulnerability

  • CVE-2023-25173: Containerd Privilege Escalation Vulnerability

  • CVE-2022-31030: Containerd CRI ExecSync DoS Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English