Back to bug 2056884
| Who | When | What | Removed | Added |
|---|---|---|---|---|
| Red Hat Bugzilla | 2022-02-22 09:33:26 UTC | Pool ID | sst_security_crypto_rhel_9 | |
| Lukáš Doktor | 2022-02-22 09:34:33 UTC | Comment | 0 | updated |
| Dmitry Belyavskiy | 2022-02-25 12:27:53 UTC | CC | jafiala | |
| Doc Type | If docs needed, set a value | Known Issue | ||
| Doc Text | Cause: switch the scp utility from SCP to SFTP protocol Consequence: copying file to itself using different hostname effectively truncates the file Workaround (if any): First, there is no reason to copy a file to itself. If you really have to do it, you may explicitly fallback to old protocol using -O, though it's not recommended. Result: Self-copying file will not damage it | |||
| Flags | needinfo?(jafiala) | |||
| Red Hat One Jira (issues.redhat.com) | 2022-02-25 12:29:51 UTC | Link ID | Red Hat Issue Tracker RHELPLAN-113842 | |
| Jan Fiala | 2022-02-25 13:59:30 UTC | Docs Contact | jafiala | |
| Jan Fiala | 2022-02-25 15:54:01 UTC | CC | dbelyavs | |
| Flags | needinfo?(jafiala) | needinfo?(dbelyavs) | ||
| Doc Text | Cause: switch the scp utility from SCP to SFTP protocol Consequence: copying file to itself using different hostname effectively truncates the file Workaround (if any): First, there is no reason to copy a file to itself. If you really have to do it, you may explicitly fallback to old protocol using -O, though it's not recommended. Result: Self-copying file will not damage it | .SCP empties files copied to themselves Because of the switch of the `scp` utility from the SCP to the more secure SFTP protocol, copying a file from a location to the same location erases file content. To work around this problem, do not copy files to a destination that is the same as the source location. If your scenario requires this, you can force `scp` to use the old protocol by using the `-O` option. Note, however, that the SCP protocol is less secure. |
||
| Jan Fiala | 2022-02-25 17:05:15 UTC | Flags | needinfo?(dbelyavs) | |
| Doc Text | .SCP empties files copied to themselves Because of the switch of the `scp` utility from the SCP to the more secure SFTP protocol, copying a file from a location to the same location erases file content. To work around this problem, do not copy files to a destination that is the same as the source location. If your scenario requires this, you can force `scp` to use the old protocol by using the `-O` option. Note, however, that the SCP protocol is less secure. | .SCP empties files copied to themselves Because of the switch of the `scp` utility from the SCP to the more secure SFTP protocol, copying a file from a location to the same location (for example, `$ scp myfile localhost:myfile`) erases file content. To work around this problem, do not copy files to a destination that is the same as the source location. If your scenario requires this, you can force `scp` to use the old protocol by using the `-O` option (for example, `$ scp -O myfile localhost:myfile`). Note, however, that the SCP protocol is less secure. |
||
| Marek Havrila | 2022-03-01 17:06:38 UTC | CC | mhavrila | |
| QA Contact | qe-baseos-security | mhavrila | ||
| Dmitry Belyavskiy | 2022-03-02 12:14:36 UTC | Keywords | Documentation, Triaged | |
| Severity | unspecified | low | ||
| Priority | unspecified | low | ||
| Dmitry Belyavskiy | 2022-05-06 08:48:21 UTC | CC | bugproxy | |
| Thorsten Scherf | 2022-05-06 13:10:15 UTC | CC | tscherf | |
| Link ID | Red Hat Knowledge Base (Solution) 6956768 | |||
| Red Hat One Jira (issues.redhat.com) | 2022-05-10 22:34:26 UTC | Link ID | Red Hat Issue Tracker CRYPTO-7202 | |
| Thomas Staudt | 2022-05-12 06:14:09 UTC | CC | tstaudt | |
| Dmitry Belyavskiy | 2022-05-13 15:31:51 UTC | Link ID | OpenSSH Project 3431 | |
| Stanislav Zidek | 2022-05-13 15:56:54 UTC | CC | szidek | |
| Dmitry Belyavskiy | 2022-05-23 09:58:09 UTC | Priority | low | medium |
| Zoltan Fridrich | 2022-06-01 12:29:47 UTC | CC | zfridric | |
| Status | NEW | ASSIGNED | ||
| Assignee | dbelyavs | zfridric | ||
| Kevin Clevenger | 2022-06-01 21:20:10 UTC | CC | kcleveng | |
| Flags | needinfo?(zfridric) | |||
| Zoltan Fridrich | 2022-06-03 08:42:06 UTC | Flags | needinfo?(zfridric) | |
| Zoltan Fridrich | 2022-06-09 12:00:57 UTC | Status | ASSIGNED | POST |
| Zoltan Fridrich | 2022-07-12 15:02:38 UTC | Status | POST | MODIFIED |
| Fixed In Version | openssh-8.7p1-12.el9 | |||
| errata-xmlrpc | 2022-07-14 17:46:02 UTC | Status | MODIFIED | ON_QA |
| Masahiro Matsuya | 2022-07-19 02:58:42 UTC | CC | mmatsuya | |
| Masahiro Matsuya | 2022-07-19 02:59:35 UTC | Priority | medium | urgent |
| Masahiro Matsuya | 2022-07-19 03:04:15 UTC | Severity | low | high |
| RHEL Program Management Team | 2022-07-19 03:04:44 UTC | Blocks | 2108409 | |
| RHEL Program Management Team | 2022-07-19 03:04:47 UTC | Keywords | ZStream | |
| Dmitry Belyavskiy | 2022-07-19 12:20:52 UTC | Flags | needinfo?(mmatsuya) | |
| Masahiro Matsuya | 2022-07-20 02:39:10 UTC | Flags | needinfo?(mmatsuya) | |
| Marek Havrila | 2022-07-22 15:15:46 UTC | Flags | needinfo?(zfridric) | |
| Marek Havrila | 2022-07-25 14:43:34 UTC | Status | ON_QA | ASSIGNED |
| Marek Havrila | 2022-07-27 14:18:05 UTC | Status | ASSIGNED | VERIFIED |
| Dmitry Belyavskiy | 2022-07-27 14:30:27 UTC | Flags | needinfo?(jafiala) | |
| Zoltan Fridrich | 2022-07-27 14:35:58 UTC | Flags | needinfo?(zfridric) | |
| Jan Fiala | 2022-07-29 09:57:20 UTC | Doc Text | .SCP empties files copied to themselves Because of the switch of the `scp` utility from the SCP to the more secure SFTP protocol, copying a file from a location to the same location (for example, `$ scp myfile localhost:myfile`) erases file content. To work around this problem, do not copy files to a destination that is the same as the source location. If your scenario requires this, you can force `scp` to use the old protocol by using the `-O` option (for example, `$ scp -O myfile localhost:myfile`). Note, however, that the SCP protocol is less secure. | .`scp` empties files copied to themselves when a specific syntax is used The `scp` utility changed from the Secure copy protocol (SCP) to the more secure SSH file transfer protocol (SFTP) protocol. Consequently, copying a file from a location to the same location erases the file content. The following syntax is affected by the problem: `scp localhost:/myfile localhost:/myfile` To work around this problem, do not copy files to a destination that is the same as the source location using this syntax. The problem has been fixed for the following syntaxes: `scp /myfile localhost:/myfile` `scp localhost:~/myfile ~/myfile` NOTE: If your scenario requires the less secure SCP protocol, you can force its usage by adding the `-O` option to the `scp` command, for example, `scp -O localhost:/myfile localhost:/myfile`. |
| Flags | needinfo?(jafiala) | needinfo?(zfridric) | ||
| Dmitry Belyavskiy | 2022-07-29 10:19:03 UTC | Flags | needinfo?(jafiala) | |
| Zoltan Fridrich | 2022-07-29 11:44:08 UTC | Flags | needinfo?(zfridric) | |
| Jan Fiala | 2022-07-29 13:10:54 UTC | Flags | needinfo?(jafiala) | needinfo?(dbelyavs) |
| Jan Fiala | 2022-07-29 13:11:36 UTC | Doc Text | .`scp` empties files copied to themselves when a specific syntax is used The `scp` utility changed from the Secure copy protocol (SCP) to the more secure SSH file transfer protocol (SFTP) protocol. Consequently, copying a file from a location to the same location erases the file content. The following syntax is affected by the problem: `scp localhost:/myfile localhost:/myfile` To work around this problem, do not copy files to a destination that is the same as the source location using this syntax. The problem has been fixed for the following syntaxes: `scp /myfile localhost:/myfile` `scp localhost:~/myfile ~/myfile` NOTE: If your scenario requires the less secure SCP protocol, you can force its usage by adding the `-O` option to the `scp` command, for example, `scp -O localhost:/myfile localhost:/myfile`. | .`scp` empties files copied to themselves when a specific syntax is used The `scp` utility changed from the Secure copy protocol (SCP) to the more secure SSH file transfer protocol (SFTP) protocol. Consequently, copying a file from a location to the same location erases the file content. The following syntax is affected by the problem: `scp localhost:/myfile localhost:/myfile` To work around this problem, do not copy files to a destination that is the same as the source location using this syntax. The problem has been fixed for the following syntaxes: `scp /myfile localhost:/myfile` `scp localhost:~/myfile ~/myfile` |
| Jan Fiala | 2022-07-29 13:15:15 UTC | Doc Text | .`scp` empties files copied to themselves when a specific syntax is used The `scp` utility changed from the Secure copy protocol (SCP) to the more secure SSH file transfer protocol (SFTP) protocol. Consequently, copying a file from a location to the same location erases the file content. The following syntax is affected by the problem: `scp localhost:/myfile localhost:/myfile` To work around this problem, do not copy files to a destination that is the same as the source location using this syntax. The problem has been fixed for the following syntaxes: `scp /myfile localhost:/myfile` `scp localhost:~/myfile ~/myfile` | .`scp` empties files copied to themselves when a specific syntax is used The `scp` utility changed from the Secure copy protocol (SCP) to the more secure SSH file transfer protocol (SFTP). Consequently, copying a file from a location to the same location erases the file content. The following syntax is affected by the problem: `scp localhost:/myfile localhost:/myfile` To work around this problem, do not copy files to a destination that is the same as the source location using this syntax. The problem has been fixed for the following syntaxes: `scp /myfile localhost:/myfile` `scp localhost:~/myfile ~/myfile` |
| Dmitry Belyavskiy | 2022-08-03 12:09:13 UTC | Flags | needinfo?(dbelyavs) | |
| Jan Fiala | 2022-09-27 09:22:07 UTC | Doc Text | .`scp` empties files copied to themselves when a specific syntax is used The `scp` utility changed from the Secure copy protocol (SCP) to the more secure SSH file transfer protocol (SFTP). Consequently, copying a file from a location to the same location erases the file content. The following syntax is affected by the problem: `scp localhost:/myfile localhost:/myfile` To work around this problem, do not copy files to a destination that is the same as the source location using this syntax. The problem has been fixed for the following syntaxes: `scp /myfile localhost:/myfile` `scp localhost:~/myfile ~/myfile` | .`scp` empties files copied to themselves when a specific syntax is used The `scp` utility changed from the Secure copy protocol (SCP) to the more secure SSH file transfer protocol (SFTP). Consequently, copying a file from a location to the same location erases the file content. The problem affects the following syntax: `scp localhost:/myfile localhost:/myfile` To work around this problem, do not copy files to a destination that is the same as the source location using this syntax. The problem has been fixed for the following syntaxes: * `scp /myfile localhost:/myfile` * `scp localhost:~/myfile ~/myfile` |
| Lenka Špačková | 2022-09-27 12:46:51 UTC | Doc Text | .`scp` empties files copied to themselves when a specific syntax is used The `scp` utility changed from the Secure copy protocol (SCP) to the more secure SSH file transfer protocol (SFTP). Consequently, copying a file from a location to the same location erases the file content. The problem affects the following syntax: `scp localhost:/myfile localhost:/myfile` To work around this problem, do not copy files to a destination that is the same as the source location using this syntax. The problem has been fixed for the following syntaxes: * `scp /myfile localhost:/myfile` * `scp localhost:~/myfile ~/myfile` | .`scp` empties files copied to themselves when a specific syntax is used The `scp` utility changed from the Secure copy protocol (SCP) to the more secure SSH file transfer protocol (SFTP). Consequently, copying a file from a location to the same location erases the file content. The problem affects the following syntax: `scp localhost:/myfile localhost:/myfile` To work around this problem, do not copy files to a destination that is the same as the source location using this syntax. The problem has been fixed for the following syntaxes: * `scp /myfile localhost:/myfile` * `scp localhost:~/myfile ~/myfile` |
| errata-xmlrpc | 2022-11-15 00:33:33 UTC | Status | VERIFIED | RELEASE_PENDING |
| errata-xmlrpc | 2022-11-15 11:21:44 UTC | Resolution | --- | ERRATA |
| Status | RELEASE_PENDING | CLOSED | ||
| Last Closed | 2022-11-15 11:21:44 UTC | |||
| errata-xmlrpc | 2022-11-15 11:21:59 UTC | Link ID | Red Hat Product Errata RHBA-2022:8375 | |
| Jan Fiala | 2023-09-27 07:00:39 UTC | Doc Text | .`scp` empties files copied to themselves when a specific syntax is used The `scp` utility changed from the Secure copy protocol (SCP) to the more secure SSH file transfer protocol (SFTP). Consequently, copying a file from a location to the same location erases the file content. The problem affects the following syntax: `scp localhost:/myfile localhost:/myfile` To work around this problem, do not copy files to a destination that is the same as the source location using this syntax. The problem has been fixed for the following syntaxes: * `scp /myfile localhost:/myfile` * `scp localhost:~/myfile ~/myfile` | .With a specific syntax, `scp` empties files copied to themselves The `scp` utility changed from the Secure copy protocol (SCP) to the more secure SSH file transfer protocol (SFTP). Consequently, copying a file from a location to the same location erases the file content. The problem affects the following syntax: `scp localhost:/myfile localhost:/myfile` To work around this problem, do not copy files to a destination that is the same as the source location using this syntax. The problem has been fixed for the following syntaxes: * `scp /myfile localhost:/myfile` * `scp localhost:~/myfile ~/myfile` |
Back to bug 2056884