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

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.2
- **CVSS:** 5.2 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Changed (impact reaches other components); Confidentiality impact: Low; Integrity impact: Low; Availability impact: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 3.13% (percentile 89, 2026-11-26)
- **CWE:** CWE-669
- **Aliases:** GHSA-36xw-fx78-c5r4, GO-2022-0784
- **Published:** 2020-12-01T02:30:16.000Z
- **Modified:** 2026-09-10T03:49:04.046Z

## Who should check

- Projects that depend on Go package github.com/containerd/containerd (\< 1.3.9)
- Anyone running containerd \< 1.3.9; \>= 1.4.0, \< 1.4.3

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

## Affected and fixed versions

- Go `github.com/containerd/containerd`: affected \< 1.3.9; fixed 1.3.9, 1.4.3 (osv)
- containerd: \< 1.3.9; \>= 1.4.0, \< 1.4.3 (cvelist)

## Mitigation

- Upgrade github.com/containerd/containerd to one of 1.3.9, 1.4.3 (or later in the same release line).

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2020-15257. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2020-15257.md
Affected: github.com/containerd/containerd < 1.3.9
Fixed in: 1.3.9, 1.4.3

Steps:
1. Search this machine and project for github.com/containerd/containerd (Go), containerd: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2020-15257 being exploited?

There is no confirmed exploitation: CVE-2020-15257 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 3.13% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2020-15257?

Medium: CVSS 5.2 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2020-15257?

github.com/containerd/containerd \< 1.3.9.

### Is there a fix for CVE-2020-15257?

Yes. Fixed in 1.3.9, 1.4.3. Upgrade github.com/containerd/containerd to one of 1.3.9, 1.4.3 (or later in the same release line).

### How do I check if I'm affected by CVE-2020-15257?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

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

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2020-15257>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-36xw-fx78-c5r4> (license: <https://creativecommons.org/licenses/by/4.0/>)
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GO-2022-0784> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2020-15257> · JSON: <https://flawdb.com/api/v1/entries/CVE-2020-15257>
