You are here
Home > Preporuke > Sigurnosni nedostaci programskog paketa tmux

Sigurnosni nedostaci programskog paketa tmux

  • Detalji os-a: WN7
  • Važnost: IMP
  • Operativni sustavi: L
  • Kategorije: LSU

openSUSE Security Update: Security update for tmux
______________________________________________________________________________

Announcement ID: openSUSE-SU-2020:1834-1
Rating: moderate
References: #1037468 #1116887 #1120170 #1178263
Cross-References: CVE-2018-19387 CVE-2020-27347
Affected Products:
openSUSE Leap 15.2
openSUSE Leap 15.1
openSUSE Backports SLE-15-SP2
openSUSE Backports SLE-15-SP1
SUSE Package Hub for SUSE Linux Enterprise 12
______________________________________________________________________________

An update that solves two vulnerabilities and has two fixes
is now available.

Description:

This update for tmux fixes the following issues:

– Update to version 3.1c
* Fix a stack overflow on colon-separated CSI parsing. boo#1178263
CVE-2020-27347

– tmux 3.1b:
* Fix crash when allow-rename ison and an empty name is set

– tmux 3.1a:
* Do not close stdout prematurely in control mode since it is needed to
print exit messages. Prevents hanging when detaching with iTerm2
– includes changes between 3.1-rc1 and 3.1:
* Only search the visible part of the history when marking
(highlighting) search terms. This is much faster than searching the
whole history and solves problems with large histories. The count of
matches shown is now the visible matches rather than all matches
* Search using regular expressions in copy mode. search-forward and
search-backward use regular expressions by default; the incremental
versions do not
* Turn off mouse mode 1003 as well as the rest when exiting
* Add selection_active format for when the selection is present but not
moving with the cursor
* Fix dragging with modifier keys, so binding keys such as
C-MouseDrag1Pane and C-MouseDragEnd1Pane now work
* Add -a to list-keys to also list keys without notes with -N
* Do not jump to next word end if already on a word end when selecting a
word; fixes select-word with single character words and vi(1) keys
* Fix top and bottom pane calculation with pane border status enabled

– Update to v3.1-rc
* Please see the included CHANGES file

– Fix tmux completion

– Update to v3.0a
* A lot of changes since v2.9a, please see the included CHANGES file.

– Update to v2.9a
– Fix bugs in select-pane and the main-horizontal and main-vertical
layouts.

– Add trailing newline to tmpfiles.d/tmux.conf. On newer systems (such as
Leap 15.1), the lack of a trailing newline appears to cause the
directory to not be created. This is only evident on setups where /run
is an actual tmpfs (on btrfs-root installs, /run is a btrfs subvolume
and thus /run/tmux is persistent across reboots).

– Update to version 2.9
* Add format variables for the default formats in the various modes
(tree_mode_format and so on) and add a -a flag to display-message to
list variables with values.
* Add a -v flag to display-message to show verbose messages as the
format is parsed, this allows formats to be debugged
* Add support for HPA (\033[`).
* Add support for origin mode (\033[?6h).
* No longer clear history on RIS.
* Extend the #[] style syntax and use that together with previous format
changes to allow the status line to be entirely configured with a
single option.
* Add E: and T: format modifiers to expand a format twice (useful to
expand the value of an option).
* The individual -fg, -bg and -attr options have been removed; they were
superseded by -style options in tmux 1.9.
* Add -b to display-panes like run-shell.
* Handle UTF-8 in word-separators option.
* New “terminal” colour allowing options to use the terminal default
colour rather than inheriting the default from a parent option.
* Do not move the cursor in copy mode when the mouse wheel is used.
* Use the same working directory rules for jobs as new windows rather
than always starting in the user’s home.
* Allow panes to be one line or column in size.
* Go to last line when goto-line number is out of range in copy mode.
* Yank previously cut text if any with C-y in the command prompt, only
use the buffer if no text has been cut.
* Add q: format modifier to quote shell special characters.
* Add -Z to find-window.
* Support for windows larger than the client. This adds two new options,
window-size and default-size, and a new command, resize-window. The
force-width and force-height options and the session_width and
session_height formats have been removed.

– update to 2.8
– move bash-completion to right place
* Make display-panes block the client until a pane is chosen or it times
out.
* Clear history on RIS like most other terminals do.
* Add an “Any” key to run a command if a key is pressed that is not bound
in the current key table.
* Expand formats in load-buffer and save-buffer.
* Add a rectangle_toggle format.
* Add set-hook -R to run a hook immediately.
* Add pane focus hooks.
* Allow any punctuation as separator for s/x/y not only /.
* Improve resizing with the mouse (fix resizing the wrong pane in some
layouts, and allow resizing multiple panes at the same time).
* Allow , and } to be escaped in formats as #, and #}.
* Add KRB5CCNAME to update-environment.
* Change meaning of -c to display-message so the client is used if it
matches the session given to -t.
* Fixes to : form of SGR.
* Add x and X to choose-tree to kill sessions, windows or panes.

– Add bash completion for tmux

– Update to 2.7
* Remove EVENT_* variables from environment on platforms where tmux uses
them so they do not pass on to panes.
* Fixed for hooks at server exit.
* Remove SGR 10 (was equivalent to SGR 0 but no other terminal seems to
do this).
* Expand formats in window and session names.
* Add -Z flag to choose-tree, choose-client, choose-buffer to
automatically zoom the pane when the mode is entered and unzoom when
it exits, assuming the pane is not already zoomed. This is now part of
the default key bindings.
* Add C-g to exit modes with emacs keys.
* Add exit-empty option to exit server if no sessions (default = on)
* Show if a filter is present in choose modes.
* Add pipe-pane -I to to connect stdin of the child process.
* Performance improvements for reflow.
* Use RGB terminfo(5) capability to detect RGB colour terminals (the
existing Tc extension remains unchanged).
* Support for ISO colon-separated SGR sequences.
* Add select-layout -E to spread panes out evenly (bound to E key).
* Support wide characters properly when reflowing.
* Pass PWD to new panes as a hint to shells, as well as calling chdir().
* Performance improvements for the various choose modes.
* Only show first member of session groups in tree mode (-G flag to
choose-tree to show all).
* Support %else in config files to match %if
* Fix “kind” terminfo(5) capability to be S-Down not S-Up.
* Add a box around the preview label in tree mode.
* Show exit status and time in the remain-on-exit pane text
* Correctly use pane-base-index in tree mode.
* Change the allow-rename option default to off.
* Support for xterm(1) title stack escape sequences
* Correctly remove padding cells to fix a UTF-8 display problem
– build from release tarball instead of source (drops automake dep)

– Bash completion is now removed and provided by
– cleanup specfile directory with tmpfiles.d functionality in /run/tmux

Patch Instructions:

To install this openSUSE Security Update use the SUSE recommended installation methods
like YaST online_update or “zypper patch”.

Alternatively you can run the command listed for your product:

– openSUSE Leap 15.2:

zypper in -t patch openSUSE-2020-1834=1

– openSUSE Leap 15.1:

zypper in -t patch openSUSE-2020-1834=1

– openSUSE Backports SLE-15-SP2:

zypper in -t patch openSUSE-2020-1834=1

– openSUSE Backports SLE-15-SP1:

zypper in -t patch openSUSE-2020-1834=1

– SUSE Package Hub for SUSE Linux Enterprise 12:

zypper in -t patch openSUSE-2020-1834=1

Package List:

– openSUSE Leap 15.2 (x86_64):

tmux-3.1c-lp152.2.3.1
tmux-debuginfo-3.1c-lp152.2.3.1
tmux-debugsource-3.1c-lp152.2.3.1

– openSUSE Leap 15.1 (x86_64):

tmux-3.1c-lp151.3.3.1
tmux-debuginfo-3.1c-lp151.3.3.1
tmux-debugsource-3.1c-lp151.3.3.1

– openSUSE Backports SLE-15-SP2 (aarch64 ppc64le s390x x86_64):

tmux-3.1c-bp152.2.3.1
tmux-debuginfo-3.1c-bp152.2.3.1
tmux-debugsource-3.1c-bp152.2.3.1

– openSUSE Backports SLE-15-SP1 (aarch64 ppc64le s390x x86_64):

tmux-3.1c-bp151.4.3.1

– SUSE Package Hub for SUSE Linux Enterprise 12 (aarch64 ppc64le s390x x86_64):

tmux-3.1c-18.1

References:

https://protect2.fireeye.com/v1/url?k=6657b732-39cbad2c-66502afe-000babd90757-c9e341f381fd56f5&q=1&e=5342e2f0-f313-45e5-87e5-d5598f2ffa59&u=https%3A%2F%2Fwww.suse.com%2Fsecurity%2Fcve%2FCVE-2018-19387.html
https://protect2.fireeye.com/v1/url?k=cda2bb64-923ea17a-cda526a8-000babd90757-262332f15c10d37f&q=1&e=5342e2f0-f313-45e5-87e5-d5598f2ffa59&u=https%3A%2F%2Fwww.suse.com%2Fsecurity%2Fcve%2FCVE-2020-27347.html
https://protect2.fireeye.com/v1/url?k=671c2de7-388037f9-671bb02b-000babd90757-ded6922d1908f3d6&q=1&e=5342e2f0-f313-45e5-87e5-d5598f2ffa59&u=https%3A%2F%2Fbugzilla.suse.com%2F1037468
https://protect2.fireeye.com/v1/url?k=41c7023b-1e5b1825-41c09ff7-000babd90757-9df4a259c5f0a625&q=1&e=5342e2f0-f313-45e5-87e5-d5598f2ffa59&u=https%3A%2F%2Fbugzilla.suse.com%2F1116887
https://protect2.fireeye.com/v1/url?k=342d3262-6bb1287c-342aafae-000babd90757-4335d1786ef1dc56&q=1&e=5342e2f0-f313-45e5-87e5-d5598f2ffa59&u=https%3A%2F%2Fbugzilla.suse.com%2F1120170
https://protect2.fireeye.com/v1/url?k=a3844db2-fc1857ac-a383d07e-000babd90757-38f77dcee4ffeb19&q=1&e=5342e2f0-f313-45e5-87e5-d5598f2ffa59&u=https%3A%2F%2Fbugzilla.suse.com%2F1178263


To unsubscribe, e-mail: opensuse-security-announce+unsubscribe@opensuse.org
For additional commands, e-mail: opensuse-security-announce+help@opensuse.org

openSUSE Security Update: Security update for tmux
______________________________________________________________________________

Announcement ID: openSUSE-SU-2020:1834-1
Rating: moderate
References: #1037468 #1116887 #1120170 #1178263
Cross-References: CVE-2018-19387 CVE-2020-27347
Affected Products:
SUSE Package Hub for SUSE Linux Enterprise 12
______________________________________________________________________________

An update that solves two vulnerabilities and has two fixes
is now available.

Description:

This update for tmux fixes the following issues:

– Update to version 3.1c
* Fix a stack overflow on colon-separated CSI parsing. boo#1178263
CVE-2020-27347

– tmux 3.1b:
* Fix crash when allow-rename ison and an empty name is set

– tmux 3.1a:
* Do not close stdout prematurely in control mode since it is needed to
print exit messages. Prevents hanging when detaching with iTerm2
– includes changes between 3.1-rc1 and 3.1:
* Only search the visible part of the history when marking
(highlighting) search terms. This is much faster than searching the
whole history and solves problems with large histories. The count of
matches shown is now the visible matches rather than all matches
* Search using regular expressions in copy mode. search-forward and
search-backward use regular expressions by default; the incremental
versions do not
* Turn off mouse mode 1003 as well as the rest when exiting
* Add selection_active format for when the selection is present but not
moving with the cursor
* Fix dragging with modifier keys, so binding keys such as
C-MouseDrag1Pane and C-MouseDragEnd1Pane now work
* Add -a to list-keys to also list keys without notes with -N
* Do not jump to next word end if already on a word end when selecting a
word; fixes select-word with single character words and vi(1) keys
* Fix top and bottom pane calculation with pane border status enabled

– Update to v3.1-rc
* Please see the included CHANGES file

– Fix tmux completion

– Update to v3.0a
* A lot of changes since v2.9a, please see the included CHANGES file.

– Update to v2.9a
– Fix bugs in select-pane and the main-horizontal and main-vertical
layouts.

– Add trailing newline to tmpfiles.d/tmux.conf. On newer systems (such as
Leap 15.1), the lack of a trailing newline appears to cause the
directory to not be created. This is only evident on setups where /run
is an actual tmpfs (on btrfs-root installs, /run is a btrfs subvolume
and thus /run/tmux is persistent across reboots).

– Update to version 2.9
* Add format variables for the default formats in the various modes
(tree_mode_format and so on) and add a -a flag to display-message to
list variables with values.
* Add a -v flag to display-message to show verbose messages as the
format is parsed, this allows formats to be debugged
* Add support for HPA (\033[`).
* Add support for origin mode (\033[?6h).
* No longer clear history on RIS.
* Extend the #[] style syntax and use that together with previous format
changes to allow the status line to be entirely configured with a
single option.
* Add E: and T: format modifiers to expand a format twice (useful to
expand the value of an option).
* The individual -fg, -bg and -attr options have been removed; they were
superseded by -style options in tmux 1.9.
* Add -b to display-panes like run-shell.
* Handle UTF-8 in word-separators option.
* New “terminal” colour allowing options to use the terminal default
colour rather than inheriting the default from a parent option.
* Do not move the cursor in copy mode when the mouse wheel is used.
* Use the same working directory rules for jobs as new windows rather
than always starting in the user’s home.
* Allow panes to be one line or column in size.
* Go to last line when goto-line number is out of range in copy mode.
* Yank previously cut text if any with C-y in the command prompt, only
use the buffer if no text has been cut.
* Add q: format modifier to quote shell special characters.
* Add -Z to find-window.
* Support for windows larger than the client. This adds two new options,
window-size and default-size, and a new command, resize-window. The
force-width and force-height options and the session_width and
session_height formats have been removed.

– update to 2.8
– move bash-completion to right place
* Make display-panes block the client until a pane is chosen or it times
out.
* Clear history on RIS like most other terminals do.
* Add an “Any” key to run a command if a key is pressed that is not bound
in the current key table.
* Expand formats in load-buffer and save-buffer.
* Add a rectangle_toggle format.
* Add set-hook -R to run a hook immediately.
* Add pane focus hooks.
* Allow any punctuation as separator for s/x/y not only /.
* Improve resizing with the mouse (fix resizing the wrong pane in some
layouts, and allow resizing multiple panes at the same time).
* Allow , and } to be escaped in formats as #, and #}.
* Add KRB5CCNAME to update-environment.
* Change meaning of -c to display-message so the client is used if it
matches the session given to -t.
* Fixes to : form of SGR.
* Add x and X to choose-tree to kill sessions, windows or panes.

– Add bash completion for tmux

– Update to 2.7
* Remove EVENT_* variables from environment on platforms where tmux uses
them so they do not pass on to panes.
* Fixed for hooks at server exit.
* Remove SGR 10 (was equivalent to SGR 0 but no other terminal seems to
do this).
* Expand formats in window and session names.
* Add -Z flag to choose-tree, choose-client, choose-buffer to
automatically zoom the pane when the mode is entered and unzoom when
it exits, assuming the pane is not already zoomed. This is now part of
the default key bindings.
* Add C-g to exit modes with emacs keys.
* Add exit-empty option to exit server if no sessions (default = on)
* Show if a filter is present in choose modes.
* Add pipe-pane -I to to connect stdin of the child process.
* Performance improvements for reflow.
* Use RGB terminfo(5) capability to detect RGB colour terminals (the
existing Tc extension remains unchanged).
* Support for ISO colon-separated SGR sequences.
* Add select-layout -E to spread panes out evenly (bound to E key).
* Support wide characters properly when reflowing.
* Pass PWD to new panes as a hint to shells, as well as calling chdir().
* Performance improvements for the various choose modes.
* Only show first member of session groups in tree mode (-G flag to
choose-tree to show all).
* Support %else in config files to match %if
* Fix “kind” terminfo(5) capability to be S-Down not S-Up.
* Add a box around the preview label in tree mode.
* Show exit status and time in the remain-on-exit pane text
* Correctly use pane-base-index in tree mode.
* Change the allow-rename option default to off.
* Support for xterm(1) title stack escape sequences
* Correctly remove padding cells to fix a UTF-8 display problem
– build from release tarball instead of source (drops automake dep)

– Bash completion is now removed and provided by
– cleanup specfile directory with tmpfiles.d functionality in /run/tmux

Patch Instructions:

To install this openSUSE Security Update use the SUSE recommended installation methods
like YaST online_update or “zypper patch”.

Alternatively you can run the command listed for your product:

– SUSE Package Hub for SUSE Linux Enterprise 12:

zypper in -t patch openSUSE-2020-1834=1

Package List:

– SUSE Package Hub for SUSE Linux Enterprise 12 (aarch64 ppc64le s390x x86_64):

tmux-3.1c-18.1

References:

https://protect2.fireeye.com/v1/url?k=50143dec-0f8827f2-5013a020-000babd90757-7711a1eb5e75836c&q=1&e=d95be066-5ea1-45e4-a54d-e0aca85fc7ac&u=https%3A%2F%2Fwww.suse.com%2Fsecurity%2Fcve%2FCVE-2018-19387.html
https://protect2.fireeye.com/v1/url?k=cc0dbd8c-9391a792-cc0a2040-000babd90757-56accda512dbc3b8&q=1&e=d95be066-5ea1-45e4-a54d-e0aca85fc7ac&u=https%3A%2F%2Fwww.suse.com%2Fsecurity%2Fcve%2FCVE-2020-27347.html
https://protect2.fireeye.com/v1/url?k=d61e0636-89821c28-d6199bfa-000babd90757-28125de59a526c1e&q=1&e=d95be066-5ea1-45e4-a54d-e0aca85fc7ac&u=https%3A%2F%2Fbugzilla.suse.com%2F1037468
https://protect2.fireeye.com/v1/url?k=221bed0d-7d87f713-221c70c1-000babd90757-ac4e5828c42be7c4&q=1&e=d95be066-5ea1-45e4-a54d-e0aca85fc7ac&u=https%3A%2F%2Fbugzilla.suse.com%2F1116887
https://protect2.fireeye.com/v1/url?k=c107aa67-9e9bb079-c10037ab-000babd90757-5d90bfd847cc51a2&q=1&e=d95be066-5ea1-45e4-a54d-e0aca85fc7ac&u=https%3A%2F%2Fbugzilla.suse.com%2F1120170
https://protect2.fireeye.com/v1/url?k=44d3cc87-1b4fd699-44d4514b-000babd90757-3c2292295455f80a&q=1&e=d95be066-5ea1-45e4-a54d-e0aca85fc7ac&u=https%3A%2F%2Fbugzilla.suse.com%2F1178263


To unsubscribe, e-mail: opensuse-security-announce+unsubscribe@opensuse.org
For additional commands, e-mail: opensuse-security-announce+help@opensuse.org

AutorDona Seruga
Cert idNCERT-REF-2020-11-0001-ADV
CveCERT-CVE-DUMMY
ID izvornikaCERT-ORIGID-DUMMY
ProizvodCERT-DUMMY-PRODUCT
IzvorAdobe
Top
More in Preporuke
Sigurnosni nedostaci programskog paketa salt

Otkriveni su kritični sigurnosni nedostaci u programskom paketu salt za operacijski sustav openSUSE. Otkriveni nedostaci potencijalnim napadačima omogućuju izvršavanje proizvoljnog...

Close