The scp client in OpenSSH 8.2 incorrectly sends duplicate responses to the server upon a utimes system call failure, which allows a malicious unprivileged user on the remote server to overwrite arbitrary files in the client's download directory by creating a crafted subdirectory anywhere on the remote server. The victim must use the command scp -rp to download a file hierarchy containing, anywhere inside, this crafted subdirectory. NOTE: the vendor points out that "this attack can achieve no more than a hostile peer is already able to achieve within the scp protocol" and "utimes does not fail under normal circumstances.
Metrics
Affected Vendors & Products
References
History
Wed, 14 Oct 2026 10:30:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| References |
|
Status: PUBLISHED
Assigner: mitre
Published: 2020-06-01T15:28:36.000Z
Updated: 2026-10-14T09:06:50.889Z
Reserved: 2020-04-22T00:00:00.000Z
Link: CVE-2020-12062
No data.
Status : Modified
Published: 2020-06-01T16:15:14.260
Modified: 2026-10-14T10:17:25.737
Link: CVE-2020-12062