CVE-2020-15257
published medium CVSS 3.1 · 5.2containerd-shim API Exposed to Host Network Containers
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| containerd | — | containerd< 1.3.9 · >= 1.4.0, < 1.4.3 | Affected | Not stated | GitHub_M |
| Amazon Linux | AL2 | Release evaluationALAS2DOCKER-2021-012 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2ECS-2023-030 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2NITRO-ENCLAVES-2021-012 | Fixed | Not stated | Amazon Linux assessment |
| Alpine Linux | edge | containerd | Fixed | 1.4.3-r0 | Package fix record |
| Oracle Linux | 7 | containerdaarch64 | Advisory build | 0:1.3.9-2.el7 | ELSA-2020-5964 |
| SUSE / openSUSE | SLE-12 | containerdppc64le | Advisory build | 1.3.9-16.32.1 | SUSE-SU-2020:3938-1 |
| Ubuntu | bionic | containerd | Advisory build | 1.3.3-0ubuntu1~18.04.4 | USN-4653-2 |
Show 96 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Debian | buster | docker.io | Advisory build | 18.09.1+dfsg1-7.1+deb10u3 | DSA-4865-1 |
| Alpine Linux | v3.11 | containerd | Fixed | 1.3.9-r0 | Package fix record |
| Alpine Linux | v3.12 | containerd | Fixed | 1.4.3-r0 | Package fix record |
| Alpine Linux | v3.13 | containerd | Fixed | 1.4.3-r0 | Package fix record |
| Alpine Linux | v3.14 | containerd | Fixed | 1.4.3-r0 | Package fix record |
| Alpine Linux | v3.15 | containerd | Fixed | 1.4.3-r0 | Package fix record |
| Alpine Linux | v3.16 | containerd | Fixed | 1.4.3-r0 | Package fix record |
| Alpine Linux | v3.17 | containerd | Fixed | 1.4.3-r0 | Package fix record |
| Alpine Linux | v3.18 | containerd | Fixed | 1.4.3-r0 | Package fix record |
| Alpine Linux | v3.19 | containerd | Fixed | 1.4.3-r0 | Package fix record |
| Alpine Linux | v3.20 | containerd | Fixed | 1.4.3-r0 | Package fix record |
| Alpine Linux | v3.21 | containerd | Fixed | 1.4.3-r0 | Package fix record |
| Alpine Linux | v3.22 | containerd | Fixed | 1.4.3-r0 | Package fix record |
| Alpine Linux | v3.23 | containerd | Fixed | 1.4.3-r0 | Package fix record |
| Alpine Linux | v3.24 | containerd | Fixed | 1.4.3-r0 | Package fix record |
| Oracle Linux | 7 | containerdx86_64 | Advisory build | 0:1.3.9-2.el7 | ELSA-2020-5964 |
| SUSE / openSUSE | SLE-12 | containerds390x | Advisory build | 1.3.9-16.32.1 | SUSE-SU-2020:3938-1 |
| SUSE / openSUSE | SLE-12 | containerdx86_64 | Advisory build | 1.3.9-16.32.1 | SUSE-SU-2020:3938-1 |
| SUSE / openSUSE | SLE-12-SP3 | containerdppc64le | Advisory build | 1.3.9-16.32.1 | SUSE-SU-2020:3938-1 |
| SUSE / openSUSE | SLE-12-SP3 | containerds390x | Advisory build | 1.3.9-16.32.1 | SUSE-SU-2020:3938-1 |
| SUSE / openSUSE | SLE-12-SP3 | containerdx86_64 | Advisory build | 1.3.9-16.32.1 | SUSE-SU-2020:3938-1 |
| SUSE / openSUSE | SLE-12-SP4 | containerdppc64le | Advisory build | 1.3.9-16.32.1 | SUSE-SU-2020:3938-1 |
| SUSE / openSUSE | SLE-12-SP4 | containerds390x | Advisory build | 1.3.9-16.32.1 | SUSE-SU-2020:3938-1 |
| SUSE / openSUSE | SLE-12-SP4 | containerdx86_64 | Advisory build | 1.3.9-16.32.1 | SUSE-SU-2020:3938-1 |
| SUSE / openSUSE | SLE-12-SP5 | containerdppc64le | Advisory build | 1.3.9-16.32.1 | SUSE-SU-2020:3938-1 |
| SUSE / openSUSE | SLE-12-SP5 | containerds390x | Advisory build | 1.3.9-16.32.1 | SUSE-SU-2020:3938-1 |
| SUSE / openSUSE | SLE-12-SP5 | containerdx86_64 | Advisory build | 1.3.9-16.32.1 | SUSE-SU-2020:3938-1 |
| SUSE / openSUSE | SLE-15-SP1 | containerdaarch64 | Advisory build | 1.3.9-5.29.3 | SUSE-SU-2021:0435-1 |
| SUSE / openSUSE | SLE-15-SP1 | containerdppc64le | Advisory build | 1.3.9-5.29.3 | SUSE-SU-2021:0435-1 |
| SUSE / openSUSE | SLE-15-SP1 | containerds390x | Advisory build | 1.3.9-5.29.3 | SUSE-SU-2021:0435-1 |
| SUSE / openSUSE | SLE-15-SP1 | containerdx86_64 | Advisory build | 1.3.9-5.29.3 | SUSE-SU-2021:0435-1 |
| SUSE / openSUSE | SLE-15-SP2 | containerdaarch64 | Advisory build | 1.3.9-5.29.3 | SUSE-SU-2021:0435-1 |
| SUSE / openSUSE | SLE-15-SP2 | containerdppc64le | Advisory build | 1.3.9-5.29.3 | SUSE-SU-2021:0435-1 |
| SUSE / openSUSE | SLE-15-SP2 | containerds390x | Advisory build | 1.3.9-5.29.3 | SUSE-SU-2021:0435-1 |
| SUSE / openSUSE | SLE-15-SP2 | containerdx86_64 | Advisory build | 1.3.9-5.29.3 | SUSE-SU-2021:0435-1 |
| SUSE / openSUSE | openSUSE-Leap-15.2 | containerdx86_64 | Advisory build | 1.3.9-lp152.2.3.1 | OPENSUSE-SU-2021:0278-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | containerdaarch64 | Advisory build | 1.4.8-2.2 | OPENSUSE-SU-2024:10693-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | containerdppc64le | Advisory build | 1.4.8-2.2 | OPENSUSE-SU-2024:10693-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | containerds390x | Advisory build | 1.4.8-2.2 | OPENSUSE-SU-2024:10693-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | containerdx86_64 | Advisory build | 1.4.8-2.2 | OPENSUSE-SU-2024:10693-1 |
| Ubuntu | focal | containerd | Advisory build | 1.3.3-0ubuntu2.2 | USN-4653-2 |
| Ubuntu | xenial | containerd | Advisory build | 1.2.6-0ubuntu1~16.04.6 | USN-4653-2 |
| Alpine Linux | edge | docker | Fixed | 19.03.14-r0 | Package fix record |
| Alpine Linux | edge | k3s | Fixed | 1.19.4.2-r0 | Package fix record |
| Alpine Linux | v3.12 | docker | Fixed | 19.03.14-r0 | Package fix record |
| Alpine Linux | v3.13 | docker | Fixed | 19.03.14-r0 | Package fix record |
| Alpine Linux | v3.13 | k3s | Fixed | 1.19.4.2-r0 | Package fix record |
| Alpine Linux | v3.14 | docker | Fixed | 19.03.14-r0 | Package fix record |
| Alpine Linux | v3.14 | k3s | Fixed | 1.19.4.2-r0 | Package fix record |
| Alpine Linux | v3.15 | docker | Fixed | 19.03.14-r0 | Package fix record |
| Alpine Linux | v3.15 | k3s | Fixed | 1.19.4.2-r0 | Package fix record |
| Alpine Linux | v3.16 | docker | Fixed | 19.03.14-r0 | Package fix record |
| Alpine Linux | v3.16 | k3s | Fixed | 1.19.4.2-r0 | Package fix record |
| Alpine Linux | v3.17 | docker | Fixed | 19.03.14-r0 | Package fix record |
| Alpine Linux | v3.17 | k3s | Fixed | 1.19.4.2-r0 | Package fix record |
| Alpine Linux | v3.18 | docker | Fixed | 19.03.14-r0 | Package fix record |
| Alpine Linux | v3.18 | k3s | Fixed | 1.19.4.2-r0 | Package fix record |
| Alpine Linux | v3.19 | docker | Fixed | 19.03.14-r0 | Package fix record |
| Alpine Linux | v3.19 | k3s | Fixed | 1.19.4.2-r0 | Package fix record |
| Alpine Linux | v3.20 | docker | Fixed | 19.03.14-r0 | Package fix record |
| Alpine Linux | v3.20 | k3s | Fixed | 1.19.4.2-r0 | Package fix record |
| Alpine Linux | v3.21 | docker | Fixed | 19.03.14-r0 | Package fix record |
| Alpine Linux | v3.21 | k3s | Fixed | 1.19.4.2-r0 | Package fix record |
| Alpine Linux | v3.22 | docker | Fixed | 19.03.14-r0 | Package fix record |
| Alpine Linux | v3.22 | k3s | Fixed | 1.19.4.2-r0 | Package fix record |
| Alpine Linux | v3.23 | docker | Fixed | 19.03.14-r0 | Package fix record |
| Alpine Linux | v3.23 | k3s | Fixed | 1.19.4.2-r0 | Package fix record |
| Alpine Linux | v3.24 | docker | Fixed | 19.03.14-r0 | Package fix record |
| Alpine Linux | v3.24 | k3s | Fixed | 1.19.4.2-r0 | Package fix record |
| Oracle Linux | 7 | docker-cliaarch64 | Advisory build | 0:19.03.11.ol-7.el7 | ELSA-2020-5966 |
| Oracle Linux | 7 | docker-clix86_64 | Advisory build | 0:19.03.11.ol-7.el7 | ELSA-2020-5966 |
| Oracle Linux | 7 | docker-engineaarch64 | Advisory build | 0:19.03.11.ol-7.el7 | ELSA-2020-5966 |
| Oracle Linux | 7 | docker-enginex86_64 | Advisory build | 0:19.03.11.ol-7.el7 | ELSA-2020-5966 |
| SUSE / openSUSE | SLE-12 | dockerppc64le | Advisory build | 19.03.14_ce-98.57.1 | SUSE-SU-2020:3938-1 |
| SUSE / openSUSE | SLE-12 | dockers390x | Advisory build | 19.03.14_ce-98.57.1 | SUSE-SU-2020:3938-1 |
| SUSE / openSUSE | SLE-12 | dockerx86_64 | Advisory build | 19.03.14_ce-98.57.1 | SUSE-SU-2020:3938-1 |
| SUSE / openSUSE | SLE-12 | docker-libnetworkppc64le | Advisory build | 0.7.0.1+gitr2908_55e924b8a842-34.1 | SUSE-SU-2020:3938-1 |
| SUSE / openSUSE | SLE-12 | docker-libnetworks390x | Advisory build | 0.7.0.1+gitr2908_55e924b8a842-34.1 | SUSE-SU-2020:3938-1 |
| SUSE / openSUSE | SLE-12 | docker-libnetworkx86_64 | Advisory build | 0.7.0.1+gitr2908_55e924b8a842-34.1 | SUSE-SU-2020:3938-1 |
| SUSE / openSUSE | SLE-12 | docker-runcppc64le | Advisory build | 1.0.0rc10+gitr3981_dc9208a3303f-1.49.1 | SUSE-SU-2020:3938-1 |
| SUSE / openSUSE | SLE-12 | docker-runcs390x | Advisory build | 1.0.0rc10+gitr3981_dc9208a3303f-1.49.1 | SUSE-SU-2020:3938-1 |
| SUSE / openSUSE | SLE-12 | docker-runcx86_64 | Advisory build | 1.0.0rc10+gitr3981_dc9208a3303f-1.49.1 | SUSE-SU-2020:3938-1 |
| SUSE / openSUSE | SLE-12-SP3 | dockerppc64le | Advisory build | 19.03.14_ce-98.57.1 | SUSE-SU-2020:3938-1 |
| SUSE / openSUSE | SLE-12-SP3 | dockers390x | Advisory build | 19.03.14_ce-98.57.1 | SUSE-SU-2020:3938-1 |
| SUSE / openSUSE | SLE-12-SP3 | dockerx86_64 | Advisory build | 19.03.14_ce-98.57.1 | SUSE-SU-2020:3938-1 |
| SUSE / openSUSE | SLE-12-SP3 | docker-libnetworkppc64le | Advisory build | 0.7.0.1+gitr2908_55e924b8a842-34.1 | SUSE-SU-2020:3938-1 |
| SUSE / openSUSE | SLE-12-SP3 | docker-libnetworks390x | Advisory build | 0.7.0.1+gitr2908_55e924b8a842-34.1 | SUSE-SU-2020:3938-1 |
| SUSE / openSUSE | SLE-12-SP3 | docker-libnetworkx86_64 | Advisory build | 0.7.0.1+gitr2908_55e924b8a842-34.1 | SUSE-SU-2020:3938-1 |
| SUSE / openSUSE | SLE-12-SP3 | docker-runcppc64le | Advisory build | 1.0.0rc10+gitr3981_dc9208a3303f-1.49.1 | SUSE-SU-2020:3938-1 |
| SUSE / openSUSE | SLE-12-SP3 | docker-runcs390x | Advisory build | 1.0.0rc10+gitr3981_dc9208a3303f-1.49.1 | SUSE-SU-2020:3938-1 |
| SUSE / openSUSE | SLE-12-SP3 | docker-runcx86_64 | Advisory build | 1.0.0rc10+gitr3981_dc9208a3303f-1.49.1 | SUSE-SU-2020:3938-1 |
| SUSE / openSUSE | SLE-12-SP4 | dockerppc64le | Advisory build | 19.03.14_ce-98.57.1 | SUSE-SU-2020:3938-1 |
| SUSE / openSUSE | SLE-12-SP4 | dockers390x | Advisory build | 19.03.14_ce-98.57.1 | SUSE-SU-2020:3938-1 |
| SUSE / openSUSE | SLE-12-SP4 | dockerx86_64 | Advisory build | 19.03.14_ce-98.57.1 | SUSE-SU-2020:3938-1 |
| SUSE / openSUSE | SLE-12-SP4 | docker-libnetworkppc64le | Advisory build | 0.7.0.1+gitr2908_55e924b8a842-34.1 | SUSE-SU-2020:3938-1 |
| SUSE / openSUSE | SLE-12-SP4 | docker-libnetworks390x | Advisory build | 0.7.0.1+gitr2908_55e924b8a842-34.1 | SUSE-SU-2020:3938-1 |
Package entries are limited to the first 100 builds and 100 linked advisories.
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 5.2 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| containerd | containerd | < 1.3.9 (affected)>= 1.4.0, < 1.4.3 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-669 CWE-669 Incorrect Resource Transfer Between Spheres
References
6- https://github.com/containerd/containerd/commit/4a4bb851f5da563ff6e68a83dc837c7699c469ad
- https://github.com/containerd/containerd/releases/tag/v1.4.3
- https://github.com/containerd/containerd/security/advisories/GHSA-36xw-fx78-c5r4
- FEDORA-2020-baeb8dbaea https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/LNKXLOLZWO5FMAPX63ZL7JNKTNNT5NQD/
- GLSA-202105-33 https://security.gentoo.org/glsa/202105-33
- DSA-4865 https://www.debian.org/security/2021/dsa-4865
Provider assertions
2GitHub_M · cna
containerd-shim API Exposed to Host Network Containers
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- c0c5d4af3de7999123727acca365b44cb98d8589f5c98703da11be65540e97db
- Ingested
- 23 Sep 2026, 07:48:51 UTC
- Source record
- Official CVE record