Bug 1888248 (CVE-2020-15157)

Summary: CVE-2020-15157 containerd: credentials leak during image pull
Product: [Other] Security Response Reporter: msiddiqu
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED ERRATA QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: adam.kaplan, agarcial, amasferr, aos-bugs, bmontgom, chazlett, cnv-qe-bugs, ecordell, eparis, fdeutsch, gghezzo, go-sig, gparvin, jburrell, jhadvig, jlanford, jokerman, jramanat, jweiser, kconner, maszulik, mfojtik, nstielau, obulatov, o.lemasle, phoracek, rcernich, security-response-team, sponnaga, stcannon, sttts, thee, wzheng, xxia
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: containerd 1.2.14, containerd 1.3.0 Doc Type: If docs needed, set a value
Doc Text:
A flaw was found in containerd. Credentials may be leaked during an image pull.
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-02-24 19:01:59 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1890518, 1890519, 1890520, 1890620    
Bug Blocks: 1888277    

Description msiddiqu 2020-10-14 13:29:55 UTC
containerd v1.2.x can be coerced into leaking credentials during image
pull

Comment 4 Przemyslaw Roguski 2020-10-22 08:25:51 UTC
Upstream commit with fix:
https://github.com/containerd/containerd/commit/1ead8d9deb3b175bf40413b8c47b3d19c2262726

Comment 5 Przemyslaw Roguski 2020-10-22 12:18:56 UTC
Statement:

In OpenShift Container Platform (OCP) the ose-cluster-autoscaler container ships vulnerable version of the containerd package, but only containerd api is used by the container. The vulnerable code is not delivered, hence marked as wontfix.

Comment 7 msiddiqu 2020-10-22 15:39:05 UTC
Created containerd tracking bugs for this issue:

Affects: epel-7 [bug 1890620]

Comment 8 msiddiqu 2020-10-22 16:06:38 UTC
Acknowledgments:

Name: The containerd project
Upstream: Brad Geesaman, Josh Larsen, Ian Coldwater, Duffie Cooley, Rory McCune

Comment 9 errata-xmlrpc 2021-02-24 14:41:55 UTC
This issue has been addressed in the following products:

  Red Hat OpenShift Container Platform 4.7

Via RHSA-2020:5634 https://access.redhat.com/errata/RHSA-2020:5634

Comment 10 Product Security DevOps Team 2021-02-24 19:01:59 UTC
This bug is now closed. Further updates for individual products will be reflected on the CVE page(s):

https://access.redhat.com/security/cve/cve-2020-15157