Vulnerability · Published Nov 6, 2025 · Assigned by GitHub_M
CVE-2024-25621containerd affected by a local privilege escalation via wide permissions on CRI directory
High 7.3
In plain English
A high-severity security flaw in containerd from containerd. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 6% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | containerd | 1.6.20~ds1-1+deb12u2 | DEBIAN-CVE-2024-25621 |
| Debian:12 | containerd | 1.6.20~ds1-1+deb12u2 | DSA-6067-1 |
| Debian:13 | containerd | 1.7.24~ds1-6+deb13u1 | DEBIAN-CVE-2024-25621 |
| Debian:13 | containerd | 1.7.24~ds1-6+deb13u1 | DSA-6067-1 |
| Debian:14 | containerd | 1.7.24~ds1-9 | DEBIAN-CVE-2024-25621 |
| Go | github.com/containerd/containerd | 1.7.29 | GHSA-pwhc-rpq9-4c8w |
| Go | github.com/containerd/containerd | 1.7.29 | GO-2025-4100 |
| Go | github.com/containerd/containerd/v2 | 2.0.7, 2.1.5, 2.2.0 | GO-2025-4100 |
| Go | github.com/containerd/containerd/v2 | 2.2.0 | GHSA-pwhc-rpq9-4c8w |
| Go | github.com/containerd/containerd/v2 | 2.1.5 | GHSA-pwhc-rpq9-4c8w |
| Go | github.com/containerd/containerd/v2 | 2.0.7 | GHSA-pwhc-rpq9-4c8w |
| Ubuntu:22.04:LTS | containerd | 1.6.12-0ubuntu1~22.04.10 | UBUNTU-CVE-2024-25621 |
| Ubuntu:25.10 | containerd | 1.7.24~ds1-8ubuntu1.1 | UBUNTU-CVE-2024-25621 |
| Ubuntu:24.04:LTS | containerd-app | 1.7.28-0ubuntu1~24.04.2 | UBUNTU-CVE-2024-25621 |
| Ubuntu:25.10 | containerd-app | 2.1.3-0ubuntu3.1 | UBUNTU-CVE-2024-25621 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| containerd | containerd | < 1.7.29>= 2.0.0-beta.0, < 2.0.7>= 2.1.0-beta.0, < 2.1.5>= 2.2.0-beta.0, < 2.2.0 |
Weakness: CWE-279 · Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H