CVE-2024-25621
HIGH 7.8CVSS 3.1containerd affected by a local privilege escalation via wide permissions on CRI directory
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.
- Published
- 6 Nov 2025
- Last modified
- 8 Nov 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-279
- Also known as
- GHSA-pwhc-rpq9-4c8wGO-2025-4100
- Sources
- NVDJSONOSV GHSA-pwhc-rpq9-4c8wJSONOSV GO-2025-4100JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 7.3 | CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 7.3 | CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | linuxfoundation | containerdcpe:2.3:a:linuxfoundation:containerd:*:*:*:*:*:*:*:* |
< 1.7.29 | 1.7.29 |
| NVD | linuxfoundation | containerdcpe:2.3:a:linuxfoundation:containerd:*:*:*:*:*:*:*:* |
>= 2.0.0, < 2.0.7 | 2.0.7 |
| NVD | linuxfoundation | containerdcpe:2.3:a:linuxfoundation:containerd:*:*:*:*:*:*:*:* |
>= 2.1.0, < 2.1.5 | 2.1.5 |
| NVD | linuxfoundation | containerdcpe:2.3:a:linuxfoundation:containerd:2.2.0:beta0:*:*:*:*:*:* |
= 2.2.0 | |
| NVD | linuxfoundation | containerdcpe:2.3:a:linuxfoundation:containerd:2.2.0:beta1:*:*:*:*:*:* |
= 2.2.0 | |
| NVD | linuxfoundation | containerdcpe:2.3:a:linuxfoundation:containerd:2.2.0:beta2:*:*:*:*:*:* |
= 2.2.0 | |
| NVD | linuxfoundation | containerdcpe:2.3:a:linuxfoundation:containerd:2.2.0:rc0:*:*:*:*:*:* |
= 2.2.0 | |
| NVD | linuxfoundation | containerdcpe:2.3:a:linuxfoundation:containerd:2.2.0:rc1:*:*:*:*:*:* |
= 2.2.0 | |
| OSV | Go | github.com/containerd/containerd | < 1.7.29 | 1.7.29 |
| OSV | Go | github.com/containerd/containerd/v2 | < 2.0.7 | 2.0.7 |
| OSV | Go | github.com/containerd/containerd/v2 | >= 2.1.0-beta.0, < 2.1.5 | 2.1.5 |
| OSV | Go | github.com/containerd/containerd/v2 | >= 2.2.0-beta.0, < 2.2.0 | 2.2.0 |
| OSV | Go | github.com/containerd/containerd/v2 | < 2.0.7; >= 2.1.0-beta.0, < 2.1.5; >= 2.2.0-beta.0, < 2.2.0 | 2.0.7, 2.1.5, 2.2.0 |
References
- https://github.com/containerd/containerd/blob/main/docs/rootless.md · Product, WEB
- https://github.com/containerd/containerd/commit/7c59e8e9e970d38061a77b586b23655c352bfec5 · Patch, WEB, FIX
- https://github.com/containerd/containerd/security/advisories/GHSA-pwhc-rpq9-4c8w · Patch, Vendor Advisory, WEB, ADVISORY
- https://nvd.nist.gov/vuln/detail/CVE-2024-25621 · ADVISORY
- https://github.com/containerd/containerd · PACKAGE
History
- 25 Nov 2026 20:59 UTC · NVD: first stored (published 6 Nov 2025)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 17 Nov 2025)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 6 Nov 2025)