{"answers":{"affected":"6 open source packages ship an affected version, including github.com/mholt/archiver/v3 and github.com/mholt/archiver.","exploited":"There is no known exploitation of CVE-2025-3445 in the wild and no public exploit code.","fix":"Product is end of life, replace it.","what":"CVE-2025-3445 is a high-severity path traversal vulnerability in github.com/mholt/archiver/v3, published on 13 Apr 2025. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2025-3445 and fix it if it is affected.\n\nWhat it is: CVE-2025-3445 is a high-severity path traversal vulnerability in github.com/mholt/archiver/v3, published on 13 Apr 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2025-3445 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- github.com/mholt/archiver/v3 (Go): affected all versions; no fix listed\n- github.com/mholt/archiver/v3 (Go): affected all versions up to 3.5.1; no fix listed\n- github.com/mholt/archiver/v3 (Go): affected all versions up to 3.5.1; no fix listed\n- github.com/mholt/archiver (Go): affected all versions; no fix listed\n- github.com/mholt/archiver (Go): affected all versions up to 3.5.1; no fix listed\n- github.com/mholt/archiver (Go): affected all versions up to 3.5.1; no fix listed\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-3445/ (Markdown: https://insights.sbomify.com/CVE-2025-3445/index.md)","id":"CVE-2025-3445","markdown":"https://insights.sbomify.com/CVE-2025-3445/index.md","name":"CVE-2025-3445","record":{"aliases":["GHSA-7vpp-9cxj-q8gv","GO-2025-3605","MINI-4pvv-3gg5-9fmr","MINI-5fjx-vf2p-58pf","MINI-5x9p-9gjg-7789","MINI-c4h3-v36j-448f","MINI-rhqr-v3xx-hcrw","MINI-xf6g-2h77-w3vm","openSUSE-SU-2025:15001-1"],"analysis":{"component_type":"library","fix_type":"end_of_life","impacts":["code_execution","privilege_escalation"],"network_reachable":"yes","non_default_config":false,"product_category":"Go archiving library","requires_auth":"none","summary":"A path traversal vulnerability in the mholt/archiver Go library allows attackers to overwrite files via crafted ZIP archives, potentially leading to code execution or privilege escalation.","user_interaction":"not_required","vuln_class":"path_traversal"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"JFROG","cpe":[],"cvss":{"score":8.1,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:H/A:L","version":"3.1"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"description":"A Path Traversal \"Zip Slip\" vulnerability has been identified in mholt/archiver in Go. This vulnerability allows using a crafted ZIP file containing path traversal symlinks to create or overwrite files with the user's privileges or application utilizing the library.\n\nWhen using the archiver.Unarchive functionality with ZIP files, like this: archiver.Unarchive(zipFile, outputDir),  A crafted ZIP file can be extracted in such a way that it writes files to the affected system with the same privileges as the application executing this vulnerable functionality. Consequently, sensitive files may be overwritten, potentially leading to privilege escalation, code execution, and other severe outcomes in some cases.\n\nIt's worth noting that a similar vulnerability was found in TAR files (CVE-2024-0406). Although a fix was implemented, it hasn't been officially released, and the affected project has since been deprecated. The successor to mholt/archiver is a new project called mholt/archives, and its initial release (v0.1.0) removes the Unarchive() functionality.","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":"mholt/archiver Vulnerable to Path Traversal via Crafted ZIP File","id":"CVE-2025-3445","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":null,"products":[],"type":"path_traversal","year":"2025"},"n_packages":7,"n_references":1,"next":{"headline":"Members Without Guest Invite Permissions Can Add Guests to Teams","id":"CVE-2025-3446"},"packages":[{"ecosystem":"Go","fixed":[],"introduced":["0"],"last_affected":[],"package":"github.com/mholt/archiver","purl":"pkg:golang/github.com/mholt/archiver","source":"GO-2025-3605"},{"ecosystem":"Go","fixed":[],"introduced":["0"],"last_affected":["3.5.1"],"package":"github.com/mholt/archiver","purl":null,"source":"GHSA-7vpp-9cxj-q8gv"},{"ecosystem":"Go","fixed":[],"introduced":["0"],"last_affected":["3.5.1"],"package":"github.com/mholt/archiver","purl":"pkg:golang/github.com/mholt/archiver","source":"GHSA-7vpp-9cxj-q8gv"},{"ecosystem":"Go","fixed":[],"introduced":["0"],"last_affected":[],"package":"github.com/mholt/archiver/v3","purl":"pkg:golang/github.com/mholt/archiver/v3","source":"GO-2025-3605"},{"ecosystem":"Go","fixed":[],"introduced":["0"],"last_affected":["3.5.1"],"package":"github.com/mholt/archiver/v3","purl":null,"source":"GHSA-7vpp-9cxj-q8gv"},{"ecosystem":"Go","fixed":[],"introduced":["0"],"last_affected":["3.5.1"],"package":"github.com/mholt/archiver/v3","purl":"pkg:golang/github.com/mholt/archiver/v3","source":"GHSA-7vpp-9cxj-q8gv"},{"ecosystem":"openSUSE:Tumbleweed","fixed":["10.0.3-2.1"],"introduced":["0"],"last_affected":[],"package":"forgejo","purl":"pkg:rpm/opensuse/forgejo\u0026distro=openSUSE%20Tumbleweed","source":"openSUSE-SU-2025:15001-1"}],"prev":{"headline":"Local File Inclusion","id":"CVE-2025-3444"},"products":["github.com/mholt/archiver/v3"],"published":"2025-04-13","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":"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":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2025-04-14","vendors":["github.com/mholt/archiver/v3"]},"summary":"A path traversal vulnerability in the mholt/archiver Go library allows attackers to overwrite files via crafted ZIP archives, potentially leading to code execution or privilege escalation.","url":"https://insights.sbomify.com/CVE-2025-3445/"}