The scp client in OpenSSH 8.2 incorrectly sends duplicate responses to the server upon a…
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- None · High · None
- Fix status
- No fix listed
Attack profile from CVSS 3.1 · NVD. Fix status from CNA.
Summary
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.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | — | all versions | — | No fix listed | CNA |
- — Vendor— Affected all versions Fixed in — No fix listed CNA
Remediation
No fixed version listed by the sources yet.
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
Not affected: 4 products
- Red Hat Enterprise Linux 5
- Red Hat Enterprise Linux 6
- Red Hat Enterprise Linux 7
- Red Hat Enterprise Linux 8
Timeline
- 2026-10-02 Threatist record created from CVE-2020-12062
- 2026-10-03 Alias added: GHSA-843q-w84q-c7qg
References
More OpenBSD Openssh vulnerabilities
- TI-2023-19792 The PKCS#11 feature in ssh-agent in OpenSSH before 9.3p2 has an insufficiently… CVSS 3.1CRITICAL 9.8
- TI-2024-05929 Openssh: regresshion - race condition in ssh allows rce/dos CVSS 3.1HIGH 8.1
- TI-2023-10601 OpenSSH server (sshd) 9.1 introduced a double-free vulnerability during… CVSS 3.1MEDIUM 6.5
- TI-2018-11033 OpenSSH through 7.7 is prone to a user enumeration vulnerability due to not delaying… CVSS 3.1MEDIUM 5.9
- TI-2016-08105 Untrusted search path vulnerability in ssh-agent.c in ssh-agent in OpenSSH before 7.4… CVSS 3.1HIGH 7.3
- TI-2023-28040 In ssh in OpenSSH before 9.6, OS command injection might occur if a user name or host… CVSS 3.1MEDIUM 6.5
Sources
- CVE-2020-12062 · CVE Program
- CVE-2020-12062 · NVD
- FIRST EPSS
- GHSA-843q-w84q-c7qg · GitHub Advisory Database · CC BY 4.0
- CVE-2020-12062 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences