{"answers":{"affected":"3 open source packages ship an affected version, including github.com/containerd/containerd/v2. It affects 1 product.","exploited":"There is no known exploitation of CVE-2025-47290 in the wild and no public exploit code.","fix":"Upgrade github.com/containerd/containerd/v2 to 2.1.1 or later.","what":"CVE-2025-47290 is a high-severity vulnerability in containerd, published on 20 May 2025."},"fix_prompt":"Check this codebase for CVE-2025-47290 and fix it if it is affected.\n\nWhat it is: CVE-2025-47290 is a high-severity vulnerability in containerd, published on 20 May 2025. \nExploitation: There is no known exploitation of CVE-2025-47290 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- github.com/containerd/containerd/v2 (Go): affected from 2.1.0; fixed in 2.1.1\n- github.com/containerd/containerd/v2 (Go): affected from 2.1.0; fixed in 2.1.1\n- github.com/containerd/containerd/v2 (Go): affected from 2.1.0; fixed in 2.1.1\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-2025-47290/ (Markdown: https://insights.sbomify.com/CVE-2025-47290/index.md)","id":"CVE-2025-47290","markdown":"https://insights.sbomify.com/CVE-2025-47290/index.md","name":"CVE-2025-47290","record":{"aliases":["BELL-CVE-2025-47290","GHSA-cm76-qm8v-3j95","GO-2025-3699","MINI-65jq-g62h-p52c","openSUSE-SU-2025:15146-1"],"analysis":null,"analysis_generated_by":null,"assigner":"GitHub_M","cpe":[{"product":"containerd","vendor":"linuxfoundation"}],"cvss":{"score":7.6,"severity":"high","source":"cna","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H/E:U","version":"4.0"},"cwes":[{"id":"CWE-367","name":"Time-of-check Time-of-use (TOCTOU) Race Condition"}],"description":"containerd is a container runtime. A time-of-check to time-of-use (TOCTOU) vulnerability was found in containerd v2.1.0. While unpacking an image during an image pull, specially crafted container images could arbitrarily modify the host file system. The only affected version of containerd is 2.1.0.  Other versions of containerd are not affected. This bug has been fixed in containerd 2.1.1. Users should update to this version to resolve the issue. As a workaround, ensure that only trusted images are used and that only trusted users have permissions to import images.","ecosystems":["Go","openSUSE:Tumbleweed"],"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 vulnerable to host filesystem access during image unpack","id":"CVE-2025-47290","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":null,"products":[],"type":null,"year":"2025"},"n_packages":4,"n_references":3,"next":{"headline":"containerd CRI plugin: Incorrect cgroup hierarchy assignment for containers running in usernamespaced Kubernetes pods.","id":"CVE-2025-47291"},"packages":[{"ecosystem":"Go","fixed":["2.1.1"],"introduced":["2.1.0"],"last_affected":[],"package":"github.com/containerd/containerd/v2","purl":null,"source":"GHSA-cm76-qm8v-3j95"},{"ecosystem":"Go","fixed":["2.1.1"],"introduced":["2.1.0"],"last_affected":[],"package":"github.com/containerd/containerd/v2","purl":"pkg:golang/github.com/containerd/containerd/v2","source":"GHSA-cm76-qm8v-3j95"},{"ecosystem":"Go","fixed":["2.1.1"],"introduced":["2.1.0"],"last_affected":[],"package":"github.com/containerd/containerd/v2","purl":"pkg:golang/github.com/containerd/containerd/v2","source":"GO-2025-3699"},{"ecosystem":"openSUSE:Tumbleweed","fixed":["0.29.0-1.1"],"introduced":["0"],"last_affected":[],"package":"kind","purl":"pkg:rpm/opensuse/kind\u0026distro=openSUSE%20Tumbleweed","source":"openSUSE-SU-2025:15146-1"}],"prev":{"headline":"Stored XSS in CE Phoenix Cart Testimonials Allows Account Takeover if Missing HttpOnly Flag","id":"CVE-2025-47289"},"products":["containerd"],"published":"2025-05-20","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.3,"headline":"containerd user ID handling bypass allows runAsNonRoot evasion","id":"CVE-2026-46680","kev_date_added":null,"published":"2026-07-01"},{"cvss_score":7.3,"headline":"containerd affected by a local privilege escalation via wide permissions on CRI directory","id":"CVE-2024-25621","kev_date_added":null,"published":"2025-11-06"},{"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":"CC BY 4.0","name":"SUSE","prefix":"openSUSE"},{"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-05-20","vendors":["containerd"]},"summary":null,"url":"https://insights.sbomify.com/CVE-2025-47290/"}