Skip to content

Croc sender may place ANSI or CSI escape sequences in filename to attach receiver's terminal device

High severity GitHub Reviewed Published Sep 20, 2023 to the GitHub Advisory Database • Updated Nov 4, 2023

Package

gomod github.com/schollz/croc/v9 (Go)

Affected versions

<= 9.6.5

Patched versions

None

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.

References

Published by the National Vulnerability Database Sep 20, 2023
Published to the GitHub Advisory Database Sep 20, 2023
Reviewed Sep 21, 2023
Last updated Nov 4, 2023

Severity

High
7.8
/ 10

CVSS base metrics

Attack vector
Local
Attack complexity
Low
Privileges required
None
User interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Weaknesses

CVE ID

CVE-2023-43620

GHSA ID

GHSA-364c-vvqx-446c

Source code

Checking history
See something to contribute? Suggest improvements for this vulnerability.