# CVE-2020-15257: containerd-shim API Exposed to Host Network Containers

- Severity: Medium 5.2 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 3.13%, higher than 88% of CVEs (2026-12-01)
- Published: 2020-12-01T02:30:16.000Z
- Modified: 2026-09-10T03:49:04.046Z
- Also known as: GHSA-36xw-fx78-c5r4, GO-2022-0784
- Related: CGA-f722-2cc3-m9qg
- Weaknesses: CWE-669
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- containerd containerd: < 1.3.9; >= 1.4.0, < 1.4.3
- github.com/containerd/containerd (Go): before 1.3.9; from 1.4.0 before 1.4.3
- linuxfoundation containerd: before 1.3.9; from 1.4.0 before 1.4.3
- fedoraproject fedora: 33
- debian debian_linux: 10.0

## Every score

- GitHub_M: CVSS:3.1 5.2 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N`
- GitHub: CVSS:3.1 5.2 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N`
- NVD: CVSS:3.1 5.2 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N`
- NVD: CVSS:2.0 3.6 Low `AV:L/AC:L/Au:N/C:P/I:P/A:N`

## References

- <https://github.com/containerd/containerd/security/advisories/GHSA-36xw-fx78-c5r4> (advisory, mitigation, third-party-advisory, web)
- <https://github.com/containerd/containerd/commit/4a4bb851f5da563ff6e68a83dc837c7699c469ad> (fix, patch, third-party-advisory, web)
- <https://github.com/containerd/containerd/releases/tag/v1.4.3> (third-party-advisory, web)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/LNKXLOLZWO5FMAPX63ZL7JNKTNNT5NQD/> (vendor-advisory)
- <https://www.debian.org/security/2021/dsa-4865> (third-party-advisory, vendor-advisory, web)
- <https://security.gentoo.org/glsa/202105-33> (third-party-advisory, vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2020-15257> (advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/LNKXLOLZWO5FMAPX63ZL7JNKTNNT5NQD> (web)
- <https://research.nccgroup.com/2020/12/10/abstract-shimmer-cve-2020-15257-host-networking-is-root-equivalent-again> (web)

## Sources

- CVE List: [CVE-2020-15257](https://www.cve.org/CVERecord?id=CVE-2020-15257), CVE Terms of Use, modified 2024-08-04
- GitHub Advisory Database: [GHSA-36xw-fx78-c5r4](https://github.com/advisories/GHSA-36xw-fx78-c5r4), CC-BY-4.0, modified 2026-09-10
- Go Vulnerability Database: [GO-2022-0784](https://pkg.go.dev/vuln/GO-2022-0784), CC-BY-4.0, modified 2026-02-04
- NVD: [CVE-2020-15257](https://nvd.nist.gov/vuln/detail/CVE-2020-15257), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2020-15257 · Whole record: https://cve.day/CVE-2020-15257.json · Rebuilt by cve.day 2026-11-25T22:57:55.987Z
