CVE-2020-15157
Fixed in a distro release EPSS 2%CVSS 6.1
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.
Products: containerd
Fixed upstream
| Ecosystem | Package | Fixed in |
|---|---|---|
| Go | github.com/containerd/containerd | 1.2.14 |
Distro releases
| Release | Package | Fixed in |
|---|---|---|
| Debian 10 | docker.io | 18.09.1+dfsg1-7.1+deb10u3 |
| Debian 12 | containerd | 1.3.2~ds1-2 |
| Debian 12 | docker.io | 19.03.13+dfsg2-1 |
| Debian 13 | containerd | 1.3.2~ds1-2 |
| Debian 13 | docker.io | 19.03.13+dfsg2-1 |
| Debian 14 | containerd | 1.3.2~ds1-2 |
| Debian 14 | docker.io | 19.03.13+dfsg2-1 |
| Red Hat openshift 4.7 | cri-o | 0:1.20.0-0.rhaos4.7.git8921e00.el8.51 |
| Red Hat openshift 4.7 | cri-o | 0:1.20.0-0.rhaos4.7.git8921e00.el7.51 |
| Red Hat openshift 4.7 | cri-o-debuginfo | 0:1.20.0-0.rhaos4.7.git8921e00.el8.51 |
| Red Hat openshift 4.7 | cri-o-debuginfo | 0:1.20.0-0.rhaos4.7.git8921e00.el7.51 |
| Red Hat openshift 4.7 | cri-o-debugsource | 0:1.20.0-0.rhaos4.7.git8921e00.el8.51 |
| Red Hat openshift 4.7 | cri-tools | 0:1.20.0-1.el8 |
| Red Hat openshift 4.7 | cri-tools | 0:1.18.0-3.el7 |
| Red Hat openshift 4.7 | cri-tools-debuginfo | 0:1.20.0-1.el8 |
| Red Hat openshift 4.7 | cri-tools-debuginfo | 0:1.18.0-3.el7 |
| Red Hat openshift 4.7 | cri-tools-debugsource | 0:1.20.0-1.el8 |
| Red Hat openshift 4.7 | ignition | 0:2.9.0-2.rhaos4.7.git1d56dc8.el8 |
| Red Hat openshift 4.7 | ignition-debuginfo | 0:2.9.0-2.rhaos4.7.git1d56dc8.el8 |
| Red Hat openshift 4.7 | ignition-debugsource | 0:2.9.0-2.rhaos4.7.git1d56dc8.el8 |
| Red Hat openshift 4.7 | ignition-validate | 0:2.9.0-2.rhaos4.7.git1d56dc8.el8 |
| Red Hat openshift 4.7 | ignition-validate-debuginfo | 0:2.9.0-2.rhaos4.7.git1d56dc8.el8 |
| Red Hat openshift 4.7 | openshift | 0:4.7.0-202102060108.p0.git.97095.7271b90.el8 |
| Red Hat openshift 4.7 | openshift | 0:4.7.0-202102060108.p0.git.97095.7271b90.el7 |
| Red Hat openshift 4.7 | openshift-hyperkube | 0:4.7.0-202102060108.p0.git.97095.7271b90.el8 |
| Red Hat openshift 4.7 | openshift-hyperkube | 0:4.7.0-202102060108.p0.git.97095.7271b90.el7 |
| Red Hat openshift 4.7 | python-rsa | 0:4.7-1.el8 |
| Red Hat openshift 4.7 | python3-rsa | 0:4.7-1.el8 |
| SUSE Enterprise Storage 6 | libcontainers-common | 20210626-150100.3.15.1 |
| SUSE Enterprise Storage 7 | libcontainers-common | 20210626-150100.3.15.1 |
| SUSE Linux Enterprise High Performance Computing 15 SP1-ESPOS | libcontainers-common | 20210626-150100.3.15.1 |
| SUSE Linux Enterprise High Performance Computing 15 SP1-LTSS | libcontainers-common | 20210626-150100.3.15.1 |
| SUSE Linux Enterprise High Performance Computing 15 SP2-ESPOS | libcontainers-common | 20210626-150100.3.15.1 |
| SUSE Linux Enterprise High Performance Computing 15 SP2-LTSS | libcontainers-common | 20210626-150100.3.15.1 |
| SUSE Linux Enterprise Micro 5.1 | conmon | 2.0.30-150300.8.3.1 |
| SUSE Linux Enterprise Micro 5.1 | libcontainers-common | 20210626-150300.8.3.1 |
| SUSE Linux Enterprise Micro 5.1 | libseccomp | 2.5.3-150300.10.5.1 |
| SUSE Linux Enterprise Micro 5.1 | podman | 3.4.4-150300.9.3.2 |
| SUSE Linux Enterprise Module for Basesystem 15 SP3 | libcontainers-common | 20210626-150300.8.3.1 |
| SUSE Linux Enterprise Module for Basesystem 15 SP3 | libseccomp | 2.5.3-150300.10.5.1 |
| SUSE Linux Enterprise Module for Containers 12 | containerd | 1.3.9-16.35.1 |
| SUSE Linux Enterprise Module for Containers 12 | docker | 19.03.15_ce-98.60.2 |
| SUSE Linux Enterprise Module for Containers 12 | docker-runc | 1.0.0rc10+gitr3981_dc9208a3303f-1.52.1 |
| SUSE Linux Enterprise Module for Containers 12 | golang-github-docker-libnetwork | 0.7.0.1+gitr2908_55e924b8a842-37.1 |
| SUSE Linux Enterprise Module for Containers 15 SP3 | conmon | 2.0.30-150300.8.3.1 |
| SUSE Linux Enterprise Module for Containers 15 SP3 | podman | 3.4.4-150300.9.3.2 |
| SUSE Linux Enterprise Server 15 SP1-BCL | libcontainers-common | 20210626-150100.3.15.1 |
| SUSE Linux Enterprise Server 15 SP1-LTSS | libcontainers-common | 20210626-150100.3.15.1 |
| SUSE Linux Enterprise Server 15 SP2-BCL | libcontainers-common | 20210626-150100.3.15.1 |
| SUSE Linux Enterprise Server 15 SP2-LTSS | libcontainers-common | 20210626-150100.3.15.1 |
| SUSE Linux Enterprise Server for SAP Applications 15 SP1 | libcontainers-common | 20210626-150100.3.15.1 |
| SUSE Linux Enterprise Server for SAP Applications 15 SP2 | libcontainers-common | 20210626-150100.3.15.1 |
| SUSE Manager Proxy 4.1 | libcontainers-common | 20210626-150100.3.15.1 |
| SUSE Manager Retail Branch Server 4.1 | libcontainers-common | 20210626-150100.3.15.1 |
| SUSE Manager Server 4.1 | libcontainers-common | 20210626-150100.3.15.1 |
| Ubuntu 16.04 LTS | containerd | 1.2.6-0ubuntu1~16.04.4 |
| Ubuntu 16.04 LTS | docker.io | 18.09.7-0ubuntu1~16.04.6 |
| Ubuntu 18.04 LTS | docker.io | 19.03.6-0ubuntu1~18.04.2 |
| Ubuntu 20.04 LTS | docker.io | 19.03.8-0ubuntu1.20.04.1 |
| openSUSE Leap 15.3 | conmon | 2.0.30-150300.8.3.1 |
| openSUSE Leap 15.3 | libcontainers-common | 20210626-150300.8.3.1 |
| openSUSE Leap 15.3 | libseccomp | 2.5.3-150300.10.5.1 |
| openSUSE Leap 15.3 | podman | 3.4.4-150300.9.3.2 |
| openSUSE Tumbleweed | containerd | 1.4.8-2.2 |
| openSUSE Tumbleweed | libcontainers-common | 20210626-7.1 |