CVE-2024-25621
containerd affected by a local privilege escalation via wide permissions on CRI directory
Reported by github_m · Published November 6, 2025
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| newrelic-infrastructure-agent | Wolfi | 1.71.0-r1 |
| cluster-api-helm-controller | Wolfi | 0.4.1-r2 |
| kube-arangodb-fips-1.3 | Chainguard | 1.3.1-r2 |
| chainctl | Chainguard | 0.2.175-r0 |
| helm-fips | Chainguard | 3.19.0-r3 |
| k8ssandra-client-fips | Chainguard | 0.8.3-r3 |
| fuse-overlayfs-snapshotter | Wolfi | 2.1.7-r0 |
| helm-push | Wolfi | 0.10.4-r36 |
| trivy | Wolfi | 0.67.2-r3 |
| kaniko | Wolfi | 1.25.4-r0 |
| amazon-ecs-agent-fips | Chainguard | 1.100.1-r2 |
| eksctl | Wolfi | 0.216.0-r1 |
3 more packages have a fixed version. See every fix in Lookup.
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| containerd | containerd | < 1.7.29, >= 2.0.0-beta.0, < 2.0.7, >= 2.1.0-beta.0, < 2.1.5 |
| wolfi | newrelic-infrastructure-agent | 0 |
| wolfi | cluster-api-helm-controller | 0 |
| chainguard | kube-arangodb-fips-1.3 | 0 |
| chainguard | chainctl | 0 |
| chainguard | helm-fips | 0 |
| chainguard | k8ssandra-client-fips | 0 |
| wolfi | fuse-overlayfs-snapshotter | 0 |
| wolfi | helm-push | 0 |
| wolfi | trivy | 0 |
| wolfi | kaniko | 0 |
| chainguard | amazon-ecs-agent-fips | 0 |
| wolfi | eksctl | 0 |
| chainguard | gitlab-rails-ce-18.2 | 0 |
| chainguard | consul-k8s-1.6 | 0 |
| wolfi | consul-k8s-1.7 | 0 |
| containerd | containerd | 0, 2.1.0-beta.0, 2.2.0-beta.0 |
| chainguard | beats-fips-7 | 0 |
| wolfi | opa | 0 |
| chainguard | kubescape-operator | 0 |
…and 208 more
Timeline
- Nov 6, 2025 CVE Published
- Nov 6, 2025 Coalition ESS Score (9 in total, the first dated here)
- Nov 7, 2025 EPSS Score (30 in total, the first dated here)
- Jan 16, 2026 Security Advisory (12 in total, the first dated here)
- Oct 10, 2026 Distribution Patch (9 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2024-25621
vulnetix vdb fixes CVE-2024-25621
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2024-25621/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- https://github.com/containerd/containerd/security/advisories/GHSA-pwhc-rpq9-4c8w x_refsource_CONFIRM
- https://github.com/containerd/containerd/commit/7c59e8e9e970d38061a77b586b23655c352bfec5 x_refsource_MISC
- https://github.com/containerd/containerd/blob/main/docs/rootless.md x_refsource_MISC
- https://nvd.nist.gov/vuln/detail/CVE-2024-25621 advisory
- https://github.com/advisories/GHSA-pwhc-rpq9-4c8w advisory
- https://github.com/containerd/containerd url