CVE-2020-12062

HIGH CVSS 3.1: 7.5 EPSS 2.23%
Updated Oct 14, 2026
Openbsd
Parameter Value
CVSS 7.5 (HIGH)
Type CWE-20 (Improper Input Validation)
Vendor Openbsd
Public PoC No

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.

Attack Parameters

Attack Vector
Network
Can be exploited remotely
Attack Complexity
Low
Easy to exploit
Privileges Required
None
No privileges needed
User Interaction
None
No user interaction needed

Impact Assessment

Confidentiality
None
No data leak
Integrity
High
Complete data modification
Availability
None
No disruption

CVSS Vector v3.1

Vulnerable Products 1

Configuration From (including) Up to (excluding)
Openbsd Openssh
cpe:2.3:a:openbsd:openssh:8.2:*:*:*:*:*:*:*
— —