News for hackers. Stuff that matters.
Re:SCP – Familiar, Simple, Insecure, and Slow by zeroimpl on Friday June 19, 2020 @08:45PM (#23580478)
One security concern is that the filenames for recursive transfers are determined by the untrusted machine. Thus if you fail to validate those, they could send things like ../.bashrc and a naive tool would write that to your home directory, leading to remote code execution.

Presumably by now scp is sufficiently tested not to have this bug. But this is precisely a defense against an evil server sending bad bytes.

Re:SCP – Familiar, Simple, Insecure, and Slow by ollien on Friday June 19, 2020 @09:25PM (#23580699)
This was a CVE last year (https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-6111). AFAICT this exploit has been patched.