{"answers":{"affected":"6 open source packages ship an affected version, including github.com/schollz/croc/v9, github.com/schollz/croc and github.com/schollz/croc/v6. It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-43620 exists.","fix":"Upgrade github.com/schollz/croc/v9 to 9.6.16 or later.","what":"CVE-2023-43620 is a high-severity 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-43620 and fix it if it is affected.\n\nWhat it is: CVE-2023-43620 is a high-severity 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: It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-43620 exists.\n\nAffected packages and fixed versions:\n- github.com/schollz/croc/v9 (Go): affected all versions; fixed in 9.6.16\n- github.com/schollz/croc/v9 (Go): affected all versions; fixed in 9.6.16\n- github.com/schollz/croc/v9 (Go): affected all versions; fixed in 9.6.16\n- github.com/schollz/croc (Go): affected all versions; no fix listed\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\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-43620/ (Markdown: https://insights.sbomify.com/CVE-2023-43620/index.md)","id":"CVE-2023-43620","markdown":"https://insights.sbomify.com/CVE-2023-43620/index.md","name":"CVE-2023-43620","record":{"aliases":["CLEANSTART-2024-RB67185","GHSA-364c-vvqx-446c","GO-2023-2068"],"analysis":{"component_type":"developer_tool","fix_type":"upgrade","impacts":["other"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Croc file transfer tool","requires_auth":"none","summary":"Attackers can inject ANSI escape sequences via filenames to manipulate the receiver's terminal display in Croc.","user_interaction":"required","vuln_class":"other"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"croc","vendor":"schollz"}],"cvss":{"score":7.8,"severity":"high","source":"nvd","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-116","name":"Improper Encoding or Escaping of Output"}],"description":"An issue was discovered in Croc through 9.6.5. A sender may place ANSI or CSI escape sequences in a filename to attack the terminal device of a receiver.","ecosystems":["Go"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"Croc sender may place ANSI or CSI escape sequences in filename to attach receiver's terminal device","id":"CVE-2023-43620","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":null,"products":[],"type":"other","year":"2023"},"n_packages":6,"n_references":3,"next":{"headline":"Croc may expose secret to local users","id":"CVE-2023-43621"},"packages":[{"ecosystem":"Go","fixed":[],"introduced":["0"],"last_affected":[],"package":"github.com/schollz/croc","purl":"pkg:golang/github.com/schollz/croc","source":"GO-2023-2068"},{"ecosystem":"Go","fixed":[],"introduced":["0"],"last_affected":[],"package":"github.com/schollz/croc/v6","purl":"pkg:golang/github.com/schollz/croc/v6","source":"GO-2023-2068"},{"ecosystem":"Go","fixed":[],"introduced":["0"],"last_affected":[],"package":"github.com/schollz/croc/v8","purl":"pkg:golang/github.com/schollz/croc/v8","source":"GO-2023-2068"},{"ecosystem":"Go","fixed":["9.6.16"],"introduced":["0"],"last_affected":[],"package":"github.com/schollz/croc/v9","purl":null,"source":"GHSA-364c-vvqx-446c"},{"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":"GHSA-364c-vvqx-446c"},{"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-2068"}],"prev":{"headline":"Croc sender may send dangerous new files to receiver","id":"CVE-2023-43619"},"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":5.5,"headline":"Sender can cause a receiver to overwrite files during ZIP extraction in Croc","id":"CVE-2023-43616","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":"no","exploitation":"poc","technical_impact":"total"},"state":"PUBLISHED","updated":"2024-09-24","vendors":["n/a"]},"summary":"Attackers can inject ANSI escape sequences via filenames to manipulate the receiver's terminal display in Croc.","url":"https://insights.sbomify.com/CVE-2023-43620/"}