Archive package allows chmod of file outside of unpack target directory
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- Required
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- Low · Low · Low
- Fix status
- Partial Red Hat: 2 fixed, 4 without a fix
Attack profile from CVSS 3.1 · NVD. Fix status from CNA, GitHub and Red Hat.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| backstage | containerd | up to 1.4.7; 1.5.0 – 1.5.3 | — | No fix listed | CNA |
| — | github.com/containerd/containerd (Go) | before 1.4.8 | 1.4.8 | Patch available | GHSA-c72p-9xmj-rx3w |
| — | github.com/containerd/containerd (Go) | 1.5.0 to before 1.5.4 | 1.5.4 | Patch available | GHSA-c72p-9xmj-rx3w |
- containerd Vendorbackstage Affected up to 1.4.7; 1.5.0 – 1.5.3 Fixed in — No fix listed CNA
- github.com/containerd/containerd (Go) Vendor— Affected before 1.4.8 Fixed in 1.4.8 Patch available GHSA-c72p-9xmj-rx3w
- github.com/containerd/containerd (Go) Vendor— Affected 1.5.0 to before 1.5.4 Fixed in 1.5.4 Patch available GHSA-c72p-9xmj-rx3w
CPE configurations NVD · 2
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:linuxfoundation:containerd:*:*:*:*:*:*:*:* | before 1.4.8; 1.5.0 to before 1.5.4 | Vulnerable | backstage |
| cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:* | 34 | Vulnerable | Fedoraproject |
- cpe:2.3:a:linuxfoundation:containerd:*:*:*:*:*:*:*:* Versions before 1.4.8; 1.5.0 to before 1.5.4 Vulnerable ·backstage
- cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:* Versions 34 Vulnerable ·Fedoraproject
Remediation
- Fix · GHSA-c72p-9xmj-rx3w github.com/containerd/containerd (Go) Fixed in 1.4.8 Advisory →
- Fix · GHSA-c72p-9xmj-rx3w github.com/containerd/containerd (Go) Fixed in 1.5.4 Advisory →
Red Hat 2 advisories
- RHSA-2023:5952 Released 2023-10-19 · Red Hat rating ImportantRed Hat OpenShift Service Mesh for 2.4.4 security update
- RHOSSM 2.4 for RHEL 8 openshift-service-mesh/grafana-rhel8, openshift-service-mesh/istio-cni-rhel8, openshift-service-mesh/istio-must-gather-rhel8 +6
- RHSA-2022:2183 Released 2022-05-11 · Red Hat rating ModerateRelease of containers for OSP 16.2.z director operator tech preview
- Red Hat OpenStack Platform 16.2 rhosp-rhel8-tech-preview/osp-director-operator
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat 3scale API Management Platform 2 | Affected | No fix yet |
| Red Hat OpenShift Data Science (RHODS) | Affected | No fix yet |
| Red Hat OpenStack Platform 16.2 | Affected | No fix yet |
| cert-manager Operator for Red Hat OpenShift | Affected | — |
| RHOSSM 2.4 for RHEL 8 | Fixed | RHSA-2023:5952 |
| Red Hat OpenStack Platform 16.2 | Fixed | RHSA-2022:2183 |
Not affected: 24 products
- Cost Management Metrics Operator
- Cryostat 2
- Logging Subsystem for Red Hat OpenShift
- Migration Toolkit for Containers
- Migration Toolkit for Virtualization
- OpenShift API for Data Protection
- OpenShift Serverless
- OpenShift Service Mesh 2
- Red Hat Advanced Cluster Management for Kubernetes 2
- Red Hat Advanced Cluster Security 3
- Red Hat Advanced Cluster Security 4
- Red Hat OpenShift Container Platform 3.11
- Red Hat OpenShift Container Platform 4
- Red Hat OpenShift Container Platform Assisted Installer 1
- Red Hat OpenShift Data Science (RHODS)
- Red Hat OpenShift Dev Spaces
- Red Hat OpenShift GitOps
- Red Hat OpenShift Virtualization 4
- Red Hat OpenShift distributed tracing 2
- Red Hat OpenStack Platform 16.2
- Red Hat Openshift Container Storage 4
- Red Hat Openshift Data Foundation 4
- Red Hat Openshift Sandboxed Containers
- Red Hat Quay 3
Timeline
- 2026-10-02 Threatist record created from CVE-2021-32760
- 2026-10-03 Alias added: GHSA-c72p-9xmj-rx3w
References
Advisory 6
Other 5
- https://github.com/containerd/containerd/commit/22e9a70c71eff6507be71955947a611f2ed91e6c
- https://github.com/containerd/containerd/commit/7ad08c69e09ee4930a48dbf2aab3cd612458617f
- https://github.com/containerd/containerd
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/DDMNDPJJTP3J5GOEDB66F6MGXUTRG3Y3
- https://lists.fedoraproject.org/archives/list/[email protected]/message/DDMNDPJJTP3J5GOEDB66F6MGXUTRG3Y3
More backstage Containerd vulnerabilities
- TI-2021-19622 Improper Preservation of Permissions in containerd CVSS 3.1CRITICAL 9.1
- TI-2023-10635 containerd supplementary groups are not set up properly CVSS 3.1HIGH 7.8
- TI-2022-07700 Insecure handling of image volumes in containerd CRI plugin CVSS 3.1HIGH 7.5
- TI-2026-38567 Improper input validation in backstage containerd CVSS 4.0CRITICAL 9.4
- TI-2026-38569 containerd CRI checkpoint restore CDI annotation smuggling CVSS 4.0HIGH 8.4
- TI-2025-29820 Containerd vulnerable to host filesystem access during image unpack CVSS 4.0HIGH 7.6
Sources
- CVE-2021-32760 · CVE Program
- CVE-2021-32760 · NVD
- FIRST EPSS
- GHSA-c72p-9xmj-rx3w · GitHub Advisory Database · CC BY 4.0
- CVE-2021-32760 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences