PT-2020-16673 · Tmux+4 · Tmux+4
Sergey Nizovtsev
·
Published
2020-11-04
·
Updated
2024-06-15
·
CVE-2020-27347
CVSS v3.1
8.8
High
| Vector | AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H |
Name of the Vulnerable Software and Affected Versions
tmux versions prior to 3.1c
Description
The issue is related to a stack-based buffer overflow in the
input csi dispatch sgr colon() function, located in the input.c file. This overflow can be exploited through terminal output, specifically by using a specially crafted escape sequence. The vulnerability can be triggered by displaying malicious content on the screen, such as when viewing a malicious webpage through curl, logging into a malicious host via SSH, or displaying log content that may contain attacker data.Recommendations
For tmux versions prior to 3.1c, update to version 3.1c or later to resolve the issue. As a temporary workaround, consider disabling the
input csi dispatch sgr colon() function until a patch is available. Restrict access to the input.c file to minimize the risk of exploitation. Avoid using escape sequences in terminal output until the issue is resolved.Exploit
Fix
Stack Overflow
Memory Corruption
Found an issue in the description? Have something to add? Feel free to write us 👾
Related Identifiers
Affected Products
Alt Linux
Linuxmint
Suse
Ubuntu
Tmux