{"answers":{"affected":"6 open source packages ship an affected version, including github.com/schollz/croc, github.com/schollz/croc/v6 and github.com/schollz/croc/v8. It affects 1 product.","exploited":"There is no known exploitation of CVE-2023-43616 in the wild and no public exploit code.","fix":"Upgrade github.com/schollz/croc to 9.6.16 or later.","what":"CVE-2023-43616 is a medium-severity path traversal vulnerability in n/a, published on 20 Sep 2023. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2023-43616 and fix it if it is affected.\n\nWhat it is: CVE-2023-43616 is a medium-severity path traversal vulnerability in n/a, published on 20 Sep 2023. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2023-43616 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- github.com/schollz/croc (Go): affected all versions; no fix listed\n- github.com/schollz/croc (Go): affected all versions; fixed in 9.6.16\n- github.com/schollz/croc (Go): affected all versions; fixed in 9.6.16\n- github.com/schollz/croc/v6 (Go): affected all versions; no fix listed\n- github.com/schollz/croc/v8 (Go): affected all versions; no fix listed\n- github.com/schollz/croc/v9 (Go): affected all versions; fixed in 9.6.16\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-2023-43616/ (Markdown: https://insights.sbomify.com/CVE-2023-43616/index.md)","id":"CVE-2023-43616","markdown":"https://insights.sbomify.com/CVE-2023-43616/index.md","name":"CVE-2023-43616","record":{"aliases":["CLEANSTART-2024-MU32583","GHSA-8c8w-f7wp-2jr2","GO-2023-2071"],"analysis":{"component_type":"developer_tool","fix_type":"upgrade","impacts":["data_modify"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Croc file transfer tool","requires_auth":"none","summary":"A malicious sender can force a receiver to overwrite arbitrary files during ZIP extraction in the Croc file transfer tool.","user_interaction":"required","vuln_class":"path_traversal"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"croc","vendor":"schollz"}],"cvss":{"score":5.5,"severity":"medium","source":"nvd","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N","version":"3.1"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"description":"An issue was discovered in Croc through 9.6.5. A sender can cause a receiver to overwrite files during ZIP extraction.","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":"Sender can cause a receiver to overwrite files during ZIP extraction in Croc","id":"CVE-2023-43616","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":null,"products":[],"type":"path_traversal","year":"2023"},"n_packages":6,"n_references":3,"next":{"headline":"Cros secrets may be disclosed to untrusted relay","id":"CVE-2023-43617"},"packages":[{"ecosystem":"Go","fixed":[],"introduced":["0"],"last_affected":[],"package":"github.com/schollz/croc","purl":"pkg:golang/github.com/schollz/croc","source":"GO-2023-2071"},{"ecosystem":"Go","fixed":["9.6.16"],"introduced":["0"],"last_affected":[],"package":"github.com/schollz/croc","purl":null,"source":"GHSA-8c8w-f7wp-2jr2"},{"ecosystem":"Go","fixed":["9.6.16"],"introduced":["0"],"last_affected":[],"package":"github.com/schollz/croc","purl":"pkg:golang/github.com/schollz/croc","source":"GHSA-8c8w-f7wp-2jr2"},{"ecosystem":"Go","fixed":[],"introduced":["0"],"last_affected":[],"package":"github.com/schollz/croc/v6","purl":"pkg:golang/github.com/schollz/croc/v6","source":"GO-2023-2071"},{"ecosystem":"Go","fixed":[],"introduced":["0"],"last_affected":[],"package":"github.com/schollz/croc/v8","purl":"pkg:golang/github.com/schollz/croc/v8","source":"GO-2023-2071"},{"ecosystem":"Go","fixed":["9.6.16"],"introduced":["0"],"last_affected":[],"package":"github.com/schollz/croc/v9","purl":"pkg:golang/github.com/schollz/croc/v9","source":"GO-2023-2071"}],"prev":{"headline":"Memory corruption in n/a","id":"CVE-2023-43615"},"products":["n/a"],"published":"2023-09-20","related":[{"cvss_score":7.8,"headline":"Croc sender may send dangerous new files to receiver","id":"CVE-2023-43619","kev_date_added":null,"published":"2023-09-20"},{"cvss_score":7.8,"headline":"Croc sender may place ANSI or CSI escape sequences in filename to attach receiver's terminal device","id":"CVE-2023-43620","kev_date_added":null,"published":"2023-09-20"},{"cvss_score":5.3,"headline":"Cros secrets may be disclosed to untrusted relay","id":"CVE-2023-43617","kev_date_added":null,"published":"2023-09-20"},{"cvss_score":5.3,"headline":"Croc requires senders to provide local IP addresses in cleartext","id":"CVE-2023-43618","kev_date_added":null,"published":"2023-09-20"},{"cvss_score":4.7,"headline":"Croc may expose secret to local users","id":"CVE-2023-43621","kev_date_added":null,"published":"2023-09-20"}],"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":"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":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-02","vendors":["n/a"]},"summary":"A malicious sender can force a receiver to overwrite arbitrary files during ZIP extraction in the Croc file transfer tool.","url":"https://insights.sbomify.com/CVE-2023-43616/"}