A vulnerability has been found in xterm which could allow for arbitrary code execution.
Package | x11-terms/xterm on all architectures |
---|---|
Affected versions | < 375 |
Unaffected versions | >= 375 |
xterm is a terminal emulator for the X Window system.
xterm does not correctly handle control characters related to OSC 50 font ops sequence handling.
The vulnerability allows text written to the terminal to write text to the terminal's command line. If the terminal's shell is zsh running with vi line editing mode, text written to the terminal can also trigger the execution of arbitrary commands via writing ^G to the terminal.
As a workaround, users can disable xterm's usage of OSC 50 sequences by adding the following to the XResources configuration: XTerm*allowFontOps: false
All xterm users should upgrade to the latest version:
# emerge --sync # emerge --ask --oneshot --verbose ">=x11-terms/xterm-375"
Release date
November 22, 2022
Latest revision
November 22, 2022: 1
Severity
normal
Exploitable
remote
Bugzilla entries