cve.bz

CVE-2020-15157 Insufficiently Protected Credentials

6.1 mediumEPSS 2.3%Fix available

Medium (6.1). EPSS 2.3% estimated probability of exploitation activity in the next 30 days. Fixed in github.com/containerd/containerd 1.2.14.

On this page
In 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.

Severity

CVSS 3.1

6.1 medium
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:N/A:N
EPSS
2.3% (unchanged from 2.3% a week ago; 2.3% 30 days ago) estimated probability of exploitation activity in the next 30 days; 84th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-522 Insufficiently Protected Credentials
OWASP Top 10
A06:2025 Insecure Design
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2020-15157 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2020-15157?via=ask-ai-copy and https://cve.bz/cve/CVE-2020-15157?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2020-15157 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
linuxfoundation:containerdfrom 1.2.0 before 1.2.14
linuxfoundation:containerd1.3.0
linuxfoundation:containerd1.3.0:beta0
linuxfoundation:containerd1.3.0:beta1
linuxfoundation:containerd1.3.0:beta2
linuxfoundation:containerd1.3.0:rc0
linuxfoundation:containerd1.3.0:rc1
linuxfoundation:containerd1.3.0:rc2
linuxfoundation:containerd1.3.0:rc3
canonical:ubuntu_linux16.04
canonical:ubuntu_linux18.04
canonical:ubuntu_linux20.04
debian:debian_linux10.0

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-742w-89gc-8m9cGogithub.com/containerd/containerd<1.2.141.2.14
GO-2022-0803Gogithub.com/containerd/containerd<1.2.141.2.14

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian10docker.io18.09.1+dfsg1-7.1+deb10u3DSA-4865-1
Debian12, 13, 14containerd1.3.2~ds1-2DEBIAN-CVE-2020-15157
Debian12, 13, 14docker.io19.03.13+dfsg2-1DEBIAN-CVE-2020-15157
Ubuntu16.04:LTScontainerd1.2.6-0ubuntu1~16.04.4UBUNTU-CVE-2020-15157 USN-4589-1
Ubuntu16.04:LTSdocker.io18.09.7-0ubuntu1~16.04.6UBUNTU-CVE-2020-15157 USN-4589-2
Ubuntu18.04:LTSdocker.io19.03.6-0ubuntu1~18.04.2UBUNTU-CVE-2020-15157 USN-4589-2
Ubuntu20.04:LTSdocker.io19.03.8-0ubuntu1.20.04.1UBUNTU-CVE-2020-15157 USN-4589-2
Red Hatopenshift:4.7::el7cri-o, cri-o-debuginfo0:1.20.0-0.rhaos4.7.git8921e00.el7.51RHSA-2020:5634
Red Hatopenshift:4.7::el7cri-tools, cri-tools-debuginfo0:1.18.0-3.el7RHSA-2020:5634
Red Hatopenshift:4.7::el7openshift, openshift-hyperkube0:4.7.0-202102060108.p0.git.97095.7271b90.el7RHSA-2020:5634
Red Hatopenshift:4.7::el8cri-o, cri-o-debuginfo, cri-o-debugsource0:1.20.0-0.rhaos4.7.git8921e00.el8.51RHSA-2020:5634
Red Hatopenshift:4.7::el8cri-tools, cri-tools-debuginfo, cri-tools-debugsource0:1.20.0-1.el8RHSA-2020:5634
Red Hatopenshift:4.7::el8ignition, ignition-validate, ignition-debuginfo and 2 more0:2.9.0-2.rhaos4.7.git1d56dc8.el8RHSA-2020:5634
Red Hatopenshift:4.7::el8openshift, openshift-hyperkube0:4.7.0-202102060108.p0.git.97095.7271b90.el8RHSA-2020:5634
Red Hatopenshift:4.7::el8python-rsa, python3-rsa0:4.7-1.el8RHSA-2020:5634
SUSEEnterprise Storage 6, Enterprise Storage 7, Linux Enterprise High Performance Computing 15 SP1-ESPOS and 12 morelibcontainers-common20210626-150100.3.15.1SUSE-SU-2022:3312-1
SUSELinux Enterprise Micro 5.1, Linux Enterprise Module for Basesystem 15 SP3libcontainers-common20210626-150300.8.3.1SUSE-SU-2022:23018-1
SUSELinux Enterprise Micro 5.1, Linux Enterprise Module for Basesystem 15 SP3libseccomp2.5.3-150300.10.5.1SUSE-SU-2022:23018-1
SUSELinux Enterprise Micro 5.1, Linux Enterprise Module for Containers 15 SP3conmon2.0.30-150300.8.3.1SUSE-SU-2022:23018-1
SUSELinux Enterprise Micro 5.1, Linux Enterprise Module for Containers 15 SP3podman3.4.4-150300.9.3.2SUSE-SU-2022:23018-1
SUSELinux Enterprise Module for Containers 12containerd1.3.9-16.35.1SUSE-SU-2021:0445-1
SUSELinux Enterprise Module for Containers 12docker19.03.15_ce-98.60.2SUSE-SU-2021:0445-1
SUSELinux Enterprise Module for Containers 12docker-runc1.0.0rc10+gitr3981_dc9208a3303f-1.52.1SUSE-SU-2021:0445-1
SUSELinux Enterprise Module for Containers 12golang-github-docker-libnetwork0.7.0.1+gitr2908_55e924b8a842-37.1SUSE-SU-2021:0445-1
openSUSELeap 15.3conmon2.0.30-150300.8.3.1openSUSE-SU-2022:23018-1
openSUSELeap 15.3libcontainers-common20210626-150300.8.3.1openSUSE-SU-2022:23018-1
openSUSELeap 15.3libseccomp2.5.3-150300.10.5.1openSUSE-SU-2022:23018-1
openSUSELeap 15.3podman3.4.4-150300.9.3.2openSUSE-SU-2022:23018-1
openSUSETumbleweedcontainerd1.4.8-2.2openSUSE-SU-2024:10693-1
openSUSETumbleweedlibcontainers-common20210626-7.1openSUSE-SU-2024:11757-1

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

