CVE-2020-15257
Fixed in a distro release EPSS 3%CVSS 5.2
containerd is an industry-standard container runtime and is available as a daemon for Linux and Windows. In containerd before versions 1.3.9 and 1.4.3, the containerd-shim API is improperly exposed to host network containers. 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. 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. If you are not providing the ability for untrusted users to start containers in the same network namespace as the shim (typically the "host" network namespace, for example with docker run --net=host or hostNetwork: true in a Kubernetes pod) and run with an effective UID of 0, you are not vulnerable to this issue. If you are running containers with a vulnerable configuration, you can deny access to all abstract sockets with AppArmor by adding a line similar to deny unix addr=@**, to your policy. It is best practice to run containers with a reduced set of privileges, with a non-zero UID, and with isolated namespaces. The containerd maintainers strongly advise against sharing namespaces with the host. Reducing the set of isolation mechanisms used for a container necessarily increases that container's privilege, regardless of what container runtime is used for running that container.
Products: containerd
Fixed upstream
| Ecosystem | Package | Fixed in |
|---|---|---|
| Go | github.com/containerd/containerd | 1.3.9 |
| Go | github.com/containerd/containerd | 1.4.3 |
Distro releases
| Release | Package | Fixed in |
|---|---|---|
| Arch Linux | containerd | 1.4.3-1 |
| Chainguard | ctop | 0.7.7-r13 |
| Debian 10 | docker.io | 18.09.1+dfsg1-7.1+deb10u3 |
| Debian 12 | containerd | 1.4.3~ds1-1 |
| Debian 12 | docker.io | 20.10.0~rc1+dfsg2-1 |
| Debian 13 | containerd | 1.4.3~ds1-1 |
| Debian 13 | docker.io | 20.10.0~rc1+dfsg2-1 |
| Debian 14 | containerd | 1.4.3~ds1-1 |
| Debian 14 | docker.io | 20.10.0~rc1+dfsg2-1 |
| SUSE Enterprise Storage 6 | containerd | 1.3.9-5.29.3 |
| SUSE Enterprise Storage 6 | docker | 19.03.15_ce-6.43.3 |
| SUSE Enterprise Storage 6 | docker-runc | 1.0.0rc10+gitr3981_dc9208a3303f-6.45.3 |
| SUSE Enterprise Storage 6 | golang-github-docker-libnetwork | 0.7.0.1+gitr2908_55e924b8a842-4.28.3 |
| SUSE Enterprise Storage 7.1 | docker-stable | 24.0.9_ce-150000.1.25.1 |
| SUSE Linux Enterprise High Performance Computing 15 SP1-ESPOS | containerd | 1.3.9-5.29.3 |
| SUSE Linux Enterprise High Performance Computing 15 SP1-ESPOS | docker | 19.03.15_ce-6.43.3 |
| SUSE Linux Enterprise High Performance Computing 15 SP1-ESPOS | docker-runc | 1.0.0rc10+gitr3981_dc9208a3303f-6.45.3 |
| SUSE Linux Enterprise High Performance Computing 15 SP1-ESPOS | golang-github-docker-libnetwork | 0.7.0.1+gitr2908_55e924b8a842-4.28.3 |
| SUSE Linux Enterprise High Performance Computing 15 SP1-LTSS | containerd | 1.3.9-5.29.3 |
| SUSE Linux Enterprise High Performance Computing 15 SP1-LTSS | docker | 19.03.15_ce-6.43.3 |
| SUSE Linux Enterprise High Performance Computing 15 SP1-LTSS | docker-runc | 1.0.0rc10+gitr3981_dc9208a3303f-6.45.3 |
| SUSE Linux Enterprise High Performance Computing 15 SP1-LTSS | golang-github-docker-libnetwork | 0.7.0.1+gitr2908_55e924b8a842-4.28.3 |
| SUSE Linux Enterprise High Performance Computing 15 SP3-LTSS | docker-stable | 24.0.9_ce-150000.1.25.1 |
| SUSE Linux Enterprise High Performance Computing 15 SP4-ESPOS | docker-stable | 24.0.9_ce-150000.1.25.1 |
| SUSE Linux Enterprise High Performance Computing 15 SP4-LTSS | docker-stable | 24.0.9_ce-150000.1.25.1 |
| SUSE Linux Enterprise High Performance Computing 15 SP5-ESPOS | docker-stable | 24.0.9_ce-150000.1.25.1 |
| SUSE Linux Enterprise High Performance Computing 15 SP5-LTSS | docker-stable | 24.0.9_ce-150000.1.25.1 |
| SUSE Linux Enterprise Module for Containers 12 | containerd | 1.3.9-16.32.1 |
| SUSE Linux Enterprise Module for Containers 12 | docker | 19.03.14_ce-98.57.1 |
| SUSE Linux Enterprise Module for Containers 12 | docker-runc | 1.0.0rc10+gitr3981_dc9208a3303f-1.49.1 |
| SUSE Linux Enterprise Module for Containers 12 | golang-github-docker-libnetwork | 0.7.0.1+gitr2908_55e924b8a842-34.1 |
| SUSE Linux Enterprise Module for Containers 15 SP2 | containerd | 1.3.9-5.29.3 |
| SUSE Linux Enterprise Module for Containers 15 SP2 | docker | 19.03.15_ce-6.43.3 |
| SUSE Linux Enterprise Module for Containers 15 SP2 | docker-runc | 1.0.0rc10+gitr3981_dc9208a3303f-6.45.3 |
| SUSE Linux Enterprise Module for Containers 15 SP2 | golang-github-docker-libnetwork | 0.7.0.1+gitr2908_55e924b8a842-4.28.3 |
| SUSE Linux Enterprise Module for Containers 15 SP6 | docker-stable | 24.0.9_ce-150000.1.25.1 |
| SUSE Linux Enterprise Module for Containers 15 SP7 | docker-stable | 24.0.9_ce-150000.1.25.1 |
| SUSE Linux Enterprise Server 12 SP5-LTSS | docker-stable | 24.0.9_ce-1.20.1 |
| SUSE Linux Enterprise Server 15 SP1-BCL | containerd | 1.3.9-5.29.3 |
| SUSE Linux Enterprise Server 15 SP1-BCL | docker | 19.03.15_ce-6.43.3 |
| SUSE Linux Enterprise Server 15 SP1-BCL | docker-runc | 1.0.0rc10+gitr3981_dc9208a3303f-6.45.3 |
| SUSE Linux Enterprise Server 15 SP1-BCL | golang-github-docker-libnetwork | 0.7.0.1+gitr2908_55e924b8a842-4.28.3 |
| SUSE Linux Enterprise Server 15 SP1-LTSS | containerd | 1.3.9-5.29.3 |
| SUSE Linux Enterprise Server 15 SP1-LTSS | docker | 19.03.15_ce-6.43.3 |
| SUSE Linux Enterprise Server 15 SP1-LTSS | docker-runc | 1.0.0rc10+gitr3981_dc9208a3303f-6.45.3 |
| SUSE Linux Enterprise Server 15 SP1-LTSS | golang-github-docker-libnetwork | 0.7.0.1+gitr2908_55e924b8a842-4.28.3 |
| SUSE Linux Enterprise Server 15 SP3-LTSS | docker-stable | 24.0.9_ce-150000.1.25.1 |
| SUSE Linux Enterprise Server 15 SP4-LTSS | docker-stable | 24.0.9_ce-150000.1.25.1 |
| SUSE Linux Enterprise Server 15 SP5-LTSS | docker-stable | 24.0.9_ce-150000.1.25.1 |
| SUSE Linux Enterprise Server LTSS Extended Security 12 SP5 | docker-stable | 24.0.9_ce-1.20.1 |
| SUSE Linux Enterprise Server for SAP Applications 15 SP1 | containerd | 1.3.9-5.29.3 |
| SUSE Linux Enterprise Server for SAP Applications 15 SP1 | docker | 19.03.15_ce-6.43.3 |
| SUSE Linux Enterprise Server for SAP Applications 15 SP1 | docker-runc | 1.0.0rc10+gitr3981_dc9208a3303f-6.45.3 |
| SUSE Linux Enterprise Server for SAP Applications 15 SP1 | golang-github-docker-libnetwork | 0.7.0.1+gitr2908_55e924b8a842-4.28.3 |
| SUSE Linux Enterprise Server for SAP Applications 15 SP3 | docker-stable | 24.0.9_ce-150000.1.25.1 |
| SUSE Linux Enterprise Server for SAP Applications 15 SP4 | docker-stable | 24.0.9_ce-150000.1.25.1 |
| SUSE Linux Enterprise Server for SAP Applications 15 SP5 | docker-stable | 24.0.9_ce-150000.1.25.1 |
| SUSE Manager Proxy 4.0 | containerd | 1.3.9-5.29.3 |
| SUSE Manager Proxy 4.0 | docker | 19.03.15_ce-6.43.3 |
| SUSE Manager Proxy 4.0 | docker-runc | 1.0.0rc10+gitr3981_dc9208a3303f-6.45.3 |
| SUSE Manager Proxy 4.0 | golang-github-docker-libnetwork | 0.7.0.1+gitr2908_55e924b8a842-4.28.3 |
| SUSE Manager Retail Branch Server 4.0 | containerd | 1.3.9-5.29.3 |
| SUSE Manager Retail Branch Server 4.0 | docker | 19.03.15_ce-6.43.3 |
| SUSE Manager Retail Branch Server 4.0 | docker-runc | 1.0.0rc10+gitr3981_dc9208a3303f-6.45.3 |
| SUSE Manager Retail Branch Server 4.0 | golang-github-docker-libnetwork | 0.7.0.1+gitr2908_55e924b8a842-4.28.3 |
| SUSE Manager Server 4.0 | containerd | 1.3.9-5.29.3 |
| SUSE Manager Server 4.0 | docker | 19.03.15_ce-6.43.3 |
| SUSE Manager Server 4.0 | docker-runc | 1.0.0rc10+gitr3981_dc9208a3303f-6.45.3 |
| SUSE Manager Server 4.0 | golang-github-docker-libnetwork | 0.7.0.1+gitr2908_55e924b8a842-4.28.3 |
| Ubuntu 16.04 LTS | containerd | 1.2.6-0ubuntu1~16.04.5 |
| Ubuntu 16.04 LTS | containerd | 1.2.6-0ubuntu1~16.04.6 |
| Ubuntu 18.04 LTS | containerd | 1.3.3-0ubuntu1~18.04.3 |
| Ubuntu 18.04 LTS | containerd | 1.3.3-0ubuntu1~18.04.4 |
| Ubuntu 20.04 LTS | containerd | 1.3.3-0ubuntu2.1 |
| Ubuntu 20.04 LTS | containerd | 1.3.3-0ubuntu2.2 |
| Wolfi | ctop | 0.7.7-r13 |
| openSUSE Leap 15.2 | containerd | 1.3.9-lp152.2.3.1 |
| openSUSE Leap 15.2 | docker | 19.03.15_ce-lp152.2.3.1 |
| openSUSE Leap 15.2 | docker-runc | 1.0.0rc10+gitr3981_dc9208a3303f-lp152.2.3.1 |
| openSUSE Leap 15.2 | fish | 2.7.1-lp152.5.3.1 |
| openSUSE Leap 15.2 | golang-github-docker-libnetwork | 0.7.0.1+gitr2908_55e924b8a842-lp152.2.3.1 |
| openSUSE Leap 15.6 | docker-stable | 24.0.9_ce-150000.1.25.1 |
| openSUSE Tumbleweed | containerd | 1.4.8-2.2 |
| openSUSE Tumbleweed | docker | 20.10.6_ce-2.1 |
| openSUSE Tumbleweed | docker-stable | 24.0.9_ce-15.1 |