Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2020-15157

MEDIUM 6.1EPSS 84%

containerd can be coerced into leaking credentials during image pull

Also known as GHSA-742w-89gc-8m9c, GO-2022-0803

Mitigation

  • Upgrade github.com/containerd/containerd to 1.2.14 or later.

Who should check

  • Projects that depend on Go package github.com/containerd/containerd (< 1.2.14)
  • Anyone running containerd < 1.2.14

Vulnerability facts

Affected
github.com/containerd/containerd < 1.2.14
Fixed in
1.2.14
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Remote, no login needed
CVSS
6.1 (v3.1, CNA)CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:N/A:NOpen in CVSS calculator
Show all 8 CVSS metrics
  • Attack vector: Network
  • Attack complexity: High
  • Privileges required: None
  • User interaction: Required
  • Scope: Changed (impact reaches other components)
  • Confidentiality impact: High
  • Integrity impact: None
  • Availability impact: None
EPSS
2.30% chance of exploitation in 30 days (percentile 84, 2026-11-26)
CWE
CWE-522
Published
Modified

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.

Affected and fixed versions

Package / productAffectedFixedSource
Go github.com/containerd/containerd< 1.2.141.2.14osv
containerd< 1.2.14—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2020-15157. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2020-15157.md
Affected: github.com/containerd/containerd < 1.2.14
Fixed in: 1.2.14

Steps:
1. Search this machine and project for github.com/containerd/containerd (Go), containerd: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2020-15157 being exploited?

There is no confirmed exploitation: CVE-2020-15157 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 2.30% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2020-15157?

Medium: CVSS 6.1 (v3.1, scored by CNA). Remote, no login needed. A user has to take an action, such as opening a link, for the attack to work. The attack needs conditions outside the attacker's control, which makes it harder.

Which versions are affected by CVE-2020-15157?

github.com/containerd/containerd < 1.2.14.

Is there a fix for CVE-2020-15157?

Yes. Fixed in 1.2.14. Upgrade github.com/containerd/containerd to 1.2.14 or later.

How do I check if I'm affected by CVE-2020-15157?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors