{"answers":{"affected":"","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-24965 exists.","fix":"Upgrade to a fixed version.","what":"CVE-2025-24965 is a high-severity path traversal vulnerability in containers crun, published on 19 Feb 2025. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2025-24965 and fix it if it is affected.\n\nWhat it is: CVE-2025-24965 is a high-severity path traversal vulnerability in containers crun, published on 19 Feb 2025. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-24965 exists.\n\nAffected product: containers crun. No package-level version data is available, so check the vendor advisory linked from the reference page.\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-24965/ (Markdown: https://insights.sbomify.com/CVE-2025-24965/index.md)","id":"CVE-2025-24965","markdown":"https://insights.sbomify.com/CVE-2025-24965/index.md","name":"CVE-2025-24965","record":{"aliases":["GHSA-f42g-r5jj-qh4j","OESA-2025-1417","OESA-2025-1564","OESA-2026-1008","SUSE-SU-2026:20452-1","UBUNTU-CVE-2025-24965","openSUSE-SU-2025:14763-1"],"analysis":{"component_type":"container_or_infrastructure","fix_type":"upgrade","impacts":["data_modify","privilege_escalation"],"network_reachable":"yes","non_default_config":false,"product_category":"OCI container runtime","requires_auth":"low_privilege","summary":"A malicious container image can exploit a symlink vulnerability in crun to create or overwrite files on the host system, potentially leading to privilege escalation.","user_interaction":"required","vuln_class":"path_traversal"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[],"cvss":{"score":8.5,"severity":"high","source":"cna","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N","version":"4.0"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"description":"crun is an open source OCI Container Runtime fully written in C. In affected versions A malicious container image could trick the krun handler into escaping the root filesystem, allowing file creation or modification on the host. No special permissions are needed, only the ability for the current user to write to the target file. The problem is fixed in crun 1.20 and all users are advised to upgrade. There are no known workarounds for this vulnerability.","ecosystems":["SUSE:Linux Micro 6.0","openSUSE:Tumbleweed"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":".krun_config.json symlink attack creates or overwrites file on the host in crun","id":"CVE-2025-24965","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"path_traversal","year":"2025"},"n_packages":2,"n_references":3,"next":{"headline":"HTML Injection in reNgine","id":"CVE-2025-24966"},"packages":[{"ecosystem":"SUSE:Linux Micro 6.0","fixed":["1.14-2.1"],"introduced":["0"],"last_affected":[],"package":"crun","purl":"pkg:rpm/suse/crun\u0026distro=SUSE%20Linux%20Micro%206.0","source":"SUSE-SU-2026:20452-1"},{"ecosystem":"openSUSE:Tumbleweed","fixed":["1.20-1.1"],"introduced":["0"],"last_affected":[],"package":"crun","purl":"pkg:rpm/opensuse/crun\u0026distro=openSUSE%20Tumbleweed","source":"openSUSE-SU-2025:14763-1"}],"prev":{"headline":"Remote Code Execution when accessing a malicious website while Vitest API server is listening","id":"CVE-2025-24964"},"products":["crun"],"published":"2025-02-19","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"SUSE","prefix":"SUSE"},{"class":"attribution","licence":"CC BY 4.0","name":"SUSE","prefix":"openSUSE"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"total"},"state":"PUBLISHED","updated":"2025-02-19","vendors":["containers"]},"summary":"A malicious container image can exploit a symlink vulnerability in crun to create or overwrite files on the host system, potentially leading to privilege escalation.","url":"https://insights.sbomify.com/CVE-2025-24965/"}