In OpenShift Container Platform (OCP) the ose-cluster-autoscaler container ships vulnerable version of the containerd package, but only containerd api is used by the container. The vulnerable code is not delivered, hence marked as wontfix.

ProductPackageStateAdvisory
Red Hat OpenShift Container Platform 4.7openshift-0:4.7.0-202102060108.p0.git.97095.7271b90.el7Fixed 2021-02-24RHSA-2020:5634
OpenShift Service Mesh 1servicemeshNot affected
Red Hat 3scale API Management Platform 23scale-amp2/3scale-rhel7-operatorNot affected
Red Hat Advanced Cluster Management for Kubernetes 2containerdNot affected
Red Hat OpenShift Container Platform 3.11atomic-openshiftNot affected
Red Hat OpenShift Container Platform 4openshift4/ose-ansible-operatorNot affected
Red Hat OpenShift Container Platform 4openshift4/ose-cliNot affected
Red Hat OpenShift Container Platform 4openshift4/ose-cluster-autoscaler-rhel9Will not fix
Red Hat OpenShift Container Platform 4openshift4/ose-consoleNot affected
Red Hat OpenShift Container Platform 4openshift4/ose-docker-builderNot affected
Red Hat OpenShift Container Platform 4openshift4/ose-docker-registryNot affected
Red Hat OpenShift Container Platform 4openshift4/ose-helm-operatorNot affected
Red Hat OpenShift Container Platform 4openshift4/ose-hyperkube-rhel9Not affected
Red Hat OpenShift Container Platform 4openshift4/ose-operator-lifecycle-managerNot affected
Red Hat OpenShift Container Platform 4openshift4/ose-operator-registryNot affected
Red Hat OpenShift Container Platform 4openshift4/ose-ptp-rhel9-operatorNot affected
Red Hat OpenShift Virtualization 2cluster-network-addons-operatorNot affected
Red Hat OpenShift Virtualization 2kubernetes-nmstate-handlerNot affected
Red Hat OpenShift Virtualization 2vm-import-controllerNot affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2020-15157.

Attack patterns (CAPEC)

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-522 (13).

References

Check your stackJSON