CVE-2024-25621containerd affected by a local privilege escalation via wide permissions on CRI directory
- 7.3HighCVSS base score
- 0.17%Exploitation in 30 daysEPSS · top 94% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
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.
Timeline
ID reserved
By GitHub_M
- 21 months later
· 21 months later
Published
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| GitHub_MCNA (assigner) | 3.1 | High7.3 | CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H |
| NVDNVD · Analyzed | 3.1 | High7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
- EPSS (exploitation in 30 days)
- 0.17% · top 94% of all CVEs (18 Nov 2026)
- CISA SSVC
- Exploitation: none · Automatable: no · Technical impact: total
The list uses the assigner's score when there is one, then CISA's, then NVD's: High 7.3.
Affected products
- affected < 1.7.29
- affected >= 2.0.0-beta.0, < 2.0.7
- affected >= 2.1.0-beta.0, < 2.1.5
- affected >= 2.2.0-beta.0, < 2.2.0
Affected packages
From reviewed advisories of the GitHub Advisory Database.
- Gogithub.com/containerd/containerdGHSA-pwhc-rpq9-4c8w (opens in a new tab)
- Gogithub.com/containerd/containerd/v2GHSA-pwhc-rpq9-4c8w (opens in a new tab)
References
References3
- https://github.com/containerd/containerd/security/advisories/GHSA-pwhc-rpq9-4c8w (opens in a new tab)x_refsource_CONFIRM
- https://github.com/containerd/containerd/commit/7c59e8e9e970d38061a77b586b23655c352bfec5 (opens in a new tab)x_refsource_MISC
- https://github.com/containerd/containerd/blob/main/docs/rootless.md (opens in a new tab)x_refsource_MISC
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2024-22942 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-pwhc-rpq9-4c8w (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2024-25621)Record last updated .