CVE-2023-43620 json
Croc sender may place ANSI or CSI escape sequences in filename to attach receiver's terminal device
published 2023-09-20 3 y ago modified 2026-09-10 1 mo ago also GHSA-364c-vvqx-446c , GO-2023-2068 , EUVD-2023-2400
- cvss
- 7.8
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.4%
- EPSS 0.4% chance of exploitation in 30 days, percentile 30%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- go github.com/schollz/croc/v9 9.6.16
- croc Alpine 3.24, Alpine 3.23, Alpine 3.22 10.0.11-r0
alpine advisories ALPINE-CVE-2023-43620
Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- github.com/schollz/croc@3f12f75 commit
- github.com/schollz/croc#697 pull request
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2023-43620 updated cvss 8.3
croc: ANSI or CSI escape sequences in filenames can be used attack the receiver's terminal.
-
Red Hat All currently supported Red Hat productsnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- no
- Technical impact
- total
- Assessed
- 2 y ago
Exploit prediction
0.36% chance of exploitation in the next 30 days, higher than 30% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- openwall.com https://www.openwall.com/lists/oss-security/2023/09/08/2 referenced PoC, tagged "exploit" by a source, unverified
- github.com https://github.com/schollz/croc/issues/595 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 7.8 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| GitHub | 3.1 | 7.8 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| go | github.com/schollz/croc/v9 | <9.6.16 |
9.6.16 |
| go | github.com/schollz/croc | all versions |
no fix listed |
| go | github.com/schollz/croc/v6 | all versions |
no fix listed |
| go | github.com/schollz/croc/v8 | all versions |
no fix listed |
Classification
- Weakness
-
- CWE-116 Improper Encoding or Escaping of Output
References
-
github.com
/schollz/croc/pull/697
web, patch
-
github.com
/schollz/croc/commit/3f12f75fae2e844c555ec01eeba0b8474938e93a
web, patch
-
openwall.com
/lists/oss-security/2023/09/08/2
web, exploit, mailing-list, third-party-advisory
-
github.com
/schollz/croc/issues/595
web, exploit, issue-tracking, third-party-advisory, report
-
openwall.com
/lists/oss-security/2023/09/21/5
mailing-list, web
-
nvd.nist.gov
/vuln/detail/CVE-2023-43620
advisory
-
github.com
/schollz/croc
package
-
github.com
/advisories/GHSA-364c-vvqx-446c
advisory
Sources
- CVE List CVE-2023-43620
- GitHub Advisory GHSA-364c-vvqx-446c
- NVD CVE-2023-43620
- OSV GO-2023-2068
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.