{"answers":{"affected":"3 open source packages ship an affected version, including github.com/jaredallard/archives.","exploited":"There is no known exploitation of CVE-2025-64346 in the wild and no public exploit code.","fix":"Upgrade github.com/jaredallard/archives to 1.0.1 or later.","what":"CVE-2025-64346 is a medium-severity path traversal vulnerability in jaredallard archives, published on 7 Nov 2025. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2025-64346 and fix it if it is affected.\n\nWhat it is: CVE-2025-64346 is a medium-severity path traversal vulnerability in jaredallard archives, published on 7 Nov 2025. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2025-64346 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- github.com/jaredallard/archives (Go): affected all versions; fixed in 1.0.1\n- github.com/jaredallard/archives (Go): affected all versions; fixed in 1.0.1\n- github.com/jaredallard/archives (Go): affected all versions; fixed in 1.0.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-64346/ (Markdown: https://insights.sbomify.com/CVE-2025-64346/index.md)","id":"CVE-2025-64346","markdown":"https://insights.sbomify.com/CVE-2025-64346/index.md","name":"CVE-2025-64346","record":{"aliases":["GHSA-j95m-rcjp-q69h","GO-2025-3581"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["code_execution","data_modify"],"network_reachable":"yes","non_default_config":false,"product_category":"Go archive library","requires_auth":"low_privilege","summary":"A path traversal vulnerability in the Go archives library allows attackers to execute code or modify files via malicious archives.","user_interaction":"not_required","vuln_class":"path_traversal"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[],"cvss":{"score":6,"severity":"medium","source":"cna","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:N/VI:H/VA:L/SC:N/SI:N/SA:N","version":"4.0"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"description":"archives is a Go library for extracting archives (tar, zip, etc.). Version 1.0.0 does not prevent a malicious user to feed a specially crafted archive to the library causing RCE, modification of files or other malignancies in the context of whatever the user is running this library as, through the program that imports it. Severity depends on user permissions, environment and how arbitrary archives are passed. This issue is fixed in version 1.0.1.","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":"archives: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')","id":"CVE-2025-64346","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":null,"products":[],"type":"path_traversal","year":"2025"},"n_packages":3,"n_references":2,"next":{"headline":"Apollo Router Improperly Enforces Renamed Access Control Directives","id":"CVE-2025-64347"},"packages":[{"ecosystem":"Go","fixed":["1.0.1"],"introduced":["0"],"last_affected":[],"package":"github.com/jaredallard/archives","purl":null,"source":"GHSA-j95m-rcjp-q69h"},{"ecosystem":"Go","fixed":["1.0.1"],"introduced":["0"],"last_affected":[],"package":"github.com/jaredallard/archives","purl":"pkg:golang/github.com/jaredallard/archives","source":"GHSA-j95m-rcjp-q69h"},{"ecosystem":"Go","fixed":["1.0.1"],"introduced":["0"],"last_affected":[],"package":"github.com/jaredallard/archives","purl":"pkg:golang/github.com/jaredallard/archives","source":"GO-2025-3581"}],"prev":{"headline":"Wasmtime provides unsound API access to a WebAssembly shared linear memory","id":"CVE-2025-64345"},"products":["archives"],"published":"2025-11-07","related":[],"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":"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-07","vendors":["jaredallard"]},"summary":"A path traversal vulnerability in the Go archives library allows attackers to execute code or modify files via malicious archives.","url":"https://insights.sbomify.com/CVE-2025-64346/"}