{"id":"CVE-2020-12062","revision":"41de310a54e74f62893b651b37deaf21","records":[{"revision":"41de310a54e74f62893b651b37deaf21","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2020-12062","aliases":[],"title":"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 direc…","description":"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.","state":0,"publishedAt":"2020-06-01T15:28:36+00:00","modifiedAt":"2026-10-14T09:06:50.889+00:00","affected":[{"ecosystem":"Vendor product","name":"n/a","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"product\": \"n/a\",\n                    \"vendor\": \"n/a\",\n                    \"versions\": [\n                        {\n                            \"status\": \"affected\",\n                            \"version\": \"n/a\"\n                        }\n                    ]\n                }"}],"metrics":[],"references":["https://www.openwall.com/lists/oss-security/2020/05/27/1","https://www.openssh.com/txt/release-8.3","https://github.com/openssh/openssh-portable/commit/955854cafca88e0cdcd3d09ca1ad4ada465364a1","https://github.com/openssh/openssh-portable/commit/aad87b88fc2536b1ea023213729aaf4eaabe1894"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2020-12062","license":"CVE Program Terms of Use","key":"cve-program:CVE-2020-12062","identifiers":["CVE-2020-12062"]},"retained":false,"historicalAffected":[]}],"coverage":[]}