{"id":"CVE-2024-25621","published":"2025-11-06T18:36:21Z","modified":"2025-11-06T19:35:13Z","title":"containerd affected by a local privilege escalation via wide permissions on CRI directory","vendor":"containerd","product":"containerd","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.3,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00168,"percentile":0.06272,"provenance":"source"},"cwes":[{"id":"CWE-279","name":"Incorrect Execution-Assigned Permissions"}],"references":[{"url":"https://github.com/containerd/containerd/security/advisories/GHSA-pwhc-rpq9-4c8w","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/containerd/containerd/commit/7c59e8e9e970d38061a77b586b23655c352bfec5","tags":["x_refsource_MISC"]},{"url":"https://github.com/containerd/containerd/blob/main/docs/rootless.md","tags":["x_refsource_MISC"]}],"priority":{"score":6.4,"factors":[{"name":"EPSS percentile","points":1.25},{"name":"CVSS severity","points":5.11}]},"vendorSlug":"containerd","affectedVersions":[{"vendor":"containerd","product":"containerd","versions":["< 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"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2025-11-06T19:34:44.710425Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/containerd/containerd","vulnerableRanges":["<1.7.29"],"patched":["1.7.29"],"from":["GHSA-pwhc-rpq9-4c8w","GO-2025-4100"],"provenance":"source"},{"ecosystem":"Go","package":"github.com/containerd/containerd/v2","vulnerableRanges":["<2.0.7",">=2.1.0-beta.0, <2.1.5",">=2.2.0-beta.0, <2.2.0"],"patched":["2.0.7","2.1.5","2.2.0"],"from":["GHSA-pwhc-rpq9-4c8w","GO-2025-4100"],"provenance":"source"}],"summary":{"text":"The flaw is an overly broad default permission vulnerability in containerd, an open-source container runtime, where the /var/lib/containerd, /run/containerd/io.containerd.grpc.v1.cri and /run/containerd/io.containerd.sandbox.controller.v1.shim directories are created with incorrect permissions. An attacker with local access and low privileges, where a user must also interact, can exploit these permissions to escalate privileges on the host.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:15:58Z"},"euvd":{"id":"EUVD-2024-22942","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2023-25153","published":"2023-02-16","fixed":"1.6.18","kev":false},{"cve":"CVE-2023-25173","published":"2023-02-16","fixed":"1.6.18","kev":false},{"cve":"CVE-2024-40635","published":"2025-03-17","fixed":"1.7.27","kev":false,"link":{"from":"CVE-2024-40635","to":"CVE-2024-25621","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Go:github.com/containerd/containerd","fromFixed":"1.7.27","toFixed":"1.7.29","daysApart":234}]}},{"cve":"CVE-2024-25621","published":"2025-11-06","fixed":"1.7.29","kev":false},{"cve":"CVE-2025-64329","published":"2025-11-07","fixed":"1.7.29","kev":false},{"cve":"CVE-2026-46680","published":"2026-07-01","fixed":"1.7.32","kev":false},{"cve":"CVE-2026-47262","published":"2026-07-01","fixed":"1.7.33","kev":false}],"package":"Go:github.com/containerd/containerd"}}