{"id":"CVE-2023-43620","published":"2023-09-20T00:00:00Z","modified":"2024-09-24T19:16:40Z","title":"An issue was discovered in Croc through 9.6.5","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.00365,"percentile":0.31139,"provenance":"source"},"cwes":[],"references":[{"url":"https://www.openwall.com/lists/oss-security/2023/09/08/2","tags":[]},{"url":"https://github.com/schollz/croc/issues/595","tags":[]},{"url":"http://www.openwall.com/lists/oss-security/2023/09/21/5","tags":["mailing-list"]}],"priority":{"score":6.2,"factors":[{"name":"EPSS percentile","points":6.23}]},"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total","timestamp":"2024-09-24T19:16:20.888385Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/schollz/croc/v9","vulnerableRanges":["<9.6.16"],"patched":["9.6.16"],"from":["GHSA-364c-vvqx-446c","GO-2023-2068"],"provenance":"source"},{"ecosystem":"Go","package":"github.com/schollz/croc","vulnerableRanges":["all versions"],"patched":[],"from":["GO-2023-2068"],"provenance":"source"},{"ecosystem":"Go","package":"github.com/schollz/croc/v6","vulnerableRanges":["all versions"],"patched":[],"from":["GO-2023-2068"],"provenance":"source"},{"ecosystem":"Go","package":"github.com/schollz/croc/v8","vulnerableRanges":["all versions"],"patched":[],"from":["GO-2023-2068"],"provenance":"source"}],"summary":{"text":"The flaw is in Croc (through version 9.6.5), a file-transfer tool, where filenames received from a sender are not sanitised before being displayed. Because the filename can contain ANSI or CSI escape sequences, a malicious sender can cause the receiver's terminal to interpret them as control commands rather than plain text. An attacker who is able to send a file to a receiver can embed these sequences in the filename to manipulate or attack the receiver's terminal device.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:21:18Z"},"euvd":{"id":"EUVD-2023-2400","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-github-com-schollz-croc-v9-cve-2023-43616","parents":[{"from":"CVE-2023-43616","to":"CVE-2023-43620","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["src/utils/utils.go"],"commits":["https://github.com/schollz/croc/commit/4929635eb875d2304e9415b8f4aa62af9e1a2339","https://github.com/schollz/croc/commit/3f12f75fae2e844c555ec01eeba0b8474938e93a"],"basis":"shared function","functions":["UnzipDirectory"]}]}]}}