Upstream information

CVE-2020-15157 at MITRE

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.

SUSE information

Overall state of this security issue: Resolved

This issue is currently rated as having moderate severity.

CVSS v2 Scores
  National Vulnerability Database
Base Score 2.6
Vector AV:N/AC:H/Au:N/C:P/I:N/A:N
Access Vector Network
Access Complexity High
Authentication None
Confidentiality Impact Partial
Integrity Impact None
Availability Impact None
CVSS v3 Scores
  National Vulnerability Database SUSE
Base Score 6.1 6.1
Vector CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:N/A:N CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:N/A:N
Access Vector Network Network
Access Complexity High High
Privileges Required None None
User Interaction Required Required
Scope Changed Changed
Confidentiality Impact High High
Integrity Impact None None
Availability Impact None None
CVSSv3 Version 3.1 3.1
SUSE Bugzilla entry: 1177598 [RESOLVED / FIXED]

SUSE Security Advisories:

List of released packages

Product(s) Fixed package version(s) References
Container bci/bci-init:15.3.10.2
Container ses/7.1/ceph/haproxy:2.0.14.2.2.10
Container ses/7.1/ceph/keepalived:2.0.19.2.2.10
Container ses/7.1/cephcsi/cephcsi:v3.5.1.0
Container ses/7.1/rook/ceph:1.8.6.0.3.2.5
Container suse/pcp:latest
Container suse/sle-micro-rancher/5.2:latest
Container suse/sle-micro/5.2/toolbox:11.1-6.2.1
Container trento/trento-db:14.1-rev1.0.0-build2.2.43
Image SLES15-SP3-Azure-Basic
Image SLES15-SP3-Azure-Standard
Image SLES15-SP3-BYOS-Azure
Image SLES15-SP3-BYOS-EC2-HVM
Image SLES15-SP3-BYOS-GCE
Image SLES15-SP3-CHOST-BYOS
Image SLES15-SP3-CHOST-BYOS-Aliyun
Image SLES15-SP3-CHOST-BYOS-Azure
Image SLES15-SP3-CHOST-BYOS-EC2
Image SLES15-SP3-CHOST-BYOS-GCE
Image SLES15-SP3-EC2-ECS-HVM
Image SLES15-SP3-EC2-HVM
Image SLES15-SP3-GCE
Image SLES15-SP3-HPC-Azure
Image SLES15-SP3-HPC-BYOS-Azure
Image SLES15-SP3-HPC-BYOS-EC2-HVM
Image SLES15-SP3-HPC-BYOS-GCE
Image SLES15-SP3-Manager-4-2-Proxy-BYOS
Image SLES15-SP3-Manager-4-2-Proxy-BYOS-Azure
Image SLES15-SP3-Manager-4-2-Proxy-BYOS-EC2-HVM
Image SLES15-SP3-Manager-4-2-Proxy-BYOS-GCE
Image SLES15-SP3-Manager-4-2-Server-BYOS
Image SLES15-SP3-Manager-4-2-Server-BYOS-Azure
Image SLES15-SP3-Manager-4-2-Server-BYOS-EC2-HVM
Image SLES15-SP3-Manager-4-2-Server-BYOS-GCE
Image SLES15-SP3-Micro-5-1-BYOS
Image SLES15-SP3-Micro-5-1-BYOS-Azure
Image SLES15-SP3-Micro-5-1-BYOS-EC2-HVM
Image SLES15-SP3-Micro-5-1-BYOS-GCE
Image SLES15-SP3-Micro-5-2-BYOS
Image SLES15-SP3-Micro-5-2-BYOS-Azure
Image SLES15-SP3-Micro-5-2-BYOS-EC2-HVM
Image SLES15-SP3-Micro-5-2-BYOS-GCE
Image SLES15-SP3-SAP
Image SLES15-SP3-SAP-Azure
Image SLES15-SP3-SAP-Azure-LI-BYOS-Production
Image SLES15-SP3-SAP-Azure-VLI-BYOS-Production
Image SLES15-SP3-SAP-BYOS-Azure
Image SLES15-SP3-SAP-BYOS-EC2-HVM
Image SLES15-SP3-SAP-BYOS-GCE
Image SLES15-SP3-SAP-EC2-HVM
Image SLES15-SP3-SAP-GCE
Image SLES15-SP3-SAPCAL-Azure
Image SLES15-SP3-SAPCAL-EC2-HVM
Image SLES15-SP3-SAPCAL-GCE
  • libseccomp2 >= 2.5.3-150300.10.5.1
