5.2

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

Modified
AliasesSUSE-SU-2020:3938-1UBUNTU-CVE-2020-15257USN-4653-1
Published 01-12-2020Last modified 04-08-2024

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.

Priority
Routine

Not severe (CVSS 5.2, local access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
5.2/10
010
Medium · v3.1 (CVE.org)
EPSS score
3.13%
0%100%
Low · -0.11 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 8 · Related 9

Timeline

  1. 01-12-2020
    PublishedVulnerability first disclosed.
  2. 04-08-2024
    Last 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

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

04-10-202603-11-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

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
Fedoraproject1 product
Github.com/containerd1 product
  • containerd< 1.3.9 | ≥ 1.4.0, < 1.4.3
Linuxfoundation1 product
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
Show all 23 references