Skip to content

CVE-2022-23465 SwiftTerm vulnerable to arbitrary command execution

HighCVSS 7.8 EPSS 0.45%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: partial

Description

SwiftTerm is a Xterm/VT100 Terminal emulator. Prior to commit a94e6b24d24ce9680ad79884992e1dff8e150a31, an attacker could modify the window title via a certain character escape sequence and then insert it back to the command line in the user's terminal, e.g. when the user views a file containing the malicious sequence, which could allow the attacker to execute arbitrary commands. Version a94e6b24d24ce9680ad79884992e1dff8e150a31 contains a patch for this issue. There are no known workarounds available.

Upgrade path

3 packages: 2 fixed.

PackageAffectedFixed inStatus
swiftterm project swiftterm < 2022-12-02 2022-12-02 Fixed
swifturl github.com/migueldeicaza/SwiftTerm(SwiftURL) < 1.2.0 1.2.0 Fixed
migueldeicaza SwiftTerm = < a94e6b24d24ce9680ad79884992e1dff8e150a31 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
swifturl github.com/migueldeicaza/SwiftTerm(SwiftURL) < 1.2.0 1.2.0
migueldeicaza SwiftTerm = < a94e6b24d24ce9680ad79884992e1dff8e150a31 No fix listed
swiftterm project swiftterm < 2022-12-02 2022-12-02

References