Image SLES12-SP5-Azure-Basic-On-Demand
Image SLES12-SP5-Azure-Standard-On-Demand
Image SLES12-SP5-EC2-ECS-On-Demand
Image SLES12-SP5-EC2-On-Demand
Image SLES12-SP5-GCE-On-Demand
  • containerd >= 1.3.9-16.35.1
  • docker >= 19.03.15_ce-98.60.2
SUSE Linux Enterprise Desktop 15 SP3
SUSE Linux Enterprise Module for Basesystem 15 SP3
  • libcontainers-common >= 20210626-150300.8.3.1
  • libseccomp-devel >= 2.5.3-150300.10.5.1
  • libseccomp2 >= 2.5.3-150300.10.5.1
Patchnames:
SUSE-SLE-Module-Basesystem-15-SP3-2022-23018
SUSE Linux Enterprise Desktop 15 SP4
SUSE Linux Enterprise Module for Basesystem 15 SP4
  • libcontainers-common >= 20210626-150400.1.3
Patchnames:
SUSE Linux Enterprise Module for Basesystem 15 SP4 GA libcontainers-common-20210626-150400.1.3
SUSE Linux Enterprise High Performance Computing 12
SUSE Linux Enterprise Module for Containers 12
SUSE Linux Enterprise Server 12
SUSE Linux Enterprise Server 12 SP3
SUSE Linux Enterprise Server 12 SP4
SUSE Linux Enterprise Server 12 SP5
SUSE Linux Enterprise Server for SAP Applications 12
SUSE Linux Enterprise Server for SAP Applications 12 SP3
SUSE Linux Enterprise Server for SAP Applications 12 SP4
SUSE Linux Enterprise Server for SAP Applications 12 SP5
  • containerd >= 1.3.9-16.35.1
  • docker >= 19.03.15_ce-98.60.2
  • docker-libnetwork >= 0.7.0.1+gitr2908_55e924b8a842-37.1
  • docker-runc >= 1.0.0rc10+gitr3981_dc9208a3303f-1.52.1
Patchnames:
SUSE-SLE-Module-Containers-12-2021-445
SUSE Linux Enterprise High Performance Computing 15 SP3
SUSE Linux Enterprise Server 15 SP3
SUSE Linux Enterprise Server for SAP Applications 15 SP3
SUSE Linux Enterprise Storage 7.1
SUSE Manager Proxy 4.2
SUSE Manager Retail Branch Server 4.2
SUSE Manager Server 4.2
  • conmon >= 2.0.30-150300.8.3.1
  • containerd >= 1.3.9-5.29.3
  • libcontainers-common >= 20210626-150300.8.3.1
  • libseccomp-devel >= 2.5.3-150300.10.5.1
  • libseccomp2 >= 2.5.3-150300.10.5.1
  • podman >= 3.4.4-150300.9.3.2
  • podman-cni-config >= 3.4.4-150300.9.3.2
Patchnames:
SUSE Linux Enterprise Module for Containers 15 SP3 GA containerd-1.3.9-5.29.3
SUSE-SLE-Module-Basesystem-15-SP3-2022-23018
SUSE-SLE-Module-Containers-15-SP3-2022-23018
SUSE Linux Enterprise High Performance Computing 15 SP4
SUSE Linux Enterprise Server 15 SP4
SUSE Linux Enterprise Server for SAP Applications 15 SP4
SUSE Manager Proxy 4.3
SUSE Manager Retail Branch Server 4.3
SUSE Manager Server 4.3
  • containerd >= 1.4.12-150000.65.1
  • libcontainers-common >= 20210626-150400.1.3
