{"answers":{"affected":"2 open source packages ship an affected version, including youki. It affects 1 product.","exploited":"There is no known exploitation of CVE-2025-62161 in the wild and no public exploit code.","fix":"Upgrade youki to 0.5.7 or later.","what":"CVE-2025-62161 is a high-severity vulnerability in youki-dev youki, published on 5 Nov 2025."},"fix_prompt":"Check this codebase for CVE-2025-62161 and fix it if it is affected.\n\nWhat it is: CVE-2025-62161 is a high-severity vulnerability in youki-dev youki, published on 5 Nov 2025. \nExploitation: There is no known exploitation of CVE-2025-62161 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- youki (crates.io): affected all versions; fixed in 0.5.7\n- youki (crates.io): affected all versions; fixed in 0.5.7\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-62161/ (Markdown: https://insights.sbomify.com/CVE-2025-62161/index.md)","id":"CVE-2025-62161","markdown":"https://insights.sbomify.com/CVE-2025-62161/index.md","name":"CVE-2025-62161","record":{"aliases":["GHSA-4g74-7cff-xcv8"],"analysis":null,"analysis_generated_by":null,"assigner":"GitHub_M","cpe":[{"product":"youki","vendor":"youki-dev"}],"cvss":{"score":7.3,"severity":"high","source":"cna","vector":"CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:A/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H","version":"4.0"},"cwes":[{"id":"CWE-61","name":"UNIX Symbolic Link (Symlink) Following"},{"id":"CWE-363","name":"Race Condition Enabling Link Following"}],"description":"Youki is a container runtime written in Rust. In versions 0.5.6 and below, the initial validation of the source /dev/null is insufficient, allowing container escape when youki utilizes bind mounting the container's /dev/null as a file mask. This issue is fixed in version 0.5.7.","ecosystems":["crates.io"],"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":"youki container escape via \"masked path\" abuse due to mount race conditions","id":"CVE-2025-62161","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"crates.io","product":null,"products":[],"type":null,"year":"2025"},"n_packages":2,"n_references":3,"next":{"headline":"cel-rust May Panic During Parsing of Invalid CEL Expressions","id":"CVE-2025-62162"},"packages":[{"ecosystem":"crates.io","fixed":["0.5.7"],"introduced":["0"],"last_affected":[],"package":"youki","purl":null,"source":"GHSA-4g74-7cff-xcv8"},{"ecosystem":"crates.io","fixed":["0.5.7"],"introduced":["0"],"last_affected":[],"package":"youki","purl":"pkg:cargo/youki","source":"GHSA-4g74-7cff-xcv8"}],"prev":{"headline":"External Secrets Operator's BeyondTrust Provider has Insecure Secret Retrieval","id":"CVE-2025-62159"},"products":["youki"],"published":"2025-11-05","related":[{"cvss_score":7.3,"headline":"youki container escape and denial of service due to arbitrary write gadgets and procfs write redirects","id":"CVE-2025-62596","kev_date_added":null,"published":"2025-11-05"},{"cvss_score":7,"headline":"Youki Symlink Following Vulnerability","id":"CVE-2025-54867","kev_date_added":null,"published":"2025-08-14"}],"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":"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":"partial"},"state":"PUBLISHED","updated":"2025-11-06","vendors":["youki-dev"]},"summary":null,"url":"https://insights.sbomify.com/CVE-2025-62161/"}