{"answers":{"affected":"10 open source packages ship an affected version, including github.com/containerd/containerd/v2 and github.com/containerd/containerd. It affects 1 product.","exploited":"There is no known exploitation of CVE-2024-25621 in the wild and no public exploit code.","fix":"Upgrade github.com/containerd/containerd/v2 to a fixed version for your release line: 2.0.7, 2.1.5 or 2.2.0.","what":"CVE-2024-25621 is a high-severity vulnerability in containerd, published on 6 Nov 2025. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2024-25621 and fix it if it is affected.\n\nWhat it is: CVE-2024-25621 is a high-severity vulnerability in containerd, published on 6 Nov 2025. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2024-25621 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- github.com/containerd/containerd/v2 (Go): affected all versions; fixed in 2.0.7, 2.1.5, 2.2.0\n- github.com/containerd/containerd/v2 (Go): affected all versions; fixed in 2.0.7\n- github.com/containerd/containerd/v2 (Go): affected all versions; fixed in 2.0.7\n- github.com/containerd/containerd/v2 (Go): affected from 2.1.0-beta.0; fixed in 2.1.5\n- github.com/containerd/containerd/v2 (Go): affected from 2.1.0-beta.0; fixed in 2.1.5\n- github.com/containerd/containerd/v2 (Go): affected from 2.2.0-beta.0; fixed in 2.2.0\n- github.com/containerd/containerd/v2 (Go): affected from 2.2.0-beta.0; fixed in 2.2.0\n- github.com/containerd/containerd (Go): affected all versions; fixed in 1.7.29\n- github.com/containerd/containerd (Go): affected all versions; fixed in 1.7.29\n- github.com/containerd/containerd (Go): affected all versions; fixed in 1.7.29\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2024-25621/ (Markdown: https://insights.sbomify.com/CVE-2024-25621/index.md)","id":"CVE-2024-25621","markdown":"https://insights.sbomify.com/CVE-2024-25621/index.md","name":"CVE-2024-25621","record":{"aliases":["AZL-69734","AZL-69808","AZL-69812","AZL-69815","BELL-CVE-2024-25621","CLEANSTART-2026-EF16612","CLEANSTART-2026-VS01859","DEBIAN-CVE-2024-25621","DSA-6067-1","GHSA-pwhc-rpq9-4c8w","GO-2025-4100","MINI-23f5-26mc-fv6f","MINI-285p-j5fv-fxpv","MINI-2f24-34g3-jrw4","MINI-2jcg-3pc5-cmvq","MINI-2qm8-6q7p-r36p","MINI-32f5-3hcr-jwjf","MINI-344p-x82f-v4p9","MINI-34f3-p4w5-rccw","MINI-3cp8-j3xr-mhcx","MINI-3h98-qfhm-4q68","MINI-3jjg-4hr3-w2x4","MINI-3jrr-wgcr-m95q","MINI-3q4w-mc55-7v5m","MINI-3r38-hq6x-g676","MINI-3r83-h8fh-pxq3","MINI-3xfv-89qq-wj2j","MINI-3xq2-jq8x-75vc","MINI-43mh-p449-5275","MINI-474j-47px-xpcq","MINI-47jg-9gpg-m242","MINI-4cpq-9rh3-fmv5","MINI-4fhc-xhfj-c8h9","MINI-4g85-p2c3-h9r6","MINI-4q89-j2pr-gwp4","MINI-55q2-fx23-qc3r","MINI-56hp-p62h-w8fx","MINI-5hq6-9hh7-v3qf","MINI-5m45-46cj-wrrj","MINI-5mcc-c6f2-wjrg","MINI-5pjp-88j9-rrvr","MINI-5r3h-v7v6-v8fq","MINI-5rj9-g5jr-q522","MINI-6467-7qp7-qhqh","MINI-648p-r555-wv47","MINI-65rq-rx28-w229","MINI-6gmj-vx28-38cp","MINI-6pmr-pvj5-4v32","MINI-6r3q-hpj4-gr2w","MINI-74fj-6667-853g","MINI-76v5-6c8q-rfp4","MINI-7hm3-x7x7-m4rq","MINI-7p3f-35w6-j2qc","MINI-7w97-9q4r-4g9g","MINI-7wmf-g2hf-j77r","MINI-85x2-4p8r-68hp","MINI-87r8-x85c-fv9p","MINI-8c34-vvjj-6m56","MINI-8grw-mphc-rrvp","MINI-8qvx-6vc3-vrvm","MINI-8r4f-mf49-2vcg","MINI-8x4h-f3j2-fmmv","MINI-927m-wqqw-w3q9","MINI-93gj-4vjr-29pv","MINI-9c69-frh7-2296","MINI-9f55-j5wh-rjxj","MINI-9j4m-3cwg-w7p9","MINI-9m6r-w98f-6hp3","MINI-9p82-qx9r-j99m","MINI-9pgj-8w6c-gq8p","MINI-9r37-q346-g27r","MINI-9v5x-q4cm-wq5v","MINI-9vwj-vhhq-jvx8","MINI-9vxp-mhph-c963","MINI-c2m3-5crq-m4mq","MINI-c4c4-xpfr-wwjw","MINI-c6vh-8j7j-hj8p","MINI-c9jj-hqx8-935m","MINI-cqhq-fhv9-gc46","MINI-f7r6-p8fp-h4cc","MINI-f9rr-c4mj-8hw4","MINI-fhvr-p56f-g98w","MINI-fjjj-gqph-h9x4","MINI-fmcg-w85g-883r","MINI-g268-5fm9-2hhh","MINI-g5fr-wfrm-vfgc","MINI-g5xq-8538-cf84","MINI-g7w7-8f8m-3f5x","MINI-gj4f-mjp4-3w3q","MINI-gm7j-h6hw-wppm","MINI-gv4x-qgr9-cg68","MINI-h3mj-gj3h-fx6q","MINI-h5q9-x6vq-m3mv","MINI-h6g8-9cpq-4gjw","MINI-h873-x454-f73x","MINI-hj6p-pfpm-4443","MINI-j3pr-3w73-vgr5","MINI-j726-4vhr-96w4","MINI-jgw6-4c8w-7qj8","MINI-jp3f-6g5p-x8jr","MINI-jr2j-6r83-5rw3","MINI-jvg5-gg48-5636","MINI-jwfw-gfv4-c5rp","MINI-m27h-m8vm-p3qf","MINI-m5qh-rm3q-cf8r","MINI-m784-24mj-5v4x","MINI-m8hj-742r-m288","MINI-mcmm-gj9q-99xg","MINI-mfr9-8284-cp78","MINI-mfvq-2g2h-84gh","MINI-mg6p-6p33-f2hq","MINI-mvqc-vjpj-g38f","MINI-mwx7-67m6-c4gq","MINI-mxjf-7jf9-3frm","MINI-mxqv-84gv-47q3","MINI-p274-9w84-gpcc","MINI-p9jc-rfr3-867c","MINI-pf3h-8gmj-qf75","MINI-pgm7-2xfc-3c2p","MINI-pr3c-6qf2-g7f2","MINI-pr92-vqg2-x87r","MINI-q6h5-vrcx-57hj","MINI-q9wg-r8fj-pqh4","MINI-qcvh-rmhp-m5fx","MINI-qv22-g2c3-c936","MINI-qx8v-xj5j-wr26","MINI-r2rx-mxmq-c68h","MINI-r478-g84m-gxqc","MINI-r484-fgvp-m88r","MINI-rc6x-33c3-qx87","MINI-rcxw-gqrj-q8g9","MINI-rfw5-m37v-j2h5","MINI-rp47-6qvx-7cmv","MINI-rpmr-2c6q-9cpm","MINI-rq3p-hgvh-g95h","MINI-rrwg-3p82-w8c6","MINI-rv89-fv63-94c7","MINI-rvv5-2ghp-mrfh","MINI-v422-5grw-3chg","MINI-v7mx-ggfq-ff7h","MINI-vvwv-2m3j-hmf6","MINI-vw62-gqrr-vm85","MINI-w3qf-hvgp-x6r4","MINI-w5m3-qfc5-q3q2","MINI-w9px-fhf6-56m8","MINI-w9rw-qwvp-5wwp","MINI-wh2c-qh2x-prrx","MINI-wj5h-5726-7xq8","MINI-wjg8-h9wg-6j28","MINI-x644-j5fh-jfqp","MINI-x775-gh5h-mg4m","MINI-x7rp-whrc-7xrh","MINI-xc2w-whx3-rv3p","MINI-xch6-99wm-hprc","MINI-xg7x-229f-3fhg","MINI-xgp6-q46m-r4pq","MINI-xm35-gwwf-7gxv","MINI-xm4q-9f6j-p2f3","MINI-xq26-2wgp-hrwg","MINI-xqf6-fjw9-pr65","MINI-xvgq-jjqp-43vg","MINI-xxf8-wp2q-fpvr","ROOT-APP-GOBINARY-CVE-2024-25621","UBUNTU-CVE-2024-25621"],"analysis":{"component_type":"container_or_infrastructure","fix_type":"upgrade","impacts":["privilege_escalation"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"container runtime","requires_auth":"low_privilege","summary":"Local attackers can escalate privileges due to overly broad default permissions on containerd runtime directories.","user_interaction":"required","vuln_class":"privilege_escalation"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"containerd","vendor":"linuxfoundation"}],"cvss":{"score":7.3,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-279","name":"Incorrect Execution-Assigned Permissions"}],"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.","ecosystems":["Go"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"containerd affected by a local privilege escalation via wide permissions on CRI directory","id":"CVE-2024-25621","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":null,"products":[],"type":"privilege_escalation","year":"2024"},"n_packages":10,"n_references":3,"next":{"headline":"H2O ignores headers configuration directives","id":"CVE-2024-25622"},"packages":[{"ecosystem":"Go","fixed":["1.7.29"],"introduced":["0"],"last_affected":[],"package":"github.com/containerd/containerd","purl":null,"source":"GHSA-pwhc-rpq9-4c8w"},{"ecosystem":"Go","fixed":["1.7.29"],"introduced":["0"],"last_affected":[],"package":"github.com/containerd/containerd","purl":"pkg:golang/github.com/containerd/containerd","source":"GHSA-pwhc-rpq9-4c8w"},{"ecosystem":"Go","fixed":["1.7.29"],"introduced":["0"],"last_affected":[],"package":"github.com/containerd/containerd","purl":"pkg:golang/github.com/containerd/containerd","source":"GO-2025-4100"},{"ecosystem":"Go","fixed":["2.0.7","2.1.5","2.2.0"],"introduced":["0","2.1.0-beta.0","2.2.0-beta.0"],"last_affected":[],"package":"github.com/containerd/containerd/v2","purl":"pkg:golang/github.com/containerd/containerd/v2","source":"GO-2025-4100"},{"ecosystem":"Go","fixed":["2.0.7"],"introduced":["0"],"last_affected":[],"package":"github.com/containerd/containerd/v2","purl":null,"source":"GHSA-pwhc-rpq9-4c8w"},{"ecosystem":"Go","fixed":["2.0.7"],"introduced":["0"],"last_affected":[],"package":"github.com/containerd/containerd/v2","purl":"pkg:golang/github.com/containerd/containerd/v2","source":"GHSA-pwhc-rpq9-4c8w"},{"ecosystem":"Go","fixed":["2.1.5"],"introduced":["2.1.0-beta.0"],"last_affected":[],"package":"github.com/containerd/containerd/v2","purl":null,"source":"GHSA-pwhc-rpq9-4c8w"},{"ecosystem":"Go","fixed":["2.1.5"],"introduced":["2.1.0-beta.0"],"last_affected":[],"package":"github.com/containerd/containerd/v2","purl":"pkg:golang/github.com/containerd/containerd/v2","source":"GHSA-pwhc-rpq9-4c8w"},{"ecosystem":"Go","fixed":["2.2.0"],"introduced":["2.2.0-beta.0"],"last_affected":[],"package":"github.com/containerd/containerd/v2","purl":null,"source":"GHSA-pwhc-rpq9-4c8w"},{"ecosystem":"Go","fixed":["2.2.0"],"introduced":["2.2.0-beta.0"],"last_affected":[],"package":"github.com/containerd/containerd/v2","purl":"pkg:golang/github.com/containerd/containerd/v2","source":"GHSA-pwhc-rpq9-4c8w"}],"prev":{"headline":"Dependency management path traversal in helm","id":"CVE-2024-25620"},"products":["containerd"],"published":"2025-11-06","related":[{"cvss_score":9.4,"headline":"containerd CRI — image-config `LABEL` flows to restart-monitor `binary://` logger: host-root command execution from an image pull","id":"CVE-2026-53488","kev_date_added":null,"published":"2026-07-01"},{"cvss_score":8.4,"headline":"containerd CRI checkpoint restore CDI annotation smuggling","id":"CVE-2026-53492","kev_date_added":null,"published":"2026-07-01"},{"cvss_score":8.2,"headline":"containerd: Arbitrary host CRI log file read via symlink following in CRI checkpoint restore","id":"CVE-2026-53489","kev_date_added":null,"published":"2026-07-01"},{"cvss_score":7.6,"headline":"Containerd vulnerable to host filesystem access during image unpack","id":"CVE-2025-47290","kev_date_added":null,"published":"2025-05-20"},{"cvss_score":7.3,"headline":"containerd user ID handling bypass allows runAsNonRoot evasion","id":"CVE-2026-46680","kev_date_added":null,"published":"2026-07-01"},{"cvss_score":6.9,"headline":"containerd CRI server: Host memory exhaustion through Attach goroutine leak","id":"CVE-2025-64329","kev_date_added":null,"published":"2025-11-07"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"Go Vulnerability Database","prefix":"GO"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2025-11-06","vendors":["containerd"]},"summary":"Local attackers can escalate privileges due to overly broad default permissions on containerd runtime directories.","url":"https://insights.sbomify.com/CVE-2024-25621/"}