CVE-2020-12062
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.
EPSS 0.96% · 76.9th percentile
Risk Scores
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Ubuntu:20.04:LTS | openssh-ssh1 | 1:7.5p1-11build1, 0 |
| Ubuntu:Pro:14.04:LTS | openssh | 1:6.2p2-6ubuntu1, 1:6.4p1-1, 1:6.4p1-2 |
| Ubuntu:20.04:LTS | openssh | 1:8.2p1-4ubuntu0.3, 0, 1:8.1p1-1 |
| Ubuntu:18.04:LTS | openssh-ssh1 | 1:7.5p1-9build1, 0, 1:7.5p1-8 |
| Ubuntu:Pro:16.04:LTS | openssh | *, *, * |
| Ubuntu:Pro:18.04:LTS | openssh | 1:7.6p1-4ubuntu0.5, 1:7.6p1-4ubuntu0.6, 1:7.6p1-4ubuntu0.7 |
Exploit Intelligence
- CVE-2025-38062.yara (github-yara)
- CVE-2025-38062.yara (github-yara)
- CVE-2025-38062.yara (github-yara)
- CVE-2025-38062.yara (github-yara)
- CVE-2025-38062.yara (github-yara)
- CVE-2025-38062.yara (github-yara)
Timeline
- Jun 1, 2020 CVE Published
- Apr 14, 2021 EPSS Score
- Jun 23, 2021 EPSS Score
- Aug 24, 2021 EPSS Score
- Dec 27, 2021 EPSS Score
- Jan 6, 2022 EPSS Score
- Feb 4, 2022 EPSS Score
- Feb 28, 2022 EPSS Score
- May 1, 2022 EPSS Score
- Jul 3, 2022 EPSS Score
- Sep 4, 2022 EPSS Score
- Nov 6, 2022 EPSS Score
References
- https://ubuntu.com/security/CVE-2020-12062 third-party-advisory
- https://www.openssh.com/txt/release-8.3 third-party-advisory
- https://www.openwall.com/lists/oss-security/2020/05/27/1 third-party-advisory
- https://www.cve.org/CVERecord?id=CVE-2020-12062 third-party-advisory