CVE-2020-15157

Summary

CVECVE-2020-15157
StatePUBLIC
Assigner[email protected]
Source PriorityCVE Program / NVD first with legacy fallback
Published2020-10-16 17:15:00 UTC
Updated2021-11-18 16:16:00 UTC
DescriptionIn containerd (an industry-standard container runtime) before version 1.2.14 there is a credential leaking vulnerability. If a container image manifest in the OCI Image format or Docker Image V2 Schema 2 format includes a URL for the location of a specific image layer (otherwise known as a “foreign layer”), the default containerd resolver will follow that URL to attempt to download it. In v1.2.x but not 1.3.0 or later, the default containerd resolver will provide its authentication credentials if the server where the URL is located presents an HTTP 401 status code along with registry-specific HTTP headers. If an attacker publishes a public image with a manifest that directs one of the layers to be fetched from a web server they control and they trick a user or system into pulling the image, they can obtain the credentials used for pulling that image. In some cases, this may be the user's username and password for the registry. In other cases, this may be the credentials attached to the cloud virtual instance which can grant access to other cloud resources in the account. The default containerd resolver is used by the cri-containerd plugin (which can be used by Kubernetes), the ctr development tool, and other client programs that have explicitly linked against it. This vulnerability has been fixed in containerd 1.2.14. containerd 1.3 and later are not affected. If you are using containerd 1.3 or later, you are not affected. If you are using cri-containerd in the 1.2 series or prior, you should ensure you only pull images from trusted sources. Other container runtimes built on top of containerd but not using the default resolver (such as Docker) are not affected.

Risk And Classification

Problem Types: CWE-522

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Operating System Canonical Ubuntu Linux 16.04 All All All
Operating System Canonical Ubuntu Linux 18.04 All All All
Operating System Canonical Ubuntu Linux 20.04 All All All
Operating System Canonical Ubuntu Linux 16.04 All All All
Operating System Canonical Ubuntu Linux 18.04 All All All
Operating System Canonical Ubuntu Linux 20.04 All All All
Operating System Debian Debian Linux 10.0 All All All
Application Linuxfoundation Containerd All All All All
Application Linuxfoundation Containerd 1.3.0 - All All
Application Linuxfoundation Containerd 1.3.0 beta0 All All
Application Linuxfoundation Containerd 1.3.0 beta1 All All
Application Linuxfoundation Containerd 1.3.0 beta2 All All
Application Linuxfoundation Containerd 1.3.0 rc0 All All
Application Linuxfoundation Containerd 1.3.0 rc1 All All
Application Linuxfoundation Containerd 1.3.0 rc2 All All
Application Linuxfoundation Containerd 1.3.0 rc3 All All
Application Linuxfoundation Containerd All All All All
Application Linuxfoundation Containerd 1.3.0 - All All
Application Linuxfoundation Containerd 1.3.0 beta0 All All
Application Linuxfoundation Containerd 1.3.0 beta1 All All
Application Linuxfoundation Containerd 1.3.0 beta2 All All
Application Linuxfoundation Containerd 1.3.0 rc0 All All
Application Linuxfoundation Containerd 1.3.0 rc1 All All
Application Linuxfoundation Containerd 1.3.0 rc2 All All
Application Linuxfoundation Containerd 1.3.0 rc3 All All

References

ReferenceSourceLinkTags
containerd v1.2.x can be coerced into leaking credentials during image pull · Advisory · containerd/containerd · GitHub CONFIRM github.com Third Party Advisory
USN-4589-2: Docker vulnerability | Ubuntu security notices | Ubuntu UBUNTU usn.ubuntu.com Third Party Advisory
USN-4589-1: containerd vulnerability | Ubuntu security notices | Ubuntu UBUNTU usn.ubuntu.com Third Party Advisory
Release containerd 1.2.14 · containerd/containerd · GitHub MISC github.com Third Party Advisory
Debian -- Security Information -- DSA-4865-1 docker.io DEBIAN www.debian.org Third Party Advisory
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Legacy QID Mappings

  • 353046 Amazon Linux Security Advisory for containerd : ALAS2NITRO-ENCLAVES-2021-013
  • 353059 Amazon Linux Security Advisory for containerd : ALAS2DOCKER-2021-013
  • 353111 Amazon Linux Security Advisory for containerd : ALAS-2021-1555
  • 671467 EulerOS Security Update for docker-engine (EulerOS-SA-2022-1424)
  • 671480 EulerOS Security Update for docker-engine (EulerOS-SA-2022-1445)
  • 671504 EulerOS Security Update for docker-engine (EulerOS-SA-2022-1501)
  • 671542 EulerOS Security Update for docker-engine (EulerOS-SA-2022-1482)
  • 671845 EulerOS Security Update for docker-engine (EulerOS-SA-2022-1886)
  • 671881 EulerOS Security Update for docker-engine (EulerOS-SA-2022-1926)
  • 751822 OpenSUSE Security Update for conmon, libcontainers-common, libseccomp, podman (openSUSE-SU-2022:23018-1)
  • 752014 SUSE Enterprise Linux Security Update for conmon, libcontainers-common, libseccomp, podman (SUSE-SU-2022:23018-1)
  • 752601 SUSE Enterprise Linux Security Update for libcontainers-common (SUSE-SU-2022:3312-1)
  • 770064 Red Hat OpenShift Container Platform 4.7.0 Packages and Security Update (RHSA-2020:5634)
© CVE.report 2026 |

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

CVE.report and Source URL Uptime Status status.cve.report