bugzilla-daemon at mindrot.org
2015-Jul-23  18:32 UTC
[Bug 2434] New: scp can send arbitrary control characters / escape sequences to the terminal
https://bugzilla.mindrot.org/show_bug.cgi?id=2434
            Bug ID: 2434
           Summary: scp can send arbitrary control characters / escape
                    sequences to the terminal
           Product: Portable OpenSSH
           Version: 6.7p1
          Hardware: Other
                OS: Linux
            Status: NEW
          Severity: security
          Priority: P5
         Component: scp
          Assignee: unassigned-bugs at mindrot.org
          Reporter: vincent-openssh at vinc17.net
When outputting filenames to the terminal, scp doesn't filter out
non-printable characters. Example:
$ touch "ab`tput clear`cd"
$ ls ab*
ab?[H?[2Jcd
$ scp ab* localhost:/tmp
clears the screen.
-- 
You are receiving this mail because:
You are watching the assignee of the bug.
bugzilla-daemon at mindrot.org
2015-Jul-27  15:47 UTC
[Bug 2434] scp can send arbitrary control characters / escape sequences to the terminal
https://bugzilla.mindrot.org/show_bug.cgi?id=2434
Jakub Jelen <jjelen at redhat.com> changed:
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jjelen at redhat.com
--- Comment #1 from Jakub Jelen <jjelen at redhat.com> ---
Created attachment 2678
  --> https://bugzilla.mindrot.org/attachment.cgi?id=2678&action=edit
similar fix as escaping banner message
Just fast note. This is evaluated only in progressmeter, where it is
printed out not-escaped, but only control characters for terminal.
The issue can be fixed by this simple patch, quite similar way as the
banner is printed out. Patch may require some more handling of
allocated memory. But here is the basic idea.
-- 
You are receiving this mail because:
You are watching the assignee of the bug.
bugzilla-daemon at mindrot.org
2015-Jul-28  08:02 UTC
[Bug 2434] scp can send arbitrary control characters / escape sequences to the terminal
https://bugzilla.mindrot.org/show_bug.cgi?id=2434 --- Comment #2 from Jakub Jelen <jjelen at redhat.com> --- Or better way would be use solution proposed in bug discussing banner [1] (which is lying there for over one year untouched). We use that solution for banner for some time in RH so applying it for scp should not cause more pain. It is hardcoding table, but probably best solution we have now. It will only need some adjustments of previous patch to be usable also from scp, but nothing impossible. [1] https://bugzilla.mindrot.org/show_bug.cgi?id=2058#c10 -- You are receiving this mail because: You are watching the assignee of the bug.
bugzilla-daemon at bugzilla.mindrot.org
2016-Jul-26  08:43 UTC
[Bug 2434] scp can send arbitrary control characters / escape sequences to the terminal
https://bugzilla.mindrot.org/show_bug.cgi?id=2434
Jakub Jelen <jjelen at redhat.com> changed:
           What    |Removed                     |Added
----------------------------------------------------------------------------
   Attachment #2678|0                           |1
        is obsolete|                            |
--- Comment #3 from Jakub Jelen <jjelen at redhat.com> ---
Created attachment 2858
  --> https://bugzilla.mindrot.org/attachment.cgi?id=2858&action=edit
proposed patch using new utf8.h
AFAIK, we should fix this the same way the bug #2058.
Tested with the original reproducer against current git master and it
resolves the problem.
-- 
You are receiving this mail because:
You are watching the assignee of the bug.
bugzilla-daemon at bugzilla.mindrot.org
2016-Jul-26  08:55 UTC
[Bug 2434] scp can send arbitrary control characters / escape sequences to the terminal
https://bugzilla.mindrot.org/show_bug.cgi?id=2434
Darren Tucker <dtucker at zip.com.au> changed:
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Blocks|                            |2594
                 CC|                            |dtucker at zip.com.au
--- Comment #4 from Darren Tucker <dtucker at zip.com.au> ---
Put on the list for 7.4.
Referenced Bugs:
https://bugzilla.mindrot.org/show_bug.cgi?id=2594
[Bug 2594] Tracking bug for OpenSSH 7.4 release
-- 
You are receiving this mail because:
You are watching someone on the CC list of the bug.
You are watching the assignee of the bug.
bugzilla-daemon at bugzilla.mindrot.org
2016-Jul-26  09:11 UTC
[Bug 2434] scp can send arbitrary control characters / escape sequences to the terminal
https://bugzilla.mindrot.org/show_bug.cgi?id=2434
Damien Miller <djm at mindrot.org> changed:
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |djm at mindrot.org
--- Comment #5 from Damien Miller <djm at mindrot.org> ---
That patch isn't correct unfortunately; we had one similar in commit
0e059cdf5fd that had to be backed out: that code is called from a
SIGALARM handler but isn't safe to be run in that context
-- 
You are receiving this mail because:
You are watching the assignee of the bug.
You are watching someone on the CC list of the bug.
bugzilla-daemon at bugzilla.mindrot.org
2016-Dec-16  03:31 UTC
[Bug 2434] scp can send arbitrary control characters / escape sequences to the terminal
https://bugzilla.mindrot.org/show_bug.cgi?id=2434
Damien Miller <djm at mindrot.org> changed:
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Blocks|                            |2647
--- Comment #6 from Damien Miller <djm at mindrot.org> ---
OpenSSH 7.4 release is closing; punt the bugs to 7.5
Referenced Bugs:
https://bugzilla.mindrot.org/show_bug.cgi?id=2647
[Bug 2647] Tracking bug for OpenSSH 7.5 release
-- 
You are receiving this mail because:
You are watching the assignee of the bug.
You are watching someone on the CC list of the bug.
bugzilla-daemon at bugzilla.mindrot.org
2016-Dec-16  03:33 UTC
[Bug 2434] scp can send arbitrary control characters / escape sequences to the terminal
https://bugzilla.mindrot.org/show_bug.cgi?id=2434
Damien Miller <djm at mindrot.org> changed:
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Blocks|2594                        |
Referenced Bugs:
https://bugzilla.mindrot.org/show_bug.cgi?id=2594
[Bug 2594] Tracking bug for OpenSSH 7.4 release
-- 
You are receiving this mail because:
You are watching the assignee of the bug.
You are watching someone on the CC list of the bug.
bugzilla-daemon at bugzilla.mindrot.org
2017-Feb-10  03:59 UTC
[Bug 2434] scp can send arbitrary control characters / escape sequences to the terminal
https://bugzilla.mindrot.org/show_bug.cgi?id=2434 --- Comment #7 from Damien Miller <djm at mindrot.org> --- TL;DR signals are hard, lets go do some neurosurgery Looking at this again, this is quite difficult to fix so long as our progress meter runs in signal context. Even if we got rid of the malloc calls in utf8.c, that code can never be safe to run in a signal handler - none of the mb*/wc* standard library functions are signal-safe. Some alternatives: 1. Use a thread Nope. 2. Make utf8.c signal-safe This would mean ditching use of mb*/wc* and redoing it longhand. Not impossible but big and brittle. Probably a non-starter. 3. Arrange for the formatting (at least of the filename) to happen in a non-signal context Perhaps we could do it in scpio somehow? The problem here is that it is only called at present for complete writes from atomicio, but perhaps we could add some heuristic that allowed it to be called when the underlying read/write was interrupted by a signal too? We'd still need to be careful though - we couldn't naively update the string that gets written by the progress meter code as a SIGALRM could come along while we're updating it. I think we could do it by doing something like: replacing the filenames with a short array of filenames, a sig_atomic_t index that points to the one that is safe to write to and a way to update the index. 4. Allow safe truncation of the filename in signal context. The main thing the progress meter code needs to do with the filename is truncate it appropriately when it doesn't fit the terminal's columns. The problem this presents for multibyte locales is picking the spots where we can safely split it. We could have start_progress_meter() record an array of "split points" and have refresh_progress_meter() pick the one that makes the sanitised filename fit. This might be the easiest to do, but we'd need a new API in utf8.c -- You are receiving this mail because: You are watching someone on the CC list of the bug. You are watching the assignee of the bug.
bugzilla-daemon at bugzilla.mindrot.org
2017-Feb-15  05:22 UTC
[Bug 2434] scp can send arbitrary control characters / escape sequences to the terminal
https://bugzilla.mindrot.org/show_bug.cgi?id=2434 --- Comment #8 from Darren Tucker <dtucker at zip.com.au> --- (In reply to Damien Miller from comment #7) [...]> 3. Arrange for the formatting (at least of the filename) to happen > in a non-signal contextthis one gets my vote.> Perhaps we could do it in scpio somehow? The problem here is that it > is only called at present for complete writes from atomicio, but > perhaps we could add some heuristic that allowed it to be called > when the underlying read/write was interrupted by a signal too?the atomicio6 function provides callback hooks which are used for bandwidth limitation, I think that should be sufficient for this. I'm looking at it. -- You are receiving this mail because: You are watching the assignee of the bug. You are watching someone on the CC list of the bug.
bugzilla-daemon at bugzilla.mindrot.org
2017-Feb-15  05:46 UTC
[Bug 2434] scp can send arbitrary control characters / escape sequences to the terminal
https://bugzilla.mindrot.org/show_bug.cgi?id=2434 --- Comment #9 from Darren Tucker <dtucker at zip.com.au> --- Created attachment 2942 --> https://bugzilla.mindrot.org/attachment.cgi?id=2942&action=edit Simplify population of file name display patch 1 of 2 -- You are receiving this mail because: You are watching someone on the CC list of the bug. You are watching the assignee of the bug.
bugzilla-daemon at bugzilla.mindrot.org
2017-Feb-15  05:47 UTC
[Bug 2434] scp can send arbitrary control characters / escape sequences to the terminal
https://bugzilla.mindrot.org/show_bug.cgi?id=2434 --- Comment #10 from Darren Tucker <dtucker at zip.com.au> --- Created attachment 2943 --> https://bugzilla.mindrot.org/attachment.cgi?id=2943&action=edit Generate display name outside of sighandler patch 2 of 2. applies on top of attachment #2942. -- You are receiving this mail because: You are watching the assignee of the bug. You are watching someone on the CC list of the bug.
bugzilla-daemon at bugzilla.mindrot.org
2017-Feb-15  06:03 UTC
[Bug 2434] scp can send arbitrary control characters / escape sequences to the terminal
https://bugzilla.mindrot.org/show_bug.cgi?id=2434 --- Comment #11 from Damien Miller <djm at mindrot.org> --- Comment on attachment 2942 --> https://bugzilla.mindrot.org/attachment.cgi?id=2942 Simplify population of file name display>+ displayname[0] = '\0'; >+ if (file_len > 0) >+ snprintf(displayname, file_len, "%*s ", file_len * -1, file);I don't this will give good output if it chops file in the middle of a multibyte character. -- You are receiving this mail because: You are watching the assignee of the bug. You are watching someone on the CC list of the bug.
bugzilla-daemon at bugzilla.mindrot.org
2017-Feb-15  06:10 UTC
[Bug 2434] scp can send arbitrary control characters / escape sequences to the terminal
https://bugzilla.mindrot.org/show_bug.cgi?id=2434 --- Comment #12 from Darren Tucker <dtucker at zip.com.au> --- (In reply to Damien Miller from comment #11)> I don't this will give good output if it chops file in the middle of > a multibyte character.The first patch does not handle multibyte characters, it's a strict simplification of what currently exists. For multibyte handling you want attachment #2943. -- You are receiving this mail because: You are watching someone on the CC list of the bug. You are watching the assignee of the bug.
bugzilla-daemon at bugzilla.mindrot.org
2017-Feb-15  06:29 UTC
[Bug 2434] scp can send arbitrary control characters / escape sequences to the terminal
https://bugzilla.mindrot.org/show_bug.cgi?id=2434 --- Comment #13 from Damien Miller <djm at mindrot.org> --- oops, yes. What happens if a window size change happens between update_progress_displayname() and update_progress_meter()? It looks like it will cause the filename to only be updated after both have been called. If this is the case, could you move setscreensize() out of update_progress_meter() (where it is in signal context and strictly not safe) and into update_progress_displayname(). Also:> + strnvis(buf, file, sizeof buf, VIS_SAFE);I think smprintf() will fallback to vis(3) internally so you shouldn't need this case. -- You are receiving this mail because: You are watching the assignee of the bug. You are watching someone on the CC list of the bug.
bugzilla-daemon at bugzilla.mindrot.org
2017-Feb-15  09:18 UTC
[Bug 2434] scp can send arbitrary control characters / escape sequences to the terminal
https://bugzilla.mindrot.org/show_bug.cgi?id=2434 --- Comment #14 from Darren Tucker <dtucker at zip.com.au> --- (In reply to Damien Miller from comment #13)> oops, yes. What happens if a window size change happens between > update_progress_displayname() and update_progress_meter()?The display will be a bit off for one cycle then it'll correct itself. If the window got wider, the line will be too narrow briefly. If the window got narrower then the line will be too long but otherwise OK. In the latter case I think the exact behaviour will vary depending on the terminal, but gnome terminal here doesn't line feed so it also recovers ok.> It looks like it will cause the filename to only be updated after > both have been called.I don't follow. displayname is an array of 2 strings, one of which should be good as soon as update_progress_displayname() returns.> If this is the case, could you move > setscreensize() out of update_progress_meter() (where it is in > signal context and strictly not safe) and into > update_progress_displayname().I actually tried that and it caused the filename to be missing initially although I did not immediately see why.> I think smprintf() will fallback to vis(3) internally so you > shouldn't need this case.it doesn't. It gets to the first escape char then it stops writing to the output, sets the output characters param then returns -1 leaving the string unterminated, which will cause corrupted output, head scratching and debug printfs. Hypothetically. -- You are receiving this mail because: You are watching the assignee of the bug. You are watching someone on the CC list of the bug.
bugzilla-daemon at bugzilla.mindrot.org
2017-Feb-15  10:45 UTC
[Bug 2434] scp can send arbitrary control characters / escape sequences to the terminal
https://bugzilla.mindrot.org/show_bug.cgi?id=2434 --- Comment #15 from Damien Miller <djm at mindrot.org> --- (In reply to Darren Tucker from comment #14)> > I think smprintf() will fallback to vis(3) internally so you > > shouldn't need this case. > > it doesn't. It gets to the first escape char then it stops writing > to the output, sets the output characters param then returns -1 > leaving the string unterminated, which will cause corrupted output, > head scratching and debug printfs. Hypothetically.:) I don't see this behaviour though and it's definitely a bug if it is happening. I've tested that mprintf doesn't choke on control-chars in ssh, ssh-keygen and sftp though we don't use the column-limit feature in any of them AFAIK. Hacking that in to ssh-keygen: +{ char b[80]; int x = 20; +snmprintf(b, sizeof(b), &x, "\x12XXX"); +printf("%s\n", b); +return 0; +} produces the expected "\022XXX" output too for both LC_CTYPE set to UTF-8 and C... -- You are receiving this mail because: You are watching someone on the CC list of the bug. You are watching the assignee of the bug.
bugzilla-daemon at bugzilla.mindrot.org
2017-Feb-16  00:03 UTC
[Bug 2434] scp can send arbitrary control characters / escape sequences to the terminal
https://bugzilla.mindrot.org/show_bug.cgi?id=2434 --- Comment #16 from Darren Tucker <dtucker at zip.com.au> --- (In reply to Damien Miller from comment #15)> produces the expected "\022XXX" output too for both LC_CTYPE set to > UTF-8 and C...interesting, your test code behaves as expected on OpenBSD but not on Linux (Fedora 24), both using the portable code. char b[80]; int x = 20; snmprintf(b, sizeof(b), &x, "ab\x12XXX"); printf("len %d, '%s'\n", strlen(b), b); return 0; openbsd-current: len 9, 'ab\022XXX' fedora24: len 2, 'ab' -- You are receiving this mail because: You are watching the assignee of the bug. You are watching someone on the CC list of the bug.
bugzilla-daemon at bugzilla.mindrot.org
2017-Feb-17  02:56 UTC
[Bug 2434] scp can send arbitrary control characters / escape sequences to the terminal
https://bugzilla.mindrot.org/show_bug.cgi?id=2434
Damien Miller <djm at mindrot.org> changed:
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |me at arty.name
--- Comment #17 from Damien Miller <djm at mindrot.org> ---
*** Bug 2193 has been marked as a duplicate of this bug. ***
-- 
You are receiving this mail because:
You are watching the assignee of the bug.
You are watching someone on the CC list of the bug.
bugzilla-daemon at bugzilla.mindrot.org
2017-Feb-19  22:26 UTC
[Bug 2434] scp can send arbitrary control characters / escape sequences to the terminal
https://bugzilla.mindrot.org/show_bug.cgi?id=2434 --- Comment #18 from Damien Miller <djm at mindrot.org> --- FYI I've fixed mprintf's truncation of escape characters in commit 011c8ffbb027 -- You are receiving this mail because: You are watching someone on the CC list of the bug. You are watching the assignee of the bug.
bugzilla-daemon at bugzilla.mindrot.org
2017-Jun-30  03:42 UTC
[Bug 2434] scp can send arbitrary control characters / escape sequences to the terminal
https://bugzilla.mindrot.org/show_bug.cgi?id=2434
Damien Miller <djm at mindrot.org> changed:
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Blocks|                            |2698
--- Comment #19 from Damien Miller <djm at mindrot.org> ---
Move incomplete bugs to openssh-7.6 target since 7.5 shipped a while
back.
To calibrate expectations, there's little chance all of these are going
to make 7.6.
Referenced Bugs:
https://bugzilla.mindrot.org/show_bug.cgi?id=2698
[Bug 2698] Tracking bug for OpenSSH 7.6 release
-- 
You are receiving this mail because:
You are watching someone on the CC list of the bug.
You are watching the assignee of the bug.
bugzilla-daemon at bugzilla.mindrot.org
2017-Jun-30  03:44 UTC
[Bug 2434] scp can send arbitrary control characters / escape sequences to the terminal
https://bugzilla.mindrot.org/show_bug.cgi?id=2434 --- Comment #20 from Damien Miller <djm at mindrot.org> --- remove 7.5 target -- You are receiving this mail because: You are watching the assignee of the bug. You are watching someone on the CC list of the bug.
bugzilla-daemon at bugzilla.mindrot.org
2017-Jun-30  03:45 UTC
[Bug 2434] scp can send arbitrary control characters / escape sequences to the terminal
https://bugzilla.mindrot.org/show_bug.cgi?id=2434
Damien Miller <djm at mindrot.org> changed:
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Blocks|2647                        |
Referenced Bugs:
https://bugzilla.mindrot.org/show_bug.cgi?id=2647
[Bug 2647] Tracking bug for OpenSSH 7.5 release
-- 
You are receiving this mail because:
You are watching the assignee of the bug.
You are watching someone on the CC list of the bug.
bugzilla-daemon at bugzilla.mindrot.org
2017-Jun-30  04:08 UTC
[Bug 2434] scp can send arbitrary control characters / escape sequences to the terminal
https://bugzilla.mindrot.org/show_bug.cgi?id=2434 --- Comment #21 from Damien Miller <djm at mindrot.org> --- Comment on attachment 2942 --> https://bugzilla.mindrot.org/attachment.cgi?id=2942 Simplify population of file name display>This keeps the padded and/or truncated displayname in its own variable >which will allow later use of non-signal-safe functions like snmprintf >to compose it....>- snprintf(buf + strlen(buf), win_size - strlen(buf), >- " %3d%% ", percent); >+ snprintf(buf, sizeof(buf), "\r%s %3d%% ", displayname, percent);AFAIK it's not safe to truncate arbitrary strings using char* (as opposed to wchar_t*) functions when the charset is not US-ASCII or UTF-8. Could you do the truncation using snmprintf() instead? -- You are receiving this mail because: You are watching the assignee of the bug. You are watching someone on the CC list of the bug.
bugzilla-daemon at bugzilla.mindrot.org
2017-Sep-22  03:29 UTC
[Bug 2434] scp can send arbitrary control characters / escape sequences to the terminal
https://bugzilla.mindrot.org/show_bug.cgi?id=2434
Damien Miller <djm at mindrot.org> changed:
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Blocks|                            |2782
Referenced Bugs:
https://bugzilla.mindrot.org/show_bug.cgi?id=2782
[Bug 2782] Tracking bug for OpenSSH 7.7 release
-- 
You are receiving this mail because:
You are watching someone on the CC list of the bug.
You are watching the assignee of the bug.
bugzilla-daemon at bugzilla.mindrot.org
2017-Sep-22  03:32 UTC
[Bug 2434] scp can send arbitrary control characters / escape sequences to the terminal
https://bugzilla.mindrot.org/show_bug.cgi?id=2434
Damien Miller <djm at mindrot.org> changed:
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Blocks|2698                        |
Referenced Bugs:
https://bugzilla.mindrot.org/show_bug.cgi?id=2698
[Bug 2698] Tracking bug for OpenSSH 7.6 release
-- 
You are receiving this mail because:
You are watching someone on the CC list of the bug.
You are watching the assignee of the bug.
bugzilla-daemon at bugzilla.mindrot.org
2018-Apr-06  03:09 UTC
[Bug 2434] scp can send arbitrary control characters / escape sequences to the terminal
https://bugzilla.mindrot.org/show_bug.cgi?id=2434
Damien Miller <djm at mindrot.org> changed:
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Blocks|                            |2852
Referenced Bugs:
https://bugzilla.mindrot.org/show_bug.cgi?id=2852
[Bug 2852] Tracking bug for OpenSSH 7.8 release
-- 
You are receiving this mail because:
You are watching someone on the CC list of the bug.
You are watching the assignee of the bug.
bugzilla-daemon at bugzilla.mindrot.org
2018-Apr-06  03:12 UTC
[Bug 2434] scp can send arbitrary control characters / escape sequences to the terminal
https://bugzilla.mindrot.org/show_bug.cgi?id=2434
Damien Miller <djm at mindrot.org> changed:
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Blocks|2782                        |
--- Comment #22 from Damien Miller <djm at mindrot.org> ---
Move to OpenSSH 7.8 tracking bug
Referenced Bugs:
https://bugzilla.mindrot.org/show_bug.cgi?id=2782
[Bug 2782] Tracking bug for OpenSSH 7.7 release
-- 
You are receiving this mail because:
You are watching someone on the CC list of the bug.
You are watching the assignee of the bug.
bugzilla-daemon at bugzilla.mindrot.org
2018-Aug-10  01:38 UTC
[Bug 2434] scp can send arbitrary control characters / escape sequences to the terminal
https://bugzilla.mindrot.org/show_bug.cgi?id=2434
Damien Miller <djm at mindrot.org> changed:
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Blocks|                            |2893
--- Comment #23 from Damien Miller <djm at mindrot.org> ---
Retarget remaining bugs planned for 7.8 release to 7.9
Referenced Bugs:
https://bugzilla.mindrot.org/show_bug.cgi?id=2893
[Bug 2893] Tracking bug for 7.9 release
-- 
You are receiving this mail because:
You are watching the assignee of the bug.
You are watching someone on the CC list of the bug.
bugzilla-daemon at bugzilla.mindrot.org
2018-Aug-10  01:38 UTC
[Bug 2434] scp can send arbitrary control characters / escape sequences to the terminal
https://bugzilla.mindrot.org/show_bug.cgi?id=2434 --- Comment #24 from Damien Miller <djm at mindrot.org> --- Retarget remaining bugs planned for 7.8 release to 7.9 -- You are receiving this mail because: You are watching the assignee of the bug. You are watching someone on the CC list of the bug.
bugzilla-daemon at bugzilla.mindrot.org
2018-Aug-10  01:38 UTC
[Bug 2434] scp can send arbitrary control characters / escape sequences to the terminal
https://bugzilla.mindrot.org/show_bug.cgi?id=2434
Damien Miller <djm at mindrot.org> changed:
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Blocks|2852                        |
Referenced Bugs:
https://bugzilla.mindrot.org/show_bug.cgi?id=2852
[Bug 2852] Tracking bug for OpenSSH 7.8 release
-- 
You are receiving this mail because:
You are watching the assignee of the bug.
You are watching someone on the CC list of the bug.
bugzilla-daemon at bugzilla.mindrot.org
2018-Oct-19  06:13 UTC
[Bug 2434] scp can send arbitrary control characters / escape sequences to the terminal
https://bugzilla.mindrot.org/show_bug.cgi?id=2434
Damien Miller <djm at mindrot.org> changed:
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Blocks|                            |2915
--- Comment #25 from Damien Miller <djm at mindrot.org> ---
Retarget unfinished bugs to OpenSSH 8.0
Referenced Bugs:
https://bugzilla.mindrot.org/show_bug.cgi?id=2915
[Bug 2915] Tracking bug for 8.0 release
-- 
You are receiving this mail because:
You are watching the assignee of the bug.
You are watching someone on the CC list of the bug.
bugzilla-daemon at bugzilla.mindrot.org
2018-Oct-19  06:14 UTC
[Bug 2434] scp can send arbitrary control characters / escape sequences to the terminal
https://bugzilla.mindrot.org/show_bug.cgi?id=2434 --- Comment #26 from Damien Miller <djm at mindrot.org> --- Retarget unfinished bugs to OpenSSH 8.0 -- You are receiving this mail because: You are watching the assignee of the bug. You are watching someone on the CC list of the bug.
bugzilla-daemon at bugzilla.mindrot.org
2018-Oct-19  06:15 UTC
[Bug 2434] scp can send arbitrary control characters / escape sequences to the terminal
https://bugzilla.mindrot.org/show_bug.cgi?id=2434
Damien Miller <djm at mindrot.org> changed:
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Blocks|2893                        |
--- Comment #27 from Damien Miller <djm at mindrot.org> ---
Retarget unfinished bugs to OpenSSH 8.0
Referenced Bugs:
https://bugzilla.mindrot.org/show_bug.cgi?id=2893
[Bug 2893] Tracking bug for 7.9 release
-- 
You are receiving this mail because:
You are watching the assignee of the bug.
You are watching someone on the CC list of the bug.
bugzilla-daemon at bugzilla.mindrot.org
2019-Jan-23  04:11 UTC
[Bug 2434] scp can send arbitrary control characters / escape sequences to the terminal
https://bugzilla.mindrot.org/show_bug.cgi?id=2434
Darren Tucker <dtucker at dtucker.net> changed:
           What    |Removed                     |Added
----------------------------------------------------------------------------
   Attachment #2858|0                           |1
        is obsolete|                            |
   Attachment #2942|0                           |1
        is obsolete|                            |
   Attachment #2943|0                           |1
        is obsolete|                            |
   Attachment #3228|                            |ok?(djm at mindrot.org)
              Flags|                            |
--- Comment #28 from Darren Tucker <dtucker at dtucker.net> ---
Created attachment 3228
  --> https://bugzilla.mindrot.org/attachment.cgi?id=3228&action=edit
Move progressmeter formatting out of signal handler.
This is moves the formatting entirely out of signal handler context and
into code called by the atomicio callback.
It changes atomicio call the callback on EINTR and EAGAIN so that
SIGALRM will interrupt the read or write and the callback will update
the progressmeter at the appropriate time.
-- 
You are receiving this mail because:
You are watching someone on the CC list of the bug.
You are watching the assignee of the bug.
bugzilla-daemon at bugzilla.mindrot.org
2019-Jan-23  04:32 UTC
[Bug 2434] scp can send arbitrary control characters / escape sequences to the terminal
https://bugzilla.mindrot.org/show_bug.cgi?id=2434
Damien Miller <djm at mindrot.org> changed:
           What    |Removed                     |Added
----------------------------------------------------------------------------
   Attachment #3228|ok?(djm at mindrot.org)        |ok+
              Flags|                            |
-- 
You are receiving this mail because:
You are watching the assignee of the bug.
You are watching someone on the CC list of the bug.
bugzilla-daemon at bugzilla.mindrot.org
2019-Jan-23  08:02 UTC
[Bug 2434] scp can send arbitrary control characters / escape sequences to the terminal
https://bugzilla.mindrot.org/show_bug.cgi?id=2434
Darren Tucker <dtucker at dtucker.net> changed:
           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|NEW                         |RESOLVED
--- Comment #29 from Darren Tucker <dtucker at dtucker.net> ---
Patch has been applied and will be in the 8.0 release.  Thanks.
-- 
You are receiving this mail because:
You are watching someone on the CC list of the bug.
You are watching the assignee of the bug.
bugzilla-daemon at mindrot.org
2021-Mar-03  22:53 UTC
[Bug 2434] scp can send arbitrary control characters / escape sequences to the terminal
https://bugzilla.mindrot.org/show_bug.cgi?id=2434
Damien Miller <djm at mindrot.org> changed:
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |CLOSED
--- Comment #30 from Damien Miller <djm at mindrot.org> ---
close bugs that were resolved in OpenSSH 8.5 release cycle
-- 
You are receiving this mail because:
You are watching the assignee of the bug.
You are watching someone on the CC list of the bug.
Reasonably Related Threads
- [Bug 2439] New: New sha256-base64 SSH Fingerprints in openssh-6.8
- [Bug 2158] New: Race condition in receiving SIGTERM
- [Bug 2576] New: ssh-agent enters busy loop when running out of fds
- [Bug 2501] New: VerifyHostKeyDNS & StrictHostKeyChecking
- [Bug 2440] New: X11 connection will fail if user's home directory is read-only