CVE-2020-15157
No exploitation reported by the sources we read.
- Published2020-10-16
- WeaknessCWE-522
Am I affected?
Debian, Ubuntu or Red Hat sometimes backport a fix without changing the upstream version number: such a version reads « to verify », never « affected ».With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.
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.
Timeline
dates in UTC- 2020-10-1617:15CVE publishedNVD
Versions per branch
NVD · OSV| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 16.4 | = 16.04 | no fix published | NVD |
| 18.4 | = 18.04 | no fix published | NVD |
| 20.4 | = 20.04 | no fix published | NVD |
| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 1.2 | ≥ 1.2.0, < 1.2.14 | 1.2.14 | NVD |
| 1.2 | < 1.2.14 | 1.2.14 | OSV |
| 1.3 | = 1.3.0 | no fix published | NVD |
| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 10.0 | = 10.0 | no fix published | NVD |
as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.
Distribution builds and vendor advisories
Packages from OSV.dev and products from the vendors' CSAF advisories.
version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.
Packages
- conmonSUSE:Linux Enterprise Module for Containers 15 SP3all versions · fixed in 2.0.30-150300.8.3.1
- conmonSUSE:Linux Enterprise Micro 5.1all versions · fixed in 2.0.30-150300.8.3.1
- conmonopenSUSE:Leap 15.3all versions · fixed in 2.0.30-150300.8.3.1
- containerdUbuntu:16.04:LTSall versions · fixed in 1.2.6-0ubuntu1~16.04.4
- containerdSUSE:Linux Enterprise Module for Containers 12all versions · fixed in 1.3.9-16.35.1
- containerdopenSUSE:Tumbleweedall versions · fixed in 1.4.8-2.2
- containerdDebian:14all versions · fixed in 1.3.2~ds1-2
- containerdDebian:13all versions · fixed in 1.3.2~ds1-2
45 more package ranges on OSV.dev
Vendor advisories
Red Hat Security Advisory: OpenShift Container Platform 4.7.0 packages security update
Fix
- Vendor fix Red Hat Product Security RHSA-2020:5634 · 6 productsFor OpenShift Container Platform 4.7 see the following documentation, which will be updated shortly for this release, for important instructions on how to upgrade your cluster and fully apply this asynchronous errata update: https://docs.openshift.com/container-platform/4.7/release_notes/ocp-4-7-r…
Detection
- Nuclei template
- none so far ProjectDiscovery
- Exploit-DB
- no entry Exploit-DB
- Proof of concept
- PoC-in-GitHubno public repository identifiedread 2026-11-10
- Metasploit modules
- none listed Metasploit Framework
Sources
- CNACVSS 3.16.1known since 2026-10-23
- NVDCVSS 3.16.1read 2026-10-23
- NVDCVSS 2.02.6read 2026-10-23
- CNAweakness (CWE)CWE-522known since 2026-10-23
- NVDweakness (CWE)CWE-522read 2026-10-23
- FIRST EPSSEPSS score2.3 %2026-11-09
- OSVaffected packages—
- GitHub AdvisoriesadvisoryMODERATE2021-05-24
Identifiers
- EUVD-2022-0879same flawENISA EUVD · LicenseRef-ENISA-legal-notice
- GHSA-742w-89gc-8m9csame flawGitHub Advisory Database · CC-BY-4.0
- GO-2022-0803same flawGo Vulnerability Database · CC-BY-4.0
- DSA-4865-1advisory covering several CVEsDebian · LicenseRef-unstated
- MGASA-2020-0406advisory covering several CVEsMageia · LicenseRef-unstated
- openSUSE-SU-2022:23018-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- openSUSE-SU-2024:10693-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- openSUSE-SU-2024:11757-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- RHSA-2020:5634advisory covering several CVEsRed Hat · CC-BY-4.0
- SUSE-SU-2021:0445-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2022:23018-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2022:3312-1advisory covering several CVEsSUSE · LicenseRef-unstated
- USN-4589-1advisory covering several CVEsUbuntu
- USN-4589-2advisory covering several CVEsUbuntu
Technical details
- CVSS v3 Vector
- CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:N/A:N
- Published
- 2020-10-16
- Last Modified
- 2026-06-17
- NVD status
- Modified
- GitHub Advisory
- GHSA-742w-89gc-8m9c
Frequently asked questions
What is CVE-2020-15157?
Is CVE-2020-15157 actively exploited?
What is the CVSS score for CVE-2020-15157?
Running containerd/containerd? Hear about its next vulnerability
Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».
No credit card required · No monthly cap on website lookups · 250 API requests/month
Go further
- Following what attackers exploit right now? The CISA KEV additions of the month, with their patch deadlines.
- Running this software? Vulnerability monitoring alerts you to new vulnerabilities in your products.
Related vulnerabilities
Same product first, then the same vendor advisory and the same publication week.
Sources for this record
- CVE Program · CVE Program Terms of Use
- ENISA EU Vulnerability Database · ENISA legal notice §1.2 (reproduction authorised, provided the source is acknowledged)
- FIRST EPSS · EPSS terms of use (free use, attribution requested)
- GitHub Advisory Database · CC-BY-4.0 · GHSA-742w-89gc-8m9c
- NVD · Public domain (17 U.S.C. § 105) for NVD-authored data; third-party content under its own terms
- OSV.dev · Per record, as its publisher states it: each row carries the label in sourceLicense when one is served
- Red Hat Product Security (CSAF and VEX) · CC-BY-4.0