Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 757597

Summary: app-emulation/containerd: containerd-shim API exposed to host network containers (CVE-2020-15257)
Product: Gentoo Security Reporter: Thomas Deutschmann (RETIRED) <whissi>
Component: VulnerabilitiesAssignee: Gentoo Security <security>
Status: RESOLVED DUPLICATE    
Severity: major CC: admwiggin, gyakovlev, williamh
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: https://github.com/containerd/containerd/security/advisories/GHSA-36xw-fx78-c5r4
Whiteboard: B1 [ebuild]
Package list:
Runtime testing required: ---

Description Thomas Deutschmann (RETIRED) gentoo-dev 2020-11-29 13:45:02 UTC
Incoming details.
Comment 1 Thomas Deutschmann (RETIRED) gentoo-dev 2020-12-01 01:36:07 UTC
Impact
======
Access controls for the shim’s API socket verified that the connecting process had an effective UID of 0, but did not otherwise restrict access to the abstract Unix domain socket. This would allow malicious containers running in the same network namespace as the shim, with an effective UID of 0 but otherwise reduced privileges, to cause new processes to be run with elevated privileges.


Patches
=======
This vulnerability has been fixed in containerd 1.3.9 and 1.4.3. Users should update to these versions as soon as they are released. It should be noted that containers started with an old version of containerd-shim should be stopped and restarted, as running containers will continue to be vulnerable even after an upgrade.
Comment 2 Mikle Kolyada (RETIRED) archtester Gentoo Infrastructure gentoo-dev Security 2020-12-02 20:10:40 UTC

*** This bug has been marked as a duplicate of bug 758137 ***