Patchnames:
SUSE Linux Enterprise Module for Basesystem 15 SP4 GA libcontainers-common-20210626-150400.1.3
SUSE Linux Enterprise Module for Containers 15 SP4 GA containerd-1.4.12-150000.65.1
SUSE Linux Enterprise Micro 5.1
  • conmon >= 2.0.30-150300.8.3.1
  • libcontainers-common >= 20210626-150300.8.3.1
  • libseccomp2 >= 2.5.3-150300.10.5.1
  • podman >= 3.4.4-150300.9.3.2
  • podman-cni-config >= 3.4.4-150300.9.3.2
Patchnames:
SUSE-SUSE-MicroOS-5.1-2022-23018
SUSE Linux Enterprise Module for Containers 15 SP3
  • conmon >= 2.0.30-150300.8.3.1
  • containerd >= 1.3.9-5.29.3
  • podman >= 3.4.4-150300.9.3.2
  • podman-cni-config >= 3.4.4-150300.9.3.2
Patchnames:
SUSE Linux Enterprise Module for Containers 15 SP3 GA containerd-1.3.9-5.29.3
SUSE-SLE-Module-Containers-15-SP3-2022-23018
SUSE Linux Enterprise Module for Containers 15 SP4
  • containerd >= 1.4.12-150000.65.1
Patchnames:
SUSE Linux Enterprise Module for Containers 15 SP4 GA containerd-1.4.12-150000.65.1
openSUSE Leap 15.3
  • conmon >= 2.0.30-150300.8.3.1
  • libcontainers-common >= 20210626-150300.8.3.1
  • libseccomp-devel >= 2.5.3-150300.10.5.1
  • libseccomp-tools >= 2.5.3-150300.10.5.1
  • libseccomp2 >= 2.5.3-150300.10.5.1
  • libseccomp2-32bit >= 2.5.3-150300.10.5.1
  • podman >= 3.4.4-150300.9.3.2
  • podman-cni-config >= 3.4.4-150300.9.3.2
Patchnames:
openSUSE-SLE-15.3-2022-23018
openSUSE Tumbleweed
  • containerd >= 1.4.8-2.2
  • containerd-ctr >= 1.4.8-2.2
  • libcontainers-common >= 20210626-7.1
Patchnames:
openSUSE Tumbleweed GA containerd-1.4.8-2.2
openSUSE Tumbleweed GA libcontainers-common-20210626-7.1


First public cloud image revisions this CVE is fixed in:


Status of this issue by product and package

Please note that this evaluation state might be work in progress, incomplete or outdated. Also information for service packs in the LTSS phase is only included for issues meeting the LTSS criteria. If in doubt, feel free to contact us for clarification.

