CVE-2020-15257: containerd-shim API Exposed to Host Network Containers
Vulnerability summary
CVE-2020-15257 is a medium (CVSS 5.2) vulnerability in containerd. EPSS estimates a 3.13% chance of exploitation in the next 30 days, higher than 87.8% of scored vulnerabilities.
Not severe (CVSS 5.2, local access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 8 · Related 9Timeline
- 01-12-2020PublishedVulnerability first disclosed.
- 04-08-2024Last modifiedVulnerability information updated.
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.
CVSS metrics
9 scores · 8 sources · 2 versions- OSV · UbuntuEcosystem advisory · calculated5.2MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
- OSV · DebianEcosystem advisory · calculated5.2MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
- OSV · WolfiEcosystem advisory · calculated5.2MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
- OSV · GoEcosystem advisory · calculated5.2MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
- OSV · ChainguardEcosystem advisory · calculated5.2MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
- NVDNIST5.2MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
- OSV · AlpineEcosystem advisory · calculated5.2MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
EPSS trend
Probability
3.13%
Chance of exploitation in the next 30 days
Percentile
88%
Versus all other CVEs
30-day change
Decrease -0.11 pp
From 3.24% on 04-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: local access, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.
Suse4 products
- containerd&distro=SUSE Linux Enterprise Module for Containers 12< 1.3.9-16.32.1
- docker-runc&distro=SUSE Linux Enterprise Module for Containers 12< 1.0.0rc10+gitr3981_dc9208a3303f-1.49.1
- docker&distro=SUSE Linux Enterprise Module for Containers 12< 19.03.14_ce-98.57.1
- golang-github-docker-libnetwork&distro=SUSE Linux Enterprise Module for Containers 12< 0.7.0.1+gitr2908_55e924b8a842-34.1
Alpine3 products
- containerd≥ 1.4.0, < 1.3.9-r0 | ≥ 1.4.0, < 1.4.3-r0
- docker< 19.03.14-r0
- k3s< 1.19.4.2-r0
Debian3 products
- containerd< 1.4.3~ds1-1
- docker.io< 20.10.0~rc1+dfsg2-1
- debian_linuxEOL10.0
Chainguard1 product
- ctop< 0.7.7-r13
Containerd1 product
- containerd< 1.3.9 | ≥ 1.4.0, < 1.4.3
Fedoraproject1 product
- fedoraEOL33
Github.com/containerd1 product
- containerd< 1.3.9 | ≥ 1.4.0, < 1.4.3
Linuxfoundation1 product
- containerd< 1.3.9 | ≥ 1.4.0, < 1.4.3
Ubuntu1 product
- containerd< 1.2.6-0ubuntu1~16.04.5 | < 1.3.3-0ubuntu1~18.04.3 | < 1.3.3-0ubuntu2.1 | < 1.2.6-0ubuntu1~16.04.6 | < 1.3.3-0ubuntu1~18.04.4 | < 1.3.3-0ubuntu2.2
Wolfi1 product
- ctop< 0.7.7-r13
10 vendors · 17 products
References
23 links- github.com/containerd/containerd/security/advisories/GHSA-36xw-fx78-c5r4X Refsource CONFIRMREPORTAdvisoryWEBMitigationThird Party Advisory
- github.com/containerd/containerd/commit/4a4bb851f5da563ff6e68a83dc837c7699c469adX Refsource MISCFIXWEBPatchThird Party Advisory
- www.debian.org/security/2021/dsa-4865Vendor AdvisoryX Refsource DEBIANAdvisoryWEBThird Party Advisory