CVE-2024-25621Linuxfoundation Containerd
High 7.8
Follow: this CVE · Linuxfoundation · Linuxfoundation Containerd We alert you by email or Slack (account required).
- Priority
- 47
- CVSS 3.1
- 7.8
- EPSS
- —
- Auth required
- Yes
- Published
- Nov 6, 2025
- Updated
- Nov 8, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-279
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: total
- Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
What happens
containerd is an open-source container runtime. Versions 0.1.0 through 1.7.28, 2.0.0-beta.0 through 2.0.6, 2.1.0-beta.0 through 2.1.4 and 2.2.0-beta.0 through 2.2.0-rc.1 have an overly broad default permission vulnerability. Directory paths `/var/lib/containerd`, `/run/containerd/io.containerd.grpc.v1.cri` and `/run/containerd/io.containerd.sandbox.controller.v1.shim` were all created with incorrect permissions. This issue is fixed in versions 1.7.29, 2.0.7, 2.1.5 and 2.2.0. Workarounds include updating system administrator permissions so the host can manually chmod the directories to not have group or world accessible permissions, or to run containerd in rootless mode.
What to do
- Apply the vendor's security update for Containerd.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Go | github.com/containerd/containerd |
< 1.7.29 |
1.7.29 |
go get github.com/containerd/containerd@v1.7.29 |
| Go | github.com/containerd/containerd |
< 1.7.29 |
1.7.29 |
go get github.com/containerd/containerd@v1.7.29 |
| Go | github.com/containerd/containerd/v2 |
< 2.0.7 |
2.0.7 |
go get github.com/containerd/containerd/v2@v2.0.7 |
| Go | github.com/containerd/containerd/v2 |
≥ 2.1.0-beta.0 < 2.1.5 |
2.1.5 |
go get github.com/containerd/containerd/v2@v2.1.5 |
| Go | github.com/containerd/containerd/v2 |
≥ 2.2.0-beta.0 < 2.2.0 |
2.2.0 |
go get github.com/containerd/containerd/v2@v2.2.0 |
| Go | github.com/containerd/containerd/v2 |
< 2.0.7 |
2.0.7 |
go get github.com/containerd/containerd/v2@v2.0.7 |
| Go | github.com/containerd/containerd/v2 |
≥ 2.1.0-beta.0 < 2.1.5 |
2.1.5 |
go get github.com/containerd/containerd/v2@v2.1.5 |
| Go | github.com/containerd/containerd/v2 |
≥ 2.2.0-beta.0 < 2.2.0 |
2.2.0 |
go get github.com/containerd/containerd/v2@v2.2.0 |
Per OSV / GitHub Advisories (GHSA-pwhc-rpq9-4c8w, GO-2025-4100). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| linuxfoundation | containerd | < 1.7.29 |
| linuxfoundation | containerd | ≥ 2.0.0 < 2.0.7 |
| linuxfoundation | containerd | ≥ 2.1.0 < 2.1.5 |
| linuxfoundation | containerd | 2.2.0 |
| linuxfoundation | containerd | 2.2.0 |
| linuxfoundation | containerd | 2.2.0 |
| linuxfoundation | containerd | 2.2.0 |
| linuxfoundation | containerd | 2.2.0 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Product
- github.com Patch
- github.com Patch Vendor Advisory