cve.bz

CVE-2021-32760 Exposure of Resource to Wrong Sphere

6.3 mediumEPSS 1.6%Fix available

Medium (6.3). EPSS 1.6% estimated probability of exploitation activity in the next 30 days. Fixed in github.com/containerd/containerd 1.4.8, 1.5.4.

On this page
containerd is a container runtime. A bug was found in containerd versions prior to 1.4.8 and 1.5.4 where pulling and extracting a specially-crafted container image can result in Unix file permission changes for existing files in the host’s filesystem. Changes to file permissions can deny access to the expected owner of the file, widen access to others, or set extended bits like setuid, setgid, and sticky. This bug does not directly allow files to be read, modified, or executed without an additional cooperating process. This bug has been fixed in containerd 1.5.4 and 1.4.8. As a workaround, ensure that users only pull images from trusted sources. Linux security modules (LSMs) like SELinux and AppArmor can limit the files potentially affected by this bug through policies and profiles that prevent containerd from interacting with specific files.

Severity

CVSS 3.1

6.3 medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L
EPSS
1.6% (unchanged from 1.6% a week ago; 1.6% 30 days ago) estimated probability of exploitation activity in the next 30 days; 76th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2024-11-19. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWEs
CWE-732 Incorrect Permission Assignment for Critical Resource
CWE-668 Exposure of Resource to Wrong Sphere
OWASP Top 10
A01:2025 Broken Access Control
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-2021-32760 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2021-32760?via=ask-ai-copy and https://cve.bz/cve/CVE-2021-32760?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-2021-32760 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.4.8
linuxfoundation:containerdfrom 1.5.0 before 1.5.4
fedoraproject:fedora34

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-c72p-9xmj-rx3wGogithub.com/containerd/containerd<1.4.81.4.8
GHSA-c72p-9xmj-rx3wGogithub.com/containerd/containerd>=1.5.0 <1.5.41.5.4
GO-2022-0921Gogithub.com/containerd/containerd<1.4.8
>=1.5.0 <1.5.4
1.4.8, 1.5.4

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13, 14containerd1.4.5~ds1-2DEBIAN-CVE-2021-32760
Ubuntu18.04:LTScontainerd1.5.2-0ubuntu1~18.04.2UBUNTU-CVE-2021-32760 USN-5012-1
Ubuntu20.04:LTScontainerd1.5.2-0ubuntu1~20.04.2UBUNTU-CVE-2021-32760 USN-5012-1
UbuntuPro:16.04:LTScontainerd1.2.6-0ubuntu1~16.04.6+esm2UBUNTU-CVE-2021-32760 USN-5521-1
SUSEEnterprise Storage 6, Enterprise Storage 7, Linux Enterprise High Performance Computing 15 SP1-ESPOS and 12 morerunc1.0.2-23.1SUSE-SU-2021:3506-1
SUSEEnterprise Storage 6, Linux Enterprise High Performance Computing 15 SP1-ESPOS, Linux Enterprise High Performance Computing 15 SP1-LTSS and 11 morecontainerd1.4.11-56.1SUSE-SU-2021:3506-1
SUSEEnterprise Storage 6, Linux Enterprise High Performance Computing 15 SP1-ESPOS, Linux Enterprise High Performance Computing 15 SP1-LTSS and 11 moredocker20.10.9_ce-156.1SUSE-SU-2021:3506-1
SUSELinux Enterprise Micro 5.0, Linux Enterprise Module for Containers 15 SP2, Linux Enterprise Module for Containers 15 SP3containerd1.4.4-5.36.1SUSE-SU-2021:2412-1
SUSELinux Enterprise Module for Containers 12containerd1.4.11-16.45.1SUSE-SU-2021:3336-1
SUSELinux Enterprise Module for Containers 12containerd1.4.4-16.42.1SUSE-SU-2021:2413-1
SUSELinux Enterprise Module for Containers 12docker20.10.9_ce-98.72.1SUSE-SU-2021:3336-1
SUSELinux Enterprise Module for Containers 12runc1.0.2-16.14.1SUSE-SU-2021:3336-1
openSUSELeap 15.2containerd1.4.11-lp152.2.12.1openSUSE-SU-2021:1404-1
openSUSELeap 15.2containerd1.4.4-lp152.2.9.1openSUSE-SU-2021:1081-1
openSUSELeap 15.2docker20.10.9_ce-lp152.2.18.1openSUSE-SU-2021:1404-1
openSUSELeap 15.2runc1.0.2-lp152.2.9.1openSUSE-SU-2021:1404-1
openSUSELeap 15.3containerd1.4.11-56.1openSUSE-SU-2021:3506-1
openSUSELeap 15.3containerd1.4.4-5.36.1openSUSE-SU-2021:2412-1
openSUSELeap 15.3docker, docker-kubic20.10.9_ce-156.1openSUSE-SU-2021:3506-1
openSUSELeap 15.3runc1.0.2-23.1openSUSE-SU-2021:3506-1
openSUSETumbleweedcontainerd1.4.8-2.2openSUSE-SU-2024:10693-1
openSUSETumbleweedtrivy0.20.2-1.1openSUSE-SU-2024:11619-1
Alpinev3.13containerd1.4.8-r0ALPINE-CVE-2021-32760
Alpinev3.14, v3.15, v3.16 and 8 morecontainerd1.5.4-r0ALPINE-CVE-2021-32760
Azure Linux2moby-containerd1.4.4+azure-4AZL-6680

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; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · SUSE · openSUSE · Alpine.

Red Hat

Red Hat rates this Moderate.

ProductPackageStateAdvisory
Red Hat OpenShift Service Mesh 2.4 for RHEL 8openshift-service-mesh/grafana-rhel8:2.4.4-2Fixed 2023-10-19RHSA-2023:5952
Red Hat OpenShift Service Mesh 2.4 for RHEL 8openshift-service-mesh/istio-cni-rhel8:2.4.4-5Fixed 2023-10-19RHSA-2023:5952
Red Hat OpenShift Service Mesh 2.4 for RHEL 8openshift-service-mesh/istio-must-gather-rhel8:2.4.4-3Fixed 2023-10-19RHSA-2023:5952
Red Hat OpenShift Service Mesh 2.4 for RHEL 8openshift-service-mesh/istio-rhel8-operator:2.4.4-6Fixed 2023-10-19RHSA-2023:5952
Red Hat OpenShift Service Mesh 2.4 for RHEL 8openshift-service-mesh/kiali-rhel8:1.65.9-4Fixed 2023-10-19RHSA-2023:5952
Red Hat OpenShift Service Mesh 2.4 for RHEL 8openshift-service-mesh/kiali-rhel8-operator:1.65.9-1Fixed 2023-10-19RHSA-2023:5952
Red Hat OpenShift Service Mesh 2.4 for RHEL 8openshift-service-mesh/pilot-rhel8:2.4.4-5Fixed 2023-10-19RHSA-2023:5952
Red Hat OpenShift Service Mesh 2.4 for RHEL 8openshift-service-mesh/proxyv2-rhel8:2.4.4-5Fixed 2023-10-19RHSA-2023:5952
Red Hat OpenShift Service Mesh 2.4 for RHEL 8openshift-service-mesh/ratelimit-rhel8:2.4.4-2Fixed 2023-10-19RHSA-2023:5952
Red Hat OpenStack Platform 16.2rhosp-rhel8-tech-preview/osp-director-operator:1.2.3-2Fixed 2022-05-11RHSA-2022:2183
cert-manager Operator for Red Hat OpenShiftcert-manager/cert-manager-operator-rhel9Under investigation
cert-manager Operator for Red Hat OpenShiftcert-manager/jetstack-cert-manager-rhel9Under investigation
Cost Management Metrics Operatorcostmanagement-metrics-operator-containerNot affected
Cryostat 2cryostat-tech-preview/cryostat-rhel8-operatorNot affected
Logging Subsystem for Red Hat OpenShiftopenshift-logging/logging-loki-rhel9Not affected
Logging Subsystem for Red Hat OpenShiftopenshift-logging/lokistack-gateway-rhel8Not affected
Logging Subsystem for Red Hat OpenShiftopenshift-logging/opa-openshift-rhel8Not affected
Migration Toolkit for Containersrhmtc/openshift-migration-controller-rhel8Not affected
Migration Toolkit for Containersrhmtc/openshift-velero-plugin-rhel8Not affected
Migration Toolkit for Virtualizationmigration-toolkit-virtualization/mtv-controller-rhel9Not affected
160 more in the JSON and on Red Hat's page.

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-2021-32760.

Attack patterns (CAPEC)

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-732 (11).

References

Check your stackJSON