CVE-2020-15157
Summary
| CVE | CVE-2020-15157 |
| State | PUBLIC |
| Assigner | [email protected] |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2020-10-16 17:15:00 UTC |
| Updated | 2021-11-18 16:16:00 UTC |
| Description | 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. |
NVD Known Affected Configurations (CPE 2.3)
References
| Reference | Source | Link | Tags |
|---|
| 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 |
No vendor comments have been submitted for this CVE.
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)