schollz/croc · Security
Croc sender may place ANSI or CSI escape sequences in filename to attach receiver's terminal device
- GHSA ID
- GHSA-364c-vvqx-446c
- CVE ID
- CVE-2023-43620
- Severity
- high
- Published
- Updated
- CVSS
- 7.8 · CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- CVSS v3
- 7.8 · CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Description
An issue was discovered in Croc before 9.6.16. A sender may place ANSI or CSI escape sequences in a filename to attack the terminal device of a receiver.
CWEs
- CWE-116 · Improper Encoding or Escaping of Output
References
- https://nvd.nist.gov/vuln/detail/CVE-2023-43620 ↗
- https://github.com/schollz/croc/issues/595 ↗
- https://www.openwall.com/lists/oss-security/2023/09/08/2 ↗
- http://www.openwall.com/lists/oss-security/2023/09/21/5 ↗
- https://github.com/schollz/croc/pull/697 ↗
- https://github.com/schollz/croc/commit/3f12f75fae2e844c555ec01eeba0b8474938e93a ↗
- https://github.com/advisories/GHSA-364c-vvqx-446c ↗