cve.bz

CVE-2020-15257

5.2 mediumEPSS 3.1%Fix available

Medium (5.2). EPSS 3.1% estimated probability of exploitation activity in the next 30 days. Fixed in github.com/containerd/containerd 1.3.9, 1.4.3.

On this page
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.

Severity

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
EPSS
3.1% (unchanged from 3.1% a week ago; 3.2% 30 days ago) estimated probability of exploitation activity in the next 30 days; 88th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-669 Incorrect Resource Transfer Between Spheres
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2020-15257 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2020-15257?via=ask-ai-copy and https://cve.bz/cve/CVE-2020-15257?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2020-15257 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
linuxfoundation:containerdbefore 1.3.9
linuxfoundation:containerdfrom 1.4.0 before 1.4.3
fedoraproject:fedora33
debian:debian_linux10.0

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-36xw-fx78-c5r4Gogithub.com/containerd/containerd<1.3.91.3.9
GHSA-36xw-fx78-c5r4Gogithub.com/containerd/containerd>=1.4.0 <1.4.31.4.3
GO-2022-0784Gogithub.com/containerd/containerd<1.3.9
>=1.4.0 <1.4.3
1.3.9, 1.4.3

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian10docker.io18.09.1+dfsg1-7.1+deb10u3DSA-4865-1
Debian12, 13, 14containerd1.4.3~ds1-1DEBIAN-CVE-2020-15257
Debian12, 13, 14docker.io20.10.0~rc1+dfsg2-1DEBIAN-CVE-2020-15257
Ubuntu16.04:LTScontainerd1.2.6-0ubuntu1~16.04.6UBUNTU-CVE-2020-15257 USN-4653-1 USN-4653-2
Ubuntu18.04:LTScontainerd1.3.3-0ubuntu1~18.04.4UBUNTU-CVE-2020-15257 USN-4653-1 USN-4653-2
Ubuntu20.04:LTScontainerd1.3.3-0ubuntu2.2UBUNTU-CVE-2020-15257 USN-4653-1 USN-4653-2
SUSEEnterprise Storage 6, Linux Enterprise High Performance Computing 15 SP1-ESPOS, Linux Enterprise High Performance Computing 15 SP1-LTSS and 7 morecontainerd1.3.9-5.29.3SUSE-SU-2021:0435-1
SUSEEnterprise Storage 6, Linux Enterprise High Performance Computing 15 SP1-ESPOS, Linux Enterprise High Performance Computing 15 SP1-LTSS and 7 moredocker19.03.15_ce-6.43.3SUSE-SU-2021:0435-1
SUSEEnterprise Storage 6, Linux Enterprise High Performance Computing 15 SP1-ESPOS, Linux Enterprise High Performance Computing 15 SP1-LTSS and 7 moredocker-runc1.0.0rc10+gitr3981_dc9208a3303f-6.45.3SUSE-SU-2021:0435-1
SUSEEnterprise Storage 6, Linux Enterprise High Performance Computing 15 SP1-ESPOS, Linux Enterprise High Performance Computing 15 SP1-LTSS and 7 moregolang-github-docker-libnetwork0.7.0.1+gitr2908_55e924b8a842-4.28.3SUSE-SU-2021:0435-1
SUSEEnterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP3-LTSS, Linux Enterprise High Performance Computing 15 SP4-ESPOS and 11 moredocker-stable24.0.9_ce-150000.1.25.1SUSE-SU-2025:03545-1
SUSELinux Enterprise Module for Containers 12containerd1.3.9-16.32.1SUSE-SU-2020:3938-1
SUSELinux Enterprise Module for Containers 12docker19.03.14_ce-98.57.1SUSE-SU-2020:3938-1
SUSELinux Enterprise Module for Containers 12docker-runc1.0.0rc10+gitr3981_dc9208a3303f-1.49.1SUSE-SU-2020:3938-1
SUSELinux Enterprise Module for Containers 12golang-github-docker-libnetwork0.7.0.1+gitr2908_55e924b8a842-34.1SUSE-SU-2020:3938-1
SUSELinux Enterprise Server 12 SP5-LTSS, Linux Enterprise Server LTSS Extended Security 12 SP5docker-stable24.0.9_ce-1.20.1SUSE-SU-2025:03540-1
openSUSELeap 15.2containerd1.3.9-lp152.2.3.1openSUSE-SU-2021:0278-1
openSUSELeap 15.2docker19.03.15_ce-lp152.2.3.1openSUSE-SU-2021:0278-1
openSUSELeap 15.2docker-runc1.0.0rc10+gitr3981_dc9208a3303f-lp152.2.3.1openSUSE-SU-2021:0278-1
openSUSELeap 15.2fish2.7.1-lp152.5.3.1openSUSE-SU-2021:0278-1
openSUSELeap 15.2golang-github-docker-libnetwork0.7.0.1+gitr2908_55e924b8a842-lp152.2.3.1openSUSE-SU-2021:0278-1
openSUSELeap 15.6docker-stable24.0.9_ce-150000.1.25.1SUSE-SU-2025:03545-1
openSUSETumbleweedcontainerd1.4.8-2.2openSUSE-SU-2024:10693-1
openSUSETumbleweeddocker20.10.6_ce-2.1openSUSE-SU-2024:10722-1
openSUSETumbleweeddocker-stable24.0.9_ce-15.1openSUSE-SU-2025:15589-1
Alpinev3.11containerd1.3.9-r0ALPINE-CVE-2020-15257
Alpinev3.12, v3.13, v3.14 and 10 morecontainerd1.4.3-r0ALPINE-CVE-2020-15257
Alpinev3.12, v3.13, v3.14 and 10 moredocker19.03.14-r0ALPINE-CVE-2020-15257
Alpinev3.13, v3.14, v3.15 and 9 morek3s1.19.4.2-r0ALPINE-CVE-2020-15257

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0; the Alpine secdb, CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · SUSE · openSUSE · Alpine.

Red Hat

Red Hat rates this Important.

Red Hat's statement

* The container runtime in OpenShift Container Platform 4 is cri-o which is not affected by this flaw. It doesn't make use of abstract unix sockets like containerd, which lead to this vulnerability being possible.

* Red Hat Advanced Cluster Management for Kubernetes is not affected by this flaw. While containerd is included in the multicloud-operators-subscription image as a dependency of helm, it is not used in any way that exposes the abstract unix socket that is involved in this vulnerability.

* The container-tools module in Red Hat Enterprise Linux is not affected by this flaw as these packages do not use abstract unix sockets for container management.

* For Red Hat OpenStack Platform, because containerd is not actually used in director-operator, the RHOSP Impact has been moved to Low.

ProductPackageStateAdvisory
Red Hat OpenStack Platform 16.2rhosp-rhel8-tech-preview/osp-director-operator:1.2.3-2Fixed 2022-05-11RHSA-2022:2183
Red Hat 3scale API Management Platform 23scale-amp2/3scale-rhel7-operatorAffected
Red Hat 3scale API Management Platform 23scale-amp2/apicast-rhel7-operatorAffected
Red Hat Advanced Cluster Management for Kubernetes 2containerdNot affected
Red Hat OpenShift Container Platform 4cri-oNot affected
Red Hat OpenStack Platform 16.2osp-director-provisioner-containerAffected
Red Hat OpenStack Platform 16.2rhosp-rhel8/osp-director-downloaderFix deferred

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2020-15257.

References

Check your stackJSON