{"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-43621 exists.","fix":"Upgrade github.com/schollz/croc/v9 to 9.6.16 or later.","what":"CVE-2023-43621 is a medium-severity vulnerability in n/a, published on 20 Sep 2023. It can only be exploited from the same machine or local network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2023-43621 and fix it if it is affected.\n\nWhat it is: CVE-2023-43621 is a medium-severity vulnerability in n/a, published on 20 Sep 2023. It can only be exploited from the same machine or local network, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-43621 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-43621/ (Markdown: https://insights.sbomify.com/CVE-2023-43621/index.md)","id":"CVE-2023-43621","markdown":"https://insights.sbomify.com/CVE-2023-43621/index.md","name":"CVE-2023-43621","record":{"aliases":["CLEANSTART-2024-EW13747","GHSA-7g3v-4ggr-xvjf","GO-2023-2069"],"analysis":{"component_type":"developer_tool","fix_type":"upgrade","impacts":["data_read"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Croc file transfer tool","requires_auth":"low_privilege","summary":"Local attackers can read the shared secret from command-line arguments, exposing sensitive data during file transfers.","user_interaction":"not_required","vuln_class":"information_disclosure"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"croc","vendor":"schollz"}],"cvss":{"score":4.7,"severity":"medium","source":"nvd","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N","version":"3.1"},"cwes":[],"description":"An issue was discovered in Croc through 9.6.5. The shared secret, located on a command line, can be read by local users who list all processes and their arguments.","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 may expose secret to local users","id":"CVE-2023-43621","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":null,"products":[],"type":"information_disclosure","year":"2023"},"n_packages":6,"n_references":3,"next":{"headline":"Apache HTTP Server: DoS in HTTP/2 with initial windows size 0","id":"CVE-2023-43622"},"packages":[{"ecosystem":"Go","fixed":[],"introduced":["0"],"last_affected":[],"package":"github.com/schollz/croc","purl":"pkg:golang/github.com/schollz/croc","source":"GO-2023-2069"},{"ecosystem":"Go","fixed":[],"introduced":["0"],"last_affected":[],"package":"github.com/schollz/croc/v6","purl":"pkg:golang/github.com/schollz/croc/v6","source":"GO-2023-2069"},{"ecosystem":"Go","fixed":[],"introduced":["0"],"last_affected":[],"package":"github.com/schollz/croc/v8","purl":"pkg:golang/github.com/schollz/croc/v8","source":"GO-2023-2069"},{"ecosystem":"Go","fixed":["9.6.16"],"introduced":["0"],"last_affected":[],"package":"github.com/schollz/croc/v9","purl":null,"source":"GHSA-7g3v-4ggr-xvjf"},{"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-7g3v-4ggr-xvjf"},{"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-2069"}],"prev":{"headline":"Croc sender may place ANSI or CSI escape sequences in filename to attach receiver's terminal device","id":"CVE-2023-43620"},"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.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"}],"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":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2024-09-24","vendors":["n/a"]},"summary":"Local attackers can read the shared secret from command-line arguments, exposing sensitive data during file transfers.","url":"https://insights.sbomify.com/CVE-2023-43621/"}