Product(s) Source package State
SLES15-EC2-CHOST-HVM-BYOS containerd In progress
SLES15-SP1-CHOST-BYOS-Ali containerd In progress
SLES15-SP1-CHOST-BYOS-Azure containerd In progress
SLES15-SP1-CHOST-BYOS-EC2 containerd In progress
SLES15-SP1-CHOST-BYOS-GCE containerd In progress
SLES15-SP1-CHOST-BYOS-OpenStack containerd In progress
SLES15-SP2-CHOST-BYOS-Aliyun containerd In progress
SLES15-SP2-CHOST-BYOS-Azure containerd In progress
SLES15-SP2-CHOST-BYOS-EC2 containerd In progress
SLES15-SP2-CHOST-BYOS-GCE containerd In progress
SLES15-SP2-CHOST-BYOS-OpenStack containerd In progress
SLES15-SP3-CHOST-BYOS containerd In progress
SLES15-SP3-CHOST-BYOS-Aliyun containerd In progress
SLES15-SP3-CHOST-BYOS-Azure containerd In progress
SLES15-SP3-CHOST-BYOS-EC2 containerd In progress
SLES15-SP3-CHOST-BYOS-GCE containerd In progress
SLES15-SP4-CHOST-BYOS containerd In progress
SLES15-SP4-CHOST-BYOS-Aliyun containerd In progress
SLES15-SP4-CHOST-BYOS-Azure containerd In progress
SLES15-SP4-CHOST-BYOS-EC2 containerd In progress
SLES15-SP4-CHOST-BYOS-GCE containerd In progress
SUSE CaaS Platform 4.0 containerd Released
SUSE Enterprise Storage 6 containerd Released
SUSE Linux Enterprise Desktop 15 SP3 libcontainers-common Released
SUSE Linux Enterprise High Performance Computing 12 containerd Released
SUSE Linux Enterprise High Performance Computing 15 LTSS containerd Released
SUSE Linux Enterprise High Performance Computing 15 SP1 containerd Unsupported
SUSE Linux Enterprise High Performance Computing 15 SP1 LTSS containerd Released
SUSE Linux Enterprise High Performance Computing 15 SP2 containerd In progress
SUSE Linux Enterprise High Performance Computing 15 SP3 libcontainers-common Released
SUSE Linux Enterprise Micro 5.1 libcontainers-common Released
SUSE Linux Enterprise Module for Basesystem 15 SP3 libcontainers-common Released
SUSE Linux Enterprise Module for Containers 12 containerd Released
SUSE Linux Enterprise Module for Containers 15 SP1 containerd Unsupported
SUSE Linux Enterprise Module for Containers 15 SP2 containerd In progress
SUSE Linux Enterprise Server 12 containerd Released
SUSE Linux Enterprise Server 12 SP3 containerd Released
SUSE Linux Enterprise Server 12 SP4 containerd Released
SUSE Linux Enterprise Server 12 SP5 containerd Released
SUSE Linux Enterprise Server 15 ESPOS containerd Released
SUSE Linux Enterprise Server 15 LTSS containerd Released
SUSE Linux Enterprise Server 15 SP1 containerd Unsupported
SUSE Linux Enterprise Server 15 SP1 LTSS containerd Released
SUSE Linux Enterprise Server 15 SP2 containerd In progress
SUSE Linux Enterprise Server 15 SP3 libcontainers-common Released
SUSE Linux Enterprise Server Business Critical Linux 15 SP1 containerd Released
SUSE Linux Enterprise Server for SAP Applications 12 containerd Released
SUSE Linux Enterprise Server for SAP Applications 12 SP3 containerd Released
SUSE Linux Enterprise Server for SAP Applications 12 SP4 containerd Released
SUSE Linux Enterprise Server for SAP Applications 12 SP5 containerd Released
SUSE Linux Enterprise Server for SAP Applications 15 containerd Released
SUSE Linux Enterprise Server for SAP Applications 15 SP1 containerd Unsupported
SUSE Linux Enterprise Server for SAP Applications 15 SP2 containerd In progress
SUSE Linux Enterprise Server for SAP Applications 15 SP3 libcontainers-common Released
SUSE Linux Enterprise Storage 6 containerd Unsupported
SUSE Linux Enterprise Storage 7 containerd In progress
SUSE Linux Enterprise Storage 7.1 libcontainers-common Released
SUSE Manager Proxy 4.0 containerd Unsupported
SUSE Manager Proxy 4.1 containerd In progress
SUSE Manager Proxy 4.2 libcontainers-common Released
SUSE Manager Retail Branch Server 4.0 containerd Unsupported
SUSE Manager Retail Branch Server 4.1 containerd In progress
SUSE Manager Retail Branch Server 4.2 libcontainers-common Released
SUSE Manager Server 4.0 containerd Unsupported
SUSE Manager Server 4.1 containerd In progress
SUSE Manager Server 4.2 libcontainers-common Released
SUSE OpenStack Cloud 6 LTSS containerd Released
suse/sles/15.4/cdi-importer:1.43.0 libcontainers-commonAlready fixed