The scp client in OpenSSH 8.2 incorrectly sends duplicate responses to the server upon a utimes system call failure, which allows a malicious unprivil...
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| Ubuntu:Pro:14.04:LTSopenssh |
All versions→ Not listed |
Not listed |
| Ubuntu:Pro:16.04:LTSopenssh |
All versions→ Not listed |
Not listed |
| Ubuntu:Pro:18.04:LTSopenssh |
All versions→ Not listed |
Not listed |
| Ubuntu:18.04:LTSopenssh-ssh1 |
All versions→ Not listed |
Not listed |
| Ubuntu:Pro:20.04:LTSopenssh |
All versions→ Not listed |
Not listed |
| Ubuntu:20.04:LTSopenssh-ssh1 |
All versions→ Not listed |
Not listed |
This record does not list fixed versions. Check the article or the vendor advisory in the references for whether and where it is fixed.
Original description The description as published by the source.
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.
Source: OSV.dev (Open Source Vulnerabilities) OSV
References
- report ubuntu.com
- report openssh.com
- report openwall.com
- report